hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kalnichevski, Oleg" <oleg.kalnichev...@bearingpoint.com>
Subject RE: doubt about retry
Date Thu, 27 Mar 2003 12:44:33 GMT

Do not forget that these days people tend to use HTTP protocol for all sorts of things which
it has never been envisaged for. HTTP has never been designed to support transactions. HTTP
has been designed to support browsing porno-sites (quoting Don Box of Microsoft) There's always
a risk of request being successfully processed by the server, but client failing to receive
the response. Your application design has to take this problem into consideration.


-----Original Message-----
From: Sergio Berna [mailto:sberna@extendnow.com]
Sent: Thursday, March 27, 2003 13:32
To: commons-httpclient-dev@jakarta.apache.org
Subject: doubt about retry


I have a small question regarding the HttpException that usually happens
when the connection has been closed previous to re-using it.

In your schema you advise to retry the connection, since a new request is
likely to work. The problem im facing is wheter i can be absolutely sure
that the first request did not reach the server.

For example imagine im performing some sort of request to a remote machine
through http, this request must be unique and cannot be duplicated. Can i be
fully sure that the first request did not reach the server if i get the
recoverable error?



View raw message