adopt: allow binding to parent at same time
authorPer Bothner <per@bothner.com>
Thu, 2 Mar 2017 23:36:08 +0000 (07:36 +0800)
committerAndy Green <andy@warmcat.com>
Thu, 2 Mar 2017 23:36:08 +0000 (07:36 +0800)
commit60f4569bb8d44a6fbb7db11d9632474978fb63cb
tree903583c187045a7a71a2d734be4af436c7beb9b0
parent2495afa604b86c6c7802da840cec592b462d9b4e
adopt: allow binding to parent at same time

 - if protocol set, allocate own user_space

   If the child wsi wants the parent wsi user_space, it can use

       lws_wsi_user(lws_get_parent(child_wsi))

 - raw file close processing handles parent-child relationship
lib/libwebsockets.c
lib/libwebsockets.h
lib/server.c
plugins/protocol_lws_raw_test.c