D | cgi-server.c | 77 struct lws_cgi *cgi = lws_container_of(sul, struct lws_cgi, sul_grace); in lws_cgi_grace() local 81 if (!cgi->wsi->http.cgi->post_in_expected) in lws_cgi_grace() 82 cgi->wsi->http.cgi->cgi_transaction_over = 1; in lws_cgi_grace() 84 lws_callback_on_writable(cgi->wsi); in lws_cgi_grace() 99 (int)wsi->http.cgi->post_in_expected); in lws_cgi_reap_cb() 105 lws_sul_schedule(wsi->a.context, wsi->tsi, &wsi->http.cgi->sul_grace, in lws_cgi_reap_cb() 118 struct lws_cgi *cgi; in lws_cgi() local 125 wsi->http.cgi = lws_zalloc(sizeof(*wsi->http.cgi), "new cgi"); in lws_cgi() 126 if (!wsi->http.cgi) { in lws_cgi() 131 wsi->http.cgi->response_code = HTTP_STATUS_OK; in lws_cgi() [all …]
|