As we all know, packet body transmission is an import part of network communication, whether it is the header
or body
of HTTP packets at the application layer, or the streaming data of TCP at the transport layer.
In the last article, we talked about how to initiate a TCP connection in Go, and listed a full-duplex demo. Today, we will talk about connection pool management further.
In the seven-layer protocol of network layering, we know that TCP is below the HTTP layer. In essence, the HTTP packet body parsing is established based on the underlying TCP connection.