1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00
libwebsockets/doc/html
Andy Green be9fb919d1 context deprecation
1) This makes lwsws run a parent process with the original permissions.
But this process is only able to respond to SIGHUP, it doesn't do anything
else.

2) You can send this parent process a SIGHUP now to cause it to

 - close listening sockets in existing lwsws processes

 - mark those processes as to exit when the number of active connections
   on the falls to zero

 - spawn a fresh child process from scratch, using latest configuration
   file content, latest plugins, etc.  It can now reopen listening sockets
   if it chooses to, or open different listen ports or whatever.

Notes:

1) lws_context_destroy() has been split into two pieces... the reason for
the split is the first part closes the per-vhost protocols, but since
they may have created libuv objects in the per-vhost protocol storage,
these cannot be freed until after the loop has been run.

That's the purpose of the second part of the context destruction,
lws_context_destroy2().

For compatibility, if you are not using libuv, the first part calls the
second part.  However if you are using libuv, you must now call the
second part from your own main.c after the first part.
2016-12-20 14:37:07 +08:00
..
annotated.html docs update 2016-12-16 22:08:13 +08:00
annotated_dup.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
arrowdown.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
arrowright.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
bc_s.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
bdwn.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
classes.html docs update 2016-12-16 22:08:13 +08:00
classlws__conn.html docs update 2016-12-16 22:08:13 +08:00
classlws__conn.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
classlws__conn.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
classlws__conn__listener.html docs update 2016-12-16 22:08:13 +08:00
classlws__conn__listener.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
classlws__conn__listener.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
closed.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
deprecated.html docs update 2016-12-16 22:08:13 +08:00
dir_97aefd0d527b934f1d99a682da8fe6a9.html docs update 2016-12-16 22:08:13 +08:00
dir_97aefd0d527b934f1d99a682da8fe6a9.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
dir_e8731c315d086bdbd43ee7d72e0ed36b.html docs update 2016-12-16 22:08:13 +08:00
doc.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
doxygen.css token:x-forwarded-for 2016-12-20 14:37:07 +08:00
doxygen.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
dynsections.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
files.html docs update 2016-12-16 22:08:13 +08:00
files.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
folderclosed.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
folderopen.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
functions.html token:x-forwarded-for 2016-12-20 14:37:07 +08:00
functions_func.html docs update 2016-12-16 22:08:13 +08:00
functions_vars.html token:x-forwarded-for 2016-12-20 14:37:07 +08:00
globals.html docs update 2016-12-16 22:08:13 +08:00
globals_dup.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
globals_enum.html docs update 2016-12-16 22:08:13 +08:00
globals_eval.html docs update 2016-12-16 22:08:13 +08:00
globals_func.html context deprecation 2016-12-20 14:37:07 +08:00
globals_l.html context deprecation 2016-12-20 14:37:07 +08:00
globals_type.html docs update 2016-12-16 22:08:13 +08:00
group__callback-when-writeable.html docs update 2016-12-16 22:08:13 +08:00
group__callback-when-writeable.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__cgi.html docs update 2016-12-16 22:08:13 +08:00
group__client.html context deprecation 2016-12-20 14:37:07 +08:00
group__client.js client: add lws_http_client_http_response api 2016-12-16 22:08:13 +08:00
group__context-and-vhost.html context deprecation 2016-12-20 14:37:07 +08:00
group__context-and-vhost.js context deprecation 2016-12-20 14:37:07 +08:00
group__ev.html docs update 2016-12-16 22:08:13 +08:00
group__extensions.html docs update 2016-12-16 22:08:13 +08:00
group__extensions.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__fops.html docs update 2016-12-16 22:08:13 +08:00
group__fops.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__form-parsing.html context deprecation 2016-12-20 14:37:07 +08:00
group__form-parsing.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__generic-sessions.html docs update 2016-12-16 22:08:13 +08:00
group__generic-sessions.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__html-chunked-substitution.html RFC7233 HTTP Ranges support for server 2016-12-20 14:37:07 +08:00
group__html-chunked-substitution.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__HTTP-headers-create.html docs update 2016-12-16 22:08:13 +08:00
group__HTTP-headers-create.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__HTTP-headers-read.html token:x-forwarded-for 2016-12-20 14:37:07 +08:00
group__HTTP-headers-read.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__http.html docs update 2016-12-16 22:08:13 +08:00
group__http.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__httpft.html docs update 2016-12-16 22:08:13 +08:00
group__httpft.js lws_get_mimetype 2016-07-14 08:57:27 +08:00
group__log.html docs update 2016-12-16 22:08:13 +08:00
group__log.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__misc.html docs update 2016-12-16 22:08:13 +08:00
group__misc.js lws_snprintf 2016-09-15 02:22:57 +08:00
group__net.html docs update 2016-12-16 22:08:13 +08:00
group__net.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__Protocols-and-Plugins.html docs update 2016-12-16 22:08:13 +08:00
group__Protocols-and-Plugins.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__pur.html docs update 2016-12-16 22:08:13 +08:00
group__pur.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__sending-data.html context deprecation 2016-12-20 14:37:07 +08:00
group__sending-data.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__service.html docs update 2016-12-16 22:08:13 +08:00
group__service.js alias lws_plat_service_tsi to lws_service_tsi in public api 2016-12-16 22:08:12 +08:00
group__sha.html docs update 2016-12-16 22:08:13 +08:00
group__sha.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__smtp.html context deprecation 2016-12-20 14:37:07 +08:00
group__smtp.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__sock-adopt.html docs update 2016-12-16 22:08:13 +08:00
group__sock-adopt.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__timeout.html docs update 2016-12-16 22:08:13 +08:00
group__timeout.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__urlendec.html docs update 2016-12-16 22:08:13 +08:00
group__urlendec.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__usercb.html docs update 2016-12-16 22:08:13 +08:00
group__usercb.js client-add-PUSH-http-body-capability 2016-08-10 21:23:01 +08:00
group__uv.html context deprecation 2016-12-20 14:37:07 +08:00
group__vhost-mounts.html context deprecation 2016-12-20 14:37:07 +08:00
group__vhost-mounts.js token:x-forwarded-for 2016-12-20 14:37:07 +08:00
group__wsclose.html docs update 2016-12-16 22:08:13 +08:00
group__wsclose.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
group__wsstatus.html docs update 2016-12-16 22:08:13 +08:00
group__wsstatus.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
hierarchy.html docs update 2016-12-16 22:08:13 +08:00
hierarchy.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
index.html context deprecation 2016-12-20 14:37:07 +08:00
jquery.js docs update 2016-12-16 22:08:13 +08:00
libwebsockets.org-logo.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
libwebsockets_8h.html context deprecation 2016-12-20 14:37:07 +08:00
libwebsockets_8h.js context deprecation 2016-12-20 14:37:07 +08:00
libwebsockets_8h_source.html context deprecation 2016-12-20 14:37:07 +08:00
lwsgt-overview.png plugin table dirlisting 2016-07-14 08:57:28 +08:00
md_README.build.html Subject: Fix some typographical and grammatical errors. 2016-10-03 21:31:27 +08:00
md_README.coding.html Subject: Fix some typographical and grammatical errors. 2016-10-03 21:31:27 +08:00
md_README.generic-sessions.html doxygen use sections 2016-07-14 08:57:28 +08:00
md_README.generic-table.html doxygen use sections 2016-07-14 08:57:28 +08:00
md_README.lwsws.html Add reject service keywords list 2016-10-13 06:32:57 +08:00
md_README.problems.html plugin table dirlisting 2016-07-14 08:57:28 +08:00
md_README.test-apps.html Subject: Fix some typographical and grammatical errors. 2016-10-03 21:31:27 +08:00
md_README_8build.html basic-auth 2016-12-16 22:08:13 +08:00
md_README_8coding.html basic-auth 2016-12-16 22:08:13 +08:00
md_README_8generic-sessions.html basic-auth 2016-12-16 22:08:13 +08:00
md_README_8generic-table.html basic-auth 2016-12-16 22:08:13 +08:00
md_README_8lwsws.html context deprecation 2016-12-20 14:37:07 +08:00
md_README_8problems.html basic-auth 2016-12-16 22:08:13 +08:00
md_README_8test-apps.html basic-auth 2016-12-16 22:08:13 +08:00
menu.js basic-auth 2016-12-16 22:08:13 +08:00
menudata.js token:x-forwarded-for 2016-12-20 14:37:07 +08:00
modules.html docs update 2016-12-16 22:08:13 +08:00
modules.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
nav_f.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
nav_g.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
nav_h.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
navtree.css docs update 2016-12-16 22:08:13 +08:00
navtree.js docs update 2016-12-16 22:08:13 +08:00
navtreedata.js context deprecation 2016-12-20 14:37:07 +08:00
navtreeindex0.js context deprecation 2016-12-20 14:37:07 +08:00
navtreeindex1.js context deprecation 2016-12-20 14:37:07 +08:00
navtreeindex2.js context deprecation 2016-12-20 14:37:07 +08:00
navtreeindex3.js context deprecation 2016-12-20 14:37:07 +08:00
navtreeindex4.js context deprecation 2016-12-20 14:37:07 +08:00
open.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
pages.html docs update 2016-12-16 22:08:13 +08:00
resize.js docs update 2016-12-16 22:08:13 +08:00
splitbar.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__cgi__args.html docs update 2016-12-16 22:08:13 +08:00
structlws__cgi__args.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__client__connect__info.html docs update 2016-12-16 22:08:13 +08:00
structlws__client__connect__info.js CLIENT_CONNECTION_ERROR add strings 2016-07-14 08:57:27 +08:00
structlws__context__creation__info.html token:x-forwarded-for 2016-12-20 14:37:07 +08:00
structlws__context__creation__info.js token:x-forwarded-for 2016-12-20 14:37:07 +08:00
structlws__email.html docs update 2016-12-16 22:08:13 +08:00
structlws__email.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__ext__option__arg.html docs update 2016-12-16 22:08:13 +08:00
structlws__ext__option__arg.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__ext__options.html docs update 2016-12-16 22:08:13 +08:00
structlws__ext__options.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__extension.html docs update 2016-12-16 22:08:13 +08:00
structlws__extension.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__gs__event__args.html docs update 2016-12-16 22:08:13 +08:00
structlws__gs__event__args.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__http__mount.html token:x-forwarded-for 2016-12-20 14:37:07 +08:00
structlws__http__mount.js token:x-forwarded-for 2016-12-20 14:37:07 +08:00
structlws__plat__file__ops.html docs update 2016-12-16 22:08:13 +08:00
structlws__plat__file__ops.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__plugin.html docs update 2016-12-16 22:08:13 +08:00
structlws__plugin.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__plugin__capability.html docs update 2016-12-16 22:08:13 +08:00
structlws__plugin__capability.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__polarssl__context.html docs update 2016-12-16 22:08:13 +08:00
structlws__polarssl__context.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__pollargs.html docs update 2016-12-16 22:08:13 +08:00
structlws__pollargs.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__pollfd.html docs update 2016-12-16 22:08:13 +08:00
structlws__pollfd.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__process__html__args.html docs update 2016-12-16 22:08:13 +08:00
structlws__process__html__args.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__process__html__state.html docs update 2016-12-16 22:08:13 +08:00
structlws__process__html__state.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__protocol__vhost__options.html docs update 2016-12-16 22:08:13 +08:00
structlws__protocol__vhost__options.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__protocols.html docs update 2016-12-16 22:08:13 +08:00
structlws__protocols.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__session__info.html docs update 2016-12-16 22:08:13 +08:00
structlws__session__info.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__token__limits.html docs update 2016-12-16 22:08:13 +08:00
structlws__token__limits.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlws__tokens.html docs update 2016-12-16 22:08:13 +08:00
structlws__tokens.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlwsgw__hash.html docs update 2016-12-16 22:08:13 +08:00
structlwsgw__hash.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structlwsgw__hash__bin.html docs update 2016-12-16 22:08:13 +08:00
structlwsgw__hash__bin.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
structpollfd.html docs update 2016-12-16 22:08:13 +08:00
structpollfd.js documentation convert to doxygen 2016-07-14 08:57:27 +08:00
sync_off.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
sync_on.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
tab_a.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
tab_b.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
tab_h.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
tab_s.png documentation convert to doxygen 2016-07-14 08:57:27 +08:00
tabs.css docs update 2016-12-16 22:08:13 +08:00