Skip to content

Enable cookie store at request level #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 144 commits into
base: master
Choose a base branch
from

Conversation

tranchitam
Copy link
Owner

Purpose

To enable the ability to pass CookieStore at request level.

tranchitam and others added 30 commits July 31, 2018 11:59
…ient#1571

Motivation:

Sending a chunked request body (hence not direct) cause AHC to crash.

Motivation:

Fix SslHandler position that should be before the ChunkedWriteHandler.

Result:

Chunked request works with HTTPS proxy.
…ent#1585), close AsyncHttpClient#1568

* Add non-null ResponseBody for responses with empty body

* Introduced empty ResponseBody as a constant
…HttpClient#1582)

* add the ability to pass in a {principal name, keytab} combination to async http client.

* fix issue where spnego principal/keytab was no longer optional

* specify the login config as a map to allow all the values custom not just
a couple of them.

* remove the principal/password assertion on not null
add a map of spnego engines so you can support more than one spnego login confg per jvm

* no need to detect null on loginContext

* add a SpnegoEngine unit test.

* Delete kerberos.jaas

* Update pom.xml

* Provide more granularity to be more aligned with other http clients:

* Login context name
* Username/password auth option

* remove useless comment

* add login context name and username into the instance key

* cxf.kerby.version -> kerby.version
…lName is not specified. (AsyncHttpClient#1588)

* fix when servicePrincipalName is not specified.

* unit test the fix.
* Added BlockingConnectionSemaphoreFactory

* Added missing copyright to BlockingSemaphoreInfinite

* Added acquireFreeChannelTimeout configuration value

* Implemented acquireFreeChannelTimeout by replacing existing NonBlocking semaphores with regular Semaphores

* ConnectionSemaphore tests
Fixed artifact name to `async-http-client-extras-typesafe-config`, there was a missing dash
slandelle and others added 30 commits February 28, 2020 18:30
Motivation:

We don't set SO_KEEPALIVE on the socket.

Modification:

Enable SO_KEEPALIVE by default and introduce org.asynchttpclient.soKeepAlive config option to disable it.

Result:

SO_KEEPALIVE supported
performRelease is set by release:perform
)

Changes:

Segmented map based on domain names. So instead of traversing all the domains it traverses the domains that are of interest.
Use NettyTimer to clean up the expired cookies asynchronously. The timer task that provides this functionality is CookieEvictionTask.
…ent#1714

Motivation:

Setting CookieStore to null in conf should be supported to disable it. Latest commit introduced a NPE regression.

Modification:

* Protect against null CookieStore
* Make sure to decrement CookieStore ref count when AHC instance is closed.

Result:

No more NPE when CookieStore is null.
… into feature/enable-cookie-store-at-request-level
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.