Remember to set the server context in SCGI requests

This commit is contained in:
Přemysl Eric Janouch 2018-10-18 06:41:12 +02:00
parent d883f4cc71
commit 8d66435568
Signed by: p
GPG Key ID: A0420B94F92B9493

View File

@ -2339,6 +2339,7 @@ client_scgi_create (EV_P_ int sock_fd)
self->client.vtable = &client_scgi_vtable;
request_init (&self->request);
self->request.ctx = ev_userdata (EV_DEFAULT);
self->request.write_cb = client_scgi_write_cb;
self->request.close_cb = client_scgi_close_cb;