LWIP http keep_alive problem

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

LWIP http keep_alive problem

I use from 3 years Lwip and http server and it works well. I have some xml file on serwer with browser GET by js script.
Now I want to add TLS to http and I use mbedTLS library.
The problem is that every download of an xml file is a new http(tcp) connection and that's what the new TLS negotiation(handshake), which takes a long time.
So I wants to use http persistent connection to browse files.
Now I tested without TLS
I sets:
and add "Connection: keep-alive\r\n", to any file.
But when browser get xml file then conections is closed, why?
I attach pcap wireshark file with one GET.


lwip-users mailing list
[hidden email]

http_serwer2.pcapng (3K) Download Attachment