Esempio n. 1
0
void ghttp_flush_response_buffer(ghttp_request *a_request)
{
	//ghttpDebug("a_request->proc: %d \n", a_request->proc);
	if( a_request->proc == ghttp_proc_response || a_request->proc == ghttp_proc_none)
		http_resp_flush(a_request->resp, a_request->conn);
	else if(a_request->proc == ghttp_proc_done && a_request->conn->io_buf_alloc)
		http_resp_flush(a_request->resp, a_request->conn);
}
Esempio n. 2
0
void
ghttp_flush_response_buffer(ghttp_request *a_request)
{
  http_resp_flush(a_request->resp, a_request->conn);
}