diff options
author | Andy Green <andy.green@linaro.org> | 2016-03-02 09:17:22 +0800 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2016-03-02 18:57:41 +0800 |
commit | 494418abace48baff79c679a25a4e5aa034589a3 (patch) | |
tree | a96ad44e844796ec4db043965a28a77bc5e3553e /changelog | |
parent | fe16003644f4a0a3e34790bd8d0f8912a562c568 (diff) | |
download | libwebsockets-494418abace48baff79c679a25a4e5aa034589a3.tar.gz |
add explicit parent child wsi relationships
wsi can have a full tree relationship with each other using
linked lists. closing the parent ensures the children are
closed first.
Convert cgi to use this instead of his cgi-specific sub-wsi
management.
Signed-off-by: Andy Green <andy.green@linaro.org>
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -149,6 +149,13 @@ There are 4 new related callbacks LWS_CALLBACK_RECEIVE_CLIENT_HTTP = 46, LWS_CALLBACK_COMPLETED_CLIENT_HTTP = 47, +6) struct lws_client_connect_info has a new member + + const char *parent_wsi + +if non-NULL, the client wsi is set to be a child of parent_wsi. This ensures +if parent_wsi closes, then the client child is closed just before. + v1.7.0 ====== |