-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Authentication Failure Content Incorrect #173
Comments
The code is right, the bug is elsewhere. Response object has: const char * _body; Instead of: String _body So when the caller method exits, authStr is deallocated and the pointer to its underlying char array does not exist anymore. Sadly this is what the response object still points to I saw similar dereferencing issues in the v2 branch we are working on. Blindly fixing that using String might cause some heap memory issues. Ideally we should stream directly the body to the wire (or the IDF API) but I don't know if this is possible. @hoeken : FYI |
|
Oh sorry! Yes you are right for the usage. The description of the failure should be returned. |
PsychicHttp/src/PsychicRequest.cpp
Line 507 in b719b48
I believe this should be:
The text was updated successfully, but these errors were encountered: