[Libwebsockets] Libwebsocket Upgrade from 1.4

Brice Hamon normandviking at gmail.com
Fri Jun 3 02:48:17 CEST 2016


Thank you Andy,

I will get going and report my findings.

Thanks again.
Brice.


On Thu, Jun 2, 2016 at 6:20 PM, Andy Green <andy at warmcat.com> wrote:

>
>
> On June 3, 2016 1:08:32 AM GMT+08:00, Brice Hamon <normandviking at gmail.com>
> wrote:
> >Hi all,
> >
> >I have been using libwebsocket 1.4 with external epoll notification
> >loop
> >without a single problem for over a year now.
>
> Great.
>
> >All the libwebsocket functions are happening in one thread so I have
> >followed all guidelines in the README.coding
> >from that version.
> >
> >I think it is now time for me to upgrade as, following this group, many
> >fix
> >and enhancement took place.
> >
> >Is there specific areas of change I should be concerned with, or
> >important
> >changes in the notification area?
>
> Yes at 1.6 many api names got simplified and rationalized.  Mainly the api
> prefix got standardized to 'lws_'.  There are 4 steps listed in the
> changelog
>
> https://github.com/warmcat/libwebsockets/blob/v2.0-stable/changelog#L643
>
> to search / replace everything in your code into shape.
>
> There are many other changes and improvements, such as multiple vhost
> support, CGI support, protocol plugins, lwsws etc.  It's hard to predict
> which are interesting, if you have external epoll() just to get epoll, the
> new built-in libuv support might be interesting... if so then lwsws and
> plugins might also simplify your life.
>
> If you need external event loop to interface to something else, then that
> should still work the same.
>
> >Thanks all and especially Andy, your lib rocks :)
>
> Thanks for the kind words ^^
>
> -Andy
>
> >Brice.
> >
> >
> >------------------------------------------------------------------------
> >
> >_______________________________________________
> >Libwebsockets mailing list
> >Libwebsockets at ml.libwebsockets.org
> >http://libwebsockets.org/mailman/listinfo/libwebsockets
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://libwebsockets.org/pipermail/libwebsockets/attachments/20160602/2ca8af57/attachment-0001.html>


More information about the Libwebsockets mailing list