TCP Fast Open: expediting web services
TCP Fast Open: expediting web services
Posted Aug 2, 2012 17:33 UTC (Thu) by ycheng-lwn (guest, #86073)In reply to: TCP Fast Open: expediting web services by epa
Parent article: TCP Fast Open: expediting web services
Our draft creates this confusion that HTTP on TFO will break if the request is not idempotent because we use the word "idempotent transactions". But today the client may send a non-idempotent request twice already with standard TCP. For example, the link may fail after the server receive a non-idempotent request. the client will retry the request on another connection later since the original is not acknowledged.
TFO makes such a case possible in the SYN stage: the server reboots between when it receives request in SYN-data and when it sends the SYN-ACK. Being unaware of the reboot, the client will timeout and retransmit SYNs. If the server comes back and accepts the SYN, the client will repeat the request. But IMO the risk is minimal especially if the server defers enabling TFO until a reasonable connection timeout after reboot, e.g., 5 min.
Cheers,
-yuchung (tfo developer)
