mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Added side-effect note for mg_create_server()
This commit is contained in:
1 parent
3b83543592
commit
ab73055ef3
1 file changed
+4
@@ -15,6 +15,10 @@ options that can be modified by `mg_set_option()`.
|
||||
as `user_param`, to let the callback get the pointer to the C++
|
||||
object.
|
||||
|
||||
Side-effect: on UNIX, `mg_create_server()` ignores SIGPIPE signals. If custom
|
||||
processing is required SIGPIPE, signal handler must be set up after
|
||||
calling `mg_create_server()`.
|
||||
|
||||
Important: Mongoose does not install `SIGCHLD` handler. If CGI is used,
|
||||
`SIGCHLD` handler must be set up to reap CGI zombie processes.
|
||||
|
||||
|
||||
Reference in new issue
Block a user