[Libwebsockets] [libwebsockets] Support for HTTP POST. Use lws_body_copy() to retrieve the body from the... (#33)
"Andy Green (林安廸)"
andy at warmcat.com
Sun Dec 8 14:30:19 CET 2013
On 02/12/13 01:34, the mail apparently from pystub included:
> I would like to suggest to make the HTTP protocol rx buffer nonzero in
> the example
> It's doccumented, but I was pulling my hairs for a few hours until I
> read the changelog line-by-line. Also, currently any POST to the
> libwebsockets-test-server crashes it.
Yes sorry... I added a patch to interpret 0 as the default buffer size,
which is what I had fallen into expecting already.
The short push payload I tested it with didn't crash it since it didn't
use the malloc() allocation.
Thanks a lot for the report.
> Reply to this email directly or view it on GitHub
More information about the Libwebsockets