--Mensaje original--
De: visualize
Para:httpclient-users@hc.apache.org
Responder a:HttpClient User Discussion
Asunto: Re: HttpClient 4.0
Enviado: 28 Sep, 2009 11:06
olegk wrote:
>
> visualize wrote:
>> Hello,
>>
>> I'm trying to port my application to use HttpClient 4.0 instead of
>>
Hello Oleg,
Ok, then, in your opinion, it seems that some connections were closed on the
server side, but for H4 they are OK, and when H4 tries to use them, then a
NoHttpResponseException is thrown.
In fact, I've implemented an IdleConnectionsHandler that closes expired
connections and idle conne
Hello Oleg,
I attach the http log. I've been taking a look to this trace, and I've
observed the following. I don't know if it's important or not.
In line 53315, we have a request that is correctly processed. When
HttpClient tries to get a connection from pool, the information is:
Total connectio
Hello Oleg,
Five months ago, I sent you the emails below because I was experiencing a
lot of NoHttpResponseException errors when sending requests to a couple of
servers.
Yesterday night, I installed my app with H4 in one of my clients. This
morning I've had to move back to H3 because of these err
Hello Oleg,
Can I set the expect-continue handshake at httpclient level?
HttpParams objHttpParams = new BasicHttpParams();
HttpProtocolParams.setVersion(objHttpParams, HttpVersion.HTTP_1_1);
ClientConnectionManager cm = new
ThreadSafeClientConnManager(this.objHttpParams,
HttpUtils.createDef
ute(ClientCookie.MAX_AGE_ATTR, "60");
bcc.setAttribute(ClientCookie.EXPIRES_ATTR, DateUtils.formatDate(expires));
-Mensaje original-
De: Oleg Kalnichevski [mailto:ol...@apache.org]
Enviado el: miércoles, 08 de julio de 2009 23:54
Para: HttpClient User Discussion
Asunto: Re: Http trace for
Hello Oleg,
Im trying to send you the trace, but your mail server does not accept it.
I paste here a couple of lines of this trace:
This is the interesting part of the trace. The expiry date is correct in the
line 7 (60 seconds from now). But it seems this expiry date does not appear
i
Hello,
Here the attach (I hope)
Joan.
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org
Again the attach zipped.
Joan.
-
To unsubscribe, e-mail: httpclient-users-unsubscr...@hc.apache.org
For additional commands, e-mail: httpclient-users-h...@hc.apache.org
Hello,
Here the attach with the trace. It's a post request from my local app to my
servlet.
In all tests I've always used:
bcc.setVersion(1);
bcc.setAttribute(ClientCookie.VERSION_ATTR, "1");
Thanks,
Joan.
-Mensaje original-
De: Oleg Kalnichevski [mailto:ol...@apache.org]
Enviado el:
Hello Oleg,
Thanks, after some tests this is exactly what it happens.
When I send this cookie to my servlet, I receive all its data correctly
except the "max-age" attribute, which is always -1.
I'm trying to set MAX_AGE with your API, and I'm getting crazy...
I've tried "stdCookie.setExpiryDate
Hello Oleg,
Im trying to send cookies to a servlet with a simple app. Following the
tutorial:
HttpContext localContext = new BasicHttpContext();
CookieStore cookieStore = new BasicCookieStore();
BasicClientCookie stdCookie = new BasicClientCookie("name", "value");
stdCookie.setVersion
Hello Oleg,
Ive read the tutorial, and its OK for me.
Just one question (important, I think) about connection release. Ive
compared what your tutorial says about this, and the web.
In H4 website, one can see the following:
// In case of an IOException the connection will be released
Hello Oleg,
Do you know any idea about when you plan to release H4-beta3?
Many thanks,
Joan.
14 matches
Mail list logo