Home  >  Q&A  >  body text

http - Problem with nginx returning chunked messages

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?

仅有的幸福仅有的幸福2713 days ago650

reply all(1)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-16 17:14:39

    This scenario is a long HTTP connection, before the first response is processed. The server will not receive/process the next request.

    PS:

    1. 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.

    2. ACK is a TCP packet, they are not the same level of content.

    reply
    0
  • Cancelreply