Re: HttpClient 4.0

2009-09-28 Thread Joan Balagueró Valls
--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 version

RE: RV: NO_HTTP_RESPONSE_EXCEPTION

2009-07-22 Thread Joan Balagueró Valls
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

RE: RV: NO_HTTP_RESPONSE_EXCEPTION

2009-07-22 Thread Joan Balagueró Valls
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

RE: Http trace for cookies

2009-07-09 Thread Joan Balagueró Valls
)); -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 cookies Joan Balagueró Valls wrote: Hello Oleg, I’m trying to send you the trace, but your mail

EXPECT-CONTINUE HANDSHAKE

2009-07-09 Thread Joan Balagueró Valls
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,

QUESTION ABOUT COOKIES

2009-07-08 Thread Joan Balagueró Valls
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

TRYING AGAIN THE ATTACH FOR COOKIES QUESTION

2009-07-08 Thread Joan Balagueró Valls
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

Http trace for cookies

2009-07-08 Thread Joan Balagueró Valls
Hello Oleg, I’m 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

RE: QUESTION ABOUT COOKIES

2009-07-07 Thread Joan Balagueró Valls
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

RE: QUESTION ABOUT COOKIES

2009-07-07 Thread Joan Balagueró Valls
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:

H4 - B3

2009-06-03 Thread Joan Balagueró Valls
Hello Oleg, Do you know any idea about when you plan to release H4-beta3? Many thanks, Joan.