|
From: | address@hidden |
Subject: | Re: [lwip-users] How to use LWIP_HTTPD_FS_ASYNC_READ |
Date: | Mon, 27 Nov 2017 20:38:19 +0100 |
User-agent: | Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 |
Giuseppe Modugno wrote:
[..] Why the server should close the connection when the Content Length header is not send?
Because the client cannot reuse this connection to send more requests as it doesn't know when the server is finished. HTTP is defined to either get the content length from the number of bytes received before the connection is closed or through some other encoding (like the content-length header, chunked encoding, etc.).
I tried and it seems it works well:
Do you really expect me to download this image? If it's a wireshark trace: PLEASE SEND A PCAP, NOT SOME SCREENSHOT!!
Thanks, Simon
[Prev in Thread] | Current Thread | [Next in Thread] |