[Libwebsockets] [libwebsockets] max frame size / rx buffer send limitation (#89)

Andy Green andy at warmcat.com
Mon Mar 31 03:49:45 CEST 2014

On 03/31/2014 09:46 AM, gaby64 wrote:
> seems the non-delivery problem is not isolated to my router
> anything smaller then the set max frame size / rx buffer gets through to
> the client

Since it's the last piece that goes missing, and you mentioned before 
all the pieces do get sent, can you check if the issue is a race between 
send the last piece and close the socket?

If you make it sleep for 1s or suchlike just after send the last piece, 
it should hide the symptom if so.


>> Reply to this email directly or view it on GitHub
> <https://github.com/warmcat/libwebsockets/issues/89#issuecomment-39047725>.

More information about the Libwebsockets mailing list