jersey-ahc-client
jersey-ahc-client copied to clipboard
AsyncHttpClient transport support for Jersey
Hi, Method AhcClientHandler.handleCookie() does the following: ``` private void handleCookie(final RequestBuilder requestBuilder) { for (final Cookie c : cookies) { requestBuilder.addCookie(c); } } ``` This ends up calling RequestBuilderBase.addCookie(): ```...
When linking with Hadoop client libraries, we need to work against Jersey 1.7. Do we really use Jersey 1.14 features? Can we just rely on 1.7?
Unfortunately this is the longest threaddump I have: at org.sonatype.spice.jersey.client.ahc.AhcClientHandler.handle(AhcClientHandler.java:137) ~[jersey-ahc-client-1.0.5.jar:na] at com.sun.jersey.api.client.Client.handle(Client.java:648) ~[jersey-client-1.12.jar:1.12] at com.sun.jersey.api.client.WebResource.handle(WebResource.java:680) ~[jersey-client-1.12.jar:1.12] at com.sun.jersey.api.client.WebResource.access$200(WebResource.java:74) ~[jersey-client-1.12.jar:1.12] at com.sun.jersey.api.client.WebResource$Builder.post(WebResource.java:558) ~[jersey-client-1.12.jar:1.12] .... removed .... Caused by: java.util.ConcurrentModificationException: null...
Issue 6
This is a fix for Issue 6. This error will reliably kill the connection pool (all 9 of our production servers in under 2 hours with very light concurrency)