Skip to content

Why would context be NULL when the response is written asynchrnously #1745

Answered by uNetworkingAB
luxapana asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 3 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by uNetworkingAB
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@luxapana
Comment options

@uNetworkingAB
Comment options

@luxapana
Comment options

@uNetworkingAB
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants