Repository navigation
Why would context be NULL when the response is written asynchrnously #1745
|
Hello Thanks |
Replies: 3 comments 4 replies
|
The library is single-threaded. If you want to do anything from another thread you must go via Loop::defer which is like io_context->post in boost |
|
I am calling defer to send the response. |
|
Sounds like you have other issues then. You need to start using AddressSanitizer and ThreadSanitizer to get down to the problem because this report doesn't provide anything of use for me. Build WITH_ASAN=1 and fix your problems |


The library is single-threaded. If you want to do anything from another thread you must go via Loop::defer which is like io_context->post in boost