I send a data packet to nginx. At this time, nginx returns me a chunked ack. At this time, I use this socket to send an http message to nginx, but nginx does not process it. I have to wait until the previous chunked is processed. Only after it is over will my second message be accepted. Why is this?
This scenario is a long HTTP connection, before the first response is processed. The server will not receive/process the next request.
PS:
Chunked transfer encoding is a data transmission mechanism in the Hypertext Transfer Protocol (HTTP) that allows HTTP data sent by the web server to the client application (usually a web browser) to be divided into multiple parts.
ACK is a TCP packet, they are not the same level of content.