On Mon, 2008-07-07 at 14:24 +0200, Quintin Beukes wrote: > Some more strange behaviour. > > Sometimes when I step this code, it sends the second header even when > pausing for only 1 second (literally only a breakpoint, refresh, > alt+tab to eclipse, press continue button). > > I can't really place why it's running through a new request. It's > definitely not my code, as placing a breakpoint at: > HttpResponse response = httpClient.execute(request, context); > > Only pauses it once, even when pausing twice in the cookie method. My > only idea is that it has something to do with the retries of > connections. Though I discovered this problem with intermittent > failures of my requests. Seems like it sometimes happens even with > millisecond gaps in between. > > Any ideas? >
Quintin, What version of HttpClient are you using? Is it 4.0-alpha4 or a snapshot. In any case make sure you have the latest SVN code Oleg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
