http - Problem with nginx returning chunked messages
仅有的幸福
仅有的幸福 2017-05-16 17:12:39
0
1
644

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?

仅有的幸福
仅有的幸福

reply all(1)
淡淡烟草味

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.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!