Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can you reopen a half closed TCP connection?

Status
Not open for further replies.

dane775

Technical User
Oct 28, 2004
151
0
0
CA
In a TCP conversation, if a server initiates a disconnect by sending a FIN to the Client, the server enters FIN-WAIT-1 state. If the Client then sends an ACK he enters the Close-Wait state and the server is now in FIN-WAIT-2 state. At that point the servers is expecting that the Client will follow up with a FIN, which he will ACK thus ending the conversation.

Is the Client allowed to send a POST instead of a FIN, and force the TCP conversation to stay open?

I didn't think so but Akamai tells me it's Kosher.

We have situation after situation where we disconnect and everything works fine:
1. Svr-Fin -->
2. Cli-Ack -->
3. Cli-Fin -->
4. Svr-Ack -->

With one particular application we have this error that keeps popping up because Akamai sends an Ack in step two but a POST in step three...(which we respond to with a Reset causing an error).

Is sending a POST after Acking a FIN allowed in TCP?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top