Open DaneSlattery opened 3 days ago
I think if the client closed the write pipe (read pipe, from the client POV) you should get an error...
Do you experience this?
I am trying to drill down into it. I seem to be experiencing something like this where the http server begins to refuse connections.
The remaining services seem to continue working (mqtt, modbus, uart , WiFi etc) , but http goes dark. It’s kind of hard to replicate, and I’ve only noticed it after coming back to an esp32 that’s been running for a few days
Is it possible for a handler to be stuck during the
write_all
phase of a response? Take the code below, ifconn.write_all
was writing a large buffer or over a slow connection, and the client closed the connection.Would the handler be stuck trying to
write_all
forever?