server: expose lws_adopt_socket_vhost() as public API
authorAlan Conway <aconway@redhat.com>
Wed, 21 Dec 2016 01:32:16 +0000 (09:32 +0800)
committerAndy Green <andy@warmcat.com>
Wed, 21 Dec 2016 01:32:16 +0000 (09:32 +0800)
commitacdf0c706605c66e831281efe39ae4ef95dfd085
tree4a754036b594500d723c66d0cf34303e9934d666
parentbe9fb919d145d662d7a2ed4ae8e6912f75937449
server: expose lws_adopt_socket_vhost() as public API

Allows a socket to be adopted and associated with an existing vhost.
Also added corresponding  lws_adopt_socket_vhost_readbuf()
lib/libwebsockets.h
lib/server.c