Replies: 2 comments 1 reply
-
You need to use AddressSanitixzer to sanitize your app |
Beta Was this translation helpful? Give feedback.
0 replies
-
HI Thanks, I was actually passing the res* pointer to the lambda by reference &. It probably ran out of scope by the time onData was called back. I switched it to pass by value [res] and it no longer crashes |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am setting the http status and header values (content type etc) based on the http body content in the request.
I have an internal handler that processes the http body.
The following discussion suggests the use of onData() call back to access http body data.
#805
When I write the status using:
The application crashes with a memory error. The error message relates to HttpResponse Status memory location access.
If I set the status outside of onData, the handler exits without errors.
Is there anyway to keep all of the response object's memory alive until OnData has exited.
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions