HTTP server sockets & browsers
Posted: Sat Feb 15, 2020 3:07 pm
I am using the esp32 httpd server with .max_open_sockets = 13
I cannot go bigger than this as the LWIP option has a maximum of 16 sockets.
What has happened to the other 3 sockets?
I can open multiple copies of my website in Firefox. I cannot open my website in Firefox and Chrome at the same time however.
Indeed once I have used Firefox I must close all Firefox windows before I can open my website in another browser.
I have quite a few files in my website. I am guessing that some browsers make concurrent file requests during initial load each with its own connection and so socket.
I need to support multiple browser connections. How do I get the browser to drop its sockets?
EDIT: Or overwise ensure that I can have multiple browsers connected.
I cannot go bigger than this as the LWIP option has a maximum of 16 sockets.
What has happened to the other 3 sockets?
I can open multiple copies of my website in Firefox. I cannot open my website in Firefox and Chrome at the same time however.
Indeed once I have used Firefox I must close all Firefox windows before I can open my website in another browser.
I have quite a few files in my website. I am guessing that some browsers make concurrent file requests during initial load each with its own connection and so socket.
I need to support multiple browser connections. How do I get the browser to drop its sockets?
EDIT: Or overwise ensure that I can have multiple browsers connected.