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() 95 * The cgi has come to an end, by itself or with a signal... in lws_cgi_reap_cb() 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 122 * give the cgi stream wsi a cgi struct in lws_cgi() 125 wsi->http.cgi = lws_zalloc(sizeof(*wsi->http.cgi), "new cgi"); in lws_cgi() [all …]
|