[Libwebsockets] lws_serve_http_file()

Srikar Vadlamani SrikarVadlamani at trafficware.com
Fri Jan 29 01:32:18 CST 2016


The test server doesn’t crash, how to build the library with debug enabled to see where it is crashing?
I have gdb on my application and I know it is crashing in lws_serve_http_file().
All the inputs to the function look good.


-----Original Message-----
From: Andy Green [mailto:andy.green at linaro.org] On Behalf Of Andy Green
Sent: Tuesday, January 26, 2016 6:15 PM
To: Srikar Vadlamani <SrikarVadlamani at trafficware.com>; libwebsockets at ml.libwebsockets.org
Subject: Re: [Libwebsockets] lws_serve_http_file()



On January 27, 2016 6:25:27 AM GMT+08:00, Srikar Vadlamani <SrikarVadlamani at trafficware.com> wrote:
>I just updated to 1.6.2 and serving a file using lws_serve_http_file() 
>is crashing,
>
>
>
>In the documentation I did not see any difference in the way it should 
>be used, any ideas?

Does the test server crash?

Can you stick gdb on it and get a backtrace?

-Andy

>
>
>Srikar
>
>
>
>-----------------------------------------------------------------------
>-
>
>_______________________________________________
>Libwebsockets mailing list
>Libwebsockets at ml.libwebsockets.org
>http://ml.libwebsockets.org/mailman/listinfo/libwebsockets



More information about the Libwebsockets mailing list