-->
Page 1 of 1

Using HTTP Methods - Keeping Connection Alive

PostPosted: Sat Jul 15, 2017 2:09 pm
by Marty
Passing data from one ESP8266 to another using HTTP. It works but with sever latency problem. Is there a way to keep the connection open so I can send repeated requests without reconnecting every time? I tried GET / HTTP/1.1\r\nConnection: keep-alive\r\n\r\n but the connection still closed as noted in the response from the server and that only one response came back to me. Thanks.

Re: Using HTTP Methods - Keeping Connection Alive

PostPosted: Wed Jul 19, 2017 11:03 am
by jankop
The keep-allive function must primarily support the server. But make it is possible. In connection with Lua, I do it normally.