Hi all,

I am just hunting a very strange bug. I observe that pveproxy sometimes 
receives the same POST request twice
when it closes the connection due to a timeout.

The HTTP Specs contains the following section: 
http://www.w3.org/Protocols/rfc2616/rfc2616-sec8.html
-----------
8.2.4 Client Behavior if Server Prematurely Closes Connection
If an HTTP/1.1 client sends a request which includes a request body, but which 
does not include an Expect request-header field with the "100-continue" 
expectation, and if the client is not directly connected to an HTTP/1.1 origin 
server, and if the client sees the connection close before receiving any status 
from the server, the client SHOULD retry the request. If the client does retry 
this request, it MAY use the following "binary exponential backoff" algorithm 
to be assured of obtaining a reliable response:
-----------------

Does that really mean that the client is allowed to send the POST request twice?


_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to