Skip to content

SpnegoEngine modifications for thread safety #95

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

Merged
merged 1 commit into from
Apr 25, 2012

Conversation

fabienbancharel
Copy link

Some class attributes should be defined as local variables for thread safety.
(mainly gssContext, it must not be thread safe as it makes NPE under load). Problem discovered using gatling to load test a CAS / SPNEGO server.

…variables instead of class attributes. (gssContext must not be thread safe as it makes NPE under load)
jfarcand added a commit that referenced this pull request Apr 25, 2012
SpnegoEngine modifications for thread safety
@jfarcand jfarcand merged commit 0245ef3 into AsyncHttpClient:master Apr 25, 2012
@jfarcand
Copy link
Contributor

Thanks!!!!

slandelle pushed a commit that referenced this pull request Mar 7, 2014
cs-workco pushed a commit to cs-workco/async-http-client that referenced this pull request Apr 13, 2023
This commit fixes AsyncHttpClient#95 by always hopping event loop futures received from
the delegate to the right event loop. This could be a source of bugs if
the library users forgot to hop(to:) futures from their delegates
implementations.
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.

2 participants