Two ACKs sent after client receives HTTP response
asked Oct 23 '25
updated Oct 23 '25
Hi, I made a packet capture of a simple HTTP request + response.
After receiving the GET request the server sends an ACK+PSH (frame 5), then it sends the remaining response (frame 6). Then the client sends a double ACK (frame 7 ack=248 and frame 8 ack=249); and the wireshark detail window says that the second ack=249 is in response to frame 6. Why does the client sends two ACKs?
The image of the trace can be seen here (not enough points to upload)
The .pcap file is here
The question is not directly related to Wireshark, but I'm using it to learn how TCP/IP works "under the hood". Thank you in advance.

Thanks for the reply!!! The client and server are both implemented in Delphi using a "quite old" Indy library and are running on Windows (Win 2019 as client / Win 7 as server). Note that the Winshark [SEQ/ACK analysis] is empty on frame 7 ACK, and on frame 8 ACK says "[This is an ACK to the segment in frame: 6]"
Wireshark does not make a distinction between the data and the phantom byte for it's SEQ number analysis, so it does not know how to link the ACK in frame 7 to any packet from the server. Having the FIN in a data packet is a corner case and I believe so is ACKing them separately.
Thanks for mentioning which stack is used :-)
BTW it is not Winshark, but Wireshark. If your program is called Winshark, you might have been tricked into downloading some malware infected version ;-)
Thanks for the clarifications! BTW I've been using Wireshark for a long time (though I'm only now delving into the details of TCP/IP)... the fact that I've called it WINshark several times means only one thing: I'm old (and also very tired at the end of the day) :-)) Thanks again.
No worries, it at least gave me a smile.
Happy learning in your TCP/IP journey, if you run into any more questions, you know where to find us!