Hi Stephane,


Thanks for handling this. Will the async-http-client-1.7.12 release include this fix? May I get to know when is the release date?


Thanks,
Wei




------------------ 原始邮件 ------------------
发件人: "Stephane Landelle"<notifications@github.com>;
发送时间: 2013年3月18日(星期一) 下午3:19
收件人: "AsyncHttpClient/async-http-client"<async-http-client@noreply.github.com>; 
抄送: "suenway"<suenway@gmail.com>; 
主题: Re: [async-http-client] Patch for inappropriate connection channelwhen working at proxy mode (#252)




In providers/grizzly/src/main/java/com/ning/http/client/providers/grizzly/GrizzlyAsyncHttpProvider.java:
 > @@ -2566,7 +2566,8 @@ public void updated(Connection result) { >   >          private static String getPoolKey(final Request request) { >              final ConnectionPoolKeyStrategy keyStrategy = request.getConnectionPoolKeyStrategy(); > -            return keyStrategy.getKey(request.getURI()); > +            String savedUrlInConnPool = request.getProxyServer() != null ? request.getProxyServer().toString() : request.getUrl(); > +            return keyStrategy.getKey(AsyncHttpProviderUtils.createUri(AsyncHttpProviderUtils.getBaseUrl(savedUrlInConnPool))); >          }  
No pro, I took care of it.
 
—
Reply to this email directly or view it on GitHub.