mirror of
https://github.com/libevent/libevent.git
synced 2025-01-09 00:56:20 +08:00
Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs
This commit is contained in:
parent
981aa0efc9
commit
371efebdc3
@ -76,7 +76,10 @@ typedef void (*evconnlistener_errorcb)(struct evconnlistener *, void *);
|
||||
* available, if possible. Ignored on platforms that do not support this.
|
||||
*
|
||||
* This option can help performance for protocols where the client transmits
|
||||
* immediately after connecting.
|
||||
* immediately after connecting. Do not use this option if your protocol
|
||||
* _doesn't_ start out with the client transmitting data, since in that case
|
||||
* this option will sometimes cause the kernel to never tell you about the
|
||||
* connection.
|
||||
*
|
||||
* This option is only supported by evconnlistener_new_bind(): it can't
|
||||
* work with evconnlistener_new_fd(), since the listener needs to be told
|
||||
|
Loading…
x
Reference in New Issue
Block a user