Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
int http_request_on_message_complete(http_parser* parser)
{
uv_work_t work;
work.data = &parser;
uv_queue_work(uv_loop, &work, route_request, after_route_request);
return 0;
}
void route_request(uv_work_t *work)
{
// Never gets called.
// Assertion failed: req->type == UV_WORK, file src\win\threadpool.c, line 45
}
void after_route_request(uv_work_t *work, int status)
{
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.