[Libwebsockets] client connect in lwsws

Joel Winarske joel.winarske at gmail.com
Sun Feb 12 00:21:55 CET 2017

Hi Andy,

I want to client connect to https site from within
LWS_CALLBACK_HTTP_BODY_COMPLETION, in a running instance of lwsws.  lwsws
is running in non-SSL

Due to SSL, I was figuring lws_client_connect_via_info(), similar to
test-client.c.  I'm not clear where context and wsi should come from in the
case of running within lwsws.

I figure it would get serviced by the server loop, so no need to
call lws_service().  Correct?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://libwebsockets.org/pipermail/libwebsockets/attachments/20170211/48ab0940/attachment.html>

More information about the Libwebsockets mailing list