[Libwebsockets] lws_rx_flow_control problem

Per Bothner per at bothner.com
Tue Oct 10 01:56:40 CEST 2017

On 10/09/2017 04:40 PM, Andy Green wrote:
> Managing flow control on a wsi from outside a callback on the wsi isn't really supported atm... whether it's a child or not doesn't make any difference.
> In the http2 megapatch rx flow control accepts flags now and you can individually toggle up to 8 reasons for flow control on the wsi, if any reason is active it is suppressed.  It's completely backwards-compatible with just giving it 0 or 1 as before.  How about a flag you can give in the arg indicating that lws needs to do the _lws_rx_flow_control() in the call for that one?

That sounds like it would work.
	--Per Bothner
per at bothner.com   http://per.bothner.com/

More information about the Libwebsockets mailing list