开发者

Http keep-alive conncetion - response delimiter

开发者 https://www.devze.com 2023-01-23 17:52 出处:网络
Hi i am writing a custom http server. At first i had only one request at one connection possible(Connection: close), everything was ok. But once i remade it connecton: keep-alive logic(more requests a

Hi i am writing a custom http server. At first i had only one request at one connection possible(Connection: close), everything was ok. But once i remade it connecton: keep-alive logic(more requests at one connection), my images stopped displaying. I think, it may be a problem 开发者_开发技巧with http response delimiters. Are there any? Or how can browser detect, that current http response is complete? thx


The size of the response is guided by the Content-Length header or by using Chunked Transfer Encoding.

0

精彩评论

暂无评论...
验证码 换一张
取 消