1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/lib/core
Andy Green d78457425d lws_raw_transaction_completed
This provides a way to defer closing if the output buflist has
unsent content for the wsi, until the buflist is drained.

It doesn't make any assumption about the content being related
to http, so you can use it on raw.

It follows the semantics of the http transaction completed, ie

     if (lws_raw_transaction_completed(wsi))
	return -1

     return 0;
2018-12-01 11:05:59 +08:00
..
adopt.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
alloc.c refactor: core code in lib/core and private-libwebsockets.h to core/private.h 2018-05-03 10:49:36 +08:00
connect.c wsi: opaque_user_data and accessors 2018-12-01 11:05:59 +08:00
context.c adopt: allow associated accepted vhost connections to specific role 2018-12-01 11:05:59 +08:00
dummy-callback.c cgi: use transaction_complete when stdout goes away 2018-12-01 11:05:59 +08:00
libwebsockets.c lws_raw_transaction_completed 2018-12-01 11:05:59 +08:00
output.c lws_raw_transaction_completed 2018-12-01 11:05:59 +08:00
pollfd.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00
private.h lws_raw_transaction_completed 2018-12-01 11:05:59 +08:00
service.c clean: general whitespace cleanup 2018-11-23 08:47:56 +08:00