Closed Legrems closed 5 years ago
Doesn't look as if this is related to the PR you posted, if so, then please close it. This looks like a send was issued from the calling program (line 649?) but debug was turned off, so we don't know the sequence. Apparently, the URL structure doesn't exist. Are you checking for a false return from open? Is it possible the request wasn't opened? I suppose we should be checking to make sure open succeeded and established the URL data structure before trying to copy the contents to the message header.
The crash was comming from the _buildRequest. With this PR, i was able to avoid this error :)
Got a fatal exception with a LOLIN D1 MINI.
Decoded :
On : _request->write(_URL->scheme); in asyncHTTPrequest.cpp
The first request appear in the setup(), and the second one is in the loop() function after xxxx ms.