hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oleg Kalnichevski <o.kalnichev...@dplanet.ch>
Subject RE: HTTP Post and HTTP/100 (continue)
Date Tue, 25 Feb 2003 11:08:12 GMT
Aurelien,

Same request. Could you please produce a wire log of the HTTP
communication that causes the problem you mentioned?

Oleg 

On Tue, 2003-02-25 at 11:17, Aurelien Pernoud wrote:
> Hey that may be the trouble I'm meeting too and I assumed it to be related
> to MultiThreadedHttpConnectionManager...
> Cause the test case I've made locally uses easy post method, and goes fine,
> but in my apps there are sometimes large post, and maybe they uses the
> HTTP/100 as I saw this in log :
> 
> [21 févr. 2003 15:47:07  WARN] - Received status CONTINUE but the body has
> already been sent
> [21 févr. 2003 15:47:08  WARN] - Received status CONTINUE but the body has
> already been sent
> (...)
> [21 févr. 2003 15:47:16  WARN] - Recoverable exception caught when reading
> response
> [21 févr. 2003 15:47:16 ERROR] -
> org.apache.commons.httpclient.HttpRecoverableException:
> org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the
> status  line from the response: unable to find line starting with "HTTP/"
> 	at
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMethodBase.jav
> a:1733)
> 	at
> org.apache.commons.httpclient.HttpMethodBase.writeRemainingRequestBody(HttpM
> ethodBase.java:2377)
> 	at
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBase.java:963
> )
> 
> I'll try disabling the feature as you said, see what happens.
> 
> Oleg Kalnichevski a écrit :
> 
> > Simon
> > I'd really appreciate it if you could send us the debug trace for
> > analysis. Please refer to the following url for instructions on how
> > wire log can be activated:
> >
> > http://jakarta.apache.org/commons/httpclient/logging.html
> >
> > Your problem should be easily solvable by disabling "100-continue"
> > handshake.
> >
> > PostMethod myhttppost = new PostMethod();
> > myhttppost.setUseExpectHeader(false);
> >
> > Cheers
> >
> > Oleg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-httpclient-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-httpclient-dev-help@jakarta.apache.org
> 


Mime
View raw message