Hello Adrian,

> I'm generating POST requests using HttpClient 2.0.2 (unfortunately a
> constraint I can't easily work round - it's required by the
> environment I'm running in), and getting some strange behaviour. Some
> POST requests are sending all the normal header information (including
> a valid content length header), but are not then sending the body.

Do they send a header for the expect-continue-handshake?

> Once the problem has occurred once, it then persists until the server
> is restarted.

This sounds very strange. I would suspect a problem with connection
keep-alive that should be resolved by closing the connection. Try
sending a connection: close header with each request. That will cost
some performance because keep-alive is the disabled completely, but
if it makes your application stable, it's probably worth it.

Also, investigate what software is running on the server. A bug
there can not be ruled out.

hope that helps,
  Roland

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to