Open matthewturner opened 1 year ago
I noticed my GET requests were talking over 15 seconds. I tracked down the issue to the use of readStringUntil:
readStringUntil
https://github.com/instanceofMA/arduino-fetch/blob/main/src/Fetch.cpp#L132
This never returns if the body ends in any other character. Perhaps this should read into a buffer based on the content length? I'll have a go at fixing the issue if you think it's the appropriate solution?
I noticed my GET requests were talking over 15 seconds. I tracked down the issue to the use of
readStringUntil
:https://github.com/instanceofMA/arduino-fetch/blob/main/src/Fetch.cpp#L132
This never returns if the body ends in any other character. Perhaps this should read into a buffer based on the content length? I'll have a go at fixing the issue if you think it's the appropriate solution?