You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by Jens Wilke <jw...@headissue.com> on 2008/05/28 19:12:39 UTC

bug? headers double when retrying the request

Hi,

just found something strange:

28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> GET /xy HTTP/1.1
28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Host: localhost:8888
28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Connection: Keep-Alive
28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie: JSESSIONID=6D79030EA95FBCE845E9C100A85BFA23
28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie2: $Version=1
28 May 2008 17:58:22,973 DEBUG http-8899-Processor25 impl.conn.DefaultClientConnection - Connection closed
28 May 2008 17:58:22,973 DEBUG http-8899-Processor25 impl.conn.DefaultClientConnection - Connection closed
28 May 2008 17:58:22,973 INFO  http-8899-Processor25 impl.client.DefaultClientRequestDirector - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
28 May 2008 17:58:22,973 INFO  http-8899-Processor25 impl.client.DefaultClientRequestDirector - Retrying request
28 May 2008 17:58:22,975 DEBUG http-8899-Processor25 apache.http.headers - >> GET /xy HTTP/1.1
28 May 2008 17:58:22,976 DEBUG http-8899-Processor25 apache.http.headers - >> Host: localhost:8888
28 May 2008 17:58:22,976 DEBUG http-8899-Processor25 apache.http.headers - >> Connection: Keep-Alive
28 May 2008 17:58:22,981 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie: JSESSIONID=6D79030EA95FBCE845E9C100A85BFA23
28 May 2008 17:58:22,982 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie2: $Version=1
28 May 2008 17:58:22,982 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie: JSESSIONID=6D79030EA95FBCE845E9C100A85BFA23
28 May 2008 17:58:22,982 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie2: $Version=1
28 May 2008 17:58:23,053 DEBUG http-8899-Processor25 apache.http.headers - << HTTP/1.1 200 OK
28 May 2008 17:58:23,054 DEBUG http-8899-Processor25 apache.http.headers - << Server: Apache-Coyote/1.1
. . .

When retrying the additional headers get send twice.

Any idea?

Best,

Jens

-- 
"Everything superfluous is wrong!"

   // Jens Wilke - headissue GmbH - Munich - Germany
 \//  http://www.headissue.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: bug? headers double when retrying the request

Posted by Jens Wilke <je...@headissue.com>.
On Wednesday 28 May 2008, Oleg Kalnichevski wrote:
> Could you please open a JIRA issue for this problem?

Fix confirmed! Many thanks!

Best,

Jens

-- 
"Everything superfluous is wrong!"

   // Jens Wilke - headissue GmbH - Germany
 \//  http://www.headissue.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: bug? headers double when retrying the request

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Wed, 2008-05-28 at 22:29 +0200, Oleg Kalnichevski wrote:
> Jens Wilke wrote:
> > On Wednesday 28 May 2008, Oleg Kalnichevski wrote:
> >> Are you running 4.0a4 release or a SVN snapshot? I believe I fixed the 
> >> cause of the problem a week ago. Please try the latest snapshot out and 
> >> see if the problem persists.
> > 
> > Oleg,
> > 
> > I now moved to the SVN snapshot. Exact same behaviour!
> > 
> > Best,
> > 
> > Jens
> > 
> 
> Jens,
> 
> Could you please open a JIRA issue for this problem?
> 
> Oleg
> 
> 

Jens,

Problem solved in the SVN trunk. Please re-test.

Oleg

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
> For additional commands, e-mail: dev-help@hc.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: bug? headers double when retrying the request

Posted by Oleg Kalnichevski <ol...@apache.org>.
Jens Wilke wrote:
> On Wednesday 28 May 2008, Oleg Kalnichevski wrote:
>> Are you running 4.0a4 release or a SVN snapshot? I believe I fixed the 
>> cause of the problem a week ago. Please try the latest snapshot out and 
>> see if the problem persists.
> 
> Oleg,
> 
> I now moved to the SVN snapshot. Exact same behaviour!
> 
> Best,
> 
> Jens
> 

Jens,

Could you please open a JIRA issue for this problem?

Oleg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: bug? headers double when retrying the request

Posted by Jens Wilke <jw...@headissue.com>.
On Wednesday 28 May 2008, Oleg Kalnichevski wrote:
> Are you running 4.0a4 release or a SVN snapshot? I believe I fixed the 
> cause of the problem a week ago. Please try the latest snapshot out and 
> see if the problem persists.

Oleg,

I now moved to the SVN snapshot. Exact same behaviour!

Best,

Jens

-- 
"Everything superfluous is wrong!"

   // Jens Wilke - headissue GmbH - Munich - Germany
 \//  http://www.headissue.com

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org


Re: bug? headers double when retrying the request

Posted by Oleg Kalnichevski <ol...@apache.org>.
Jens Wilke wrote:
> Hi,
> 
> just found something strange:
> 
> 28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> GET /xy HTTP/1.1
> 28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Host: localhost:8888
> 28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Connection: Keep-Alive
> 28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie: JSESSIONID=6D79030EA95FBCE845E9C100A85BFA23
> 28 May 2008 17:58:22,972 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie2: $Version=1
> 28 May 2008 17:58:22,973 DEBUG http-8899-Processor25 impl.conn.DefaultClientConnection - Connection closed
> 28 May 2008 17:58:22,973 DEBUG http-8899-Processor25 impl.conn.DefaultClientConnection - Connection closed
> 28 May 2008 17:58:22,973 INFO  http-8899-Processor25 impl.client.DefaultClientRequestDirector - I/O exception (org.apache.http.NoHttpResponseException) caught when processing request: The target server failed to respond
> 28 May 2008 17:58:22,973 INFO  http-8899-Processor25 impl.client.DefaultClientRequestDirector - Retrying request
> 28 May 2008 17:58:22,975 DEBUG http-8899-Processor25 apache.http.headers - >> GET /xy HTTP/1.1
> 28 May 2008 17:58:22,976 DEBUG http-8899-Processor25 apache.http.headers - >> Host: localhost:8888
> 28 May 2008 17:58:22,976 DEBUG http-8899-Processor25 apache.http.headers - >> Connection: Keep-Alive
> 28 May 2008 17:58:22,981 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie: JSESSIONID=6D79030EA95FBCE845E9C100A85BFA23
> 28 May 2008 17:58:22,982 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie2: $Version=1
> 28 May 2008 17:58:22,982 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie: JSESSIONID=6D79030EA95FBCE845E9C100A85BFA23
> 28 May 2008 17:58:22,982 DEBUG http-8899-Processor25 apache.http.headers - >> Cookie2: $Version=1
> 28 May 2008 17:58:23,053 DEBUG http-8899-Processor25 apache.http.headers - << HTTP/1.1 200 OK
> 28 May 2008 17:58:23,054 DEBUG http-8899-Processor25 apache.http.headers - << Server: Apache-Coyote/1.1
> . . .
> 
> When retrying the additional headers get send twice.
> 
> Any idea?
> 
> Best,
> 
> Jens
> 

Jens,

Are you running 4.0a4 release or a SVN snapshot? I believe I fixed the 
cause of the problem a week ago. Please try the latest snapshot out and 
see if the problem persists.

Oleg

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org