[Libwebsockets] [libwebsockets] Missing lws_hdr_total_length/lws_hdr_copy declarations?? (#28)

"Andy Green (林安廸)" andy at warmcat.com
Sat Nov 9 01:19:16 CET 2013


On 04/11/13 12:57, the mail apparently from domallan included:
> I'm using the current version of the library (v1.3). I'm using the
> lws_hdr_total_length/lws_hdr_copy functions to parse URI request and the
> both seg fault (11). lws_hdr_copy calls lws_hdr_total_length which seg
> faults.
>
> I can find the function prototypes in libwebsockets.h but there's no
> corresponding functions declaration in libwebsockets.c.

They live in ./lib/parsers.c.

I'm willing to believe there's a problem, but that is used quite a bit 
inside the library without problems.

Can you give some more information about how you're using it?

-Andy

>> Reply to this email directly or view it on GitHub
> <https://github.com/warmcat/libwebsockets/issues/28>.
>




More information about the Libwebsockets mailing list