You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
The readLine-Function in HTTPConnection.cpp leads to end endless-loop, when the newChar is the last char in the buffer.
Then (_bufferProcessed+1 < _bufferUnusedIdx) is never true and the server loops.
How To Reproduce
with luck I got it with chrome.
Expected Behavior
Server hangs in loop without beeing responsive.
Actual Behavior
Handle Headers over buffer-borders
ESP32 Module
Please provide specifications of your module
RAM/PSRAM: ?
Flash Size: 4MB
Other special properties: ESP32-D0WDQ6 (revision 1) (ESP-DevKit)
Software (please complete the following information if applicable)
Describe the bug
The readLine-Function in HTTPConnection.cpp leads to end endless-loop, when the newChar is the last char in the buffer.
Then (_bufferProcessed+1 < _bufferUnusedIdx) is never true and the server loops.
How To Reproduce
with luck I got it with chrome.
Expected Behavior
Server hangs in loop without beeing responsive.
Actual Behavior
Handle Headers over buffer-borders
ESP32 Module
Please provide specifications of your module
Software (please complete the following information if applicable)
Additional context
I prepared a fix, try to submit a PR
The text was updated successfully, but these errors were encountered: