I used WireShark to analyze the HTTP protocol, I found that a HTTP request which was large enough will be disassembled into several TCP packets like this: HTTP request method as a packet; HTTP request headers as a packet and HTTP content as a packet.
My question is: Is the TCP segments division decided by upper layer protocol or some other way?
I used WireShark to analyze the HTTP protocol, I found that a HTTP request
Share
For HTTP you might find this article interesting, how Google basically have their HTTP server interacting with TCP to push the initial segments without waiting for a response.
http://blog.benstrong.com/2010/11/google-and-microsoft-cheat-on-slow.html
And a RFC draft published here:
https://datatracker.ietf.org/doc/html/draft-hkchu-tcpm-initcwnd-01