[Libwebsockets] libwebsocket_rx_flow_control operation

Graham Newton gnewton at peavey-eu.com
Tue Apr 16 13:41:42 CEST 2013


During processing of LWS_CALLBACK_RECEIVE if I detect that my internal 
buffers are full I issue a
libwebsocket_rx_flow_control( wsi , 1 )   call.
 From the documentation I understand that this prevents further RX 
processing however I continue to receive more
LWS_CALLBACK_RECEIVE events.
Am I understanding the functionality of this correctly?
Thanks
Graham

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20130416/85089c12/attachment.html>


More information about the Libwebsockets mailing list