Be more clear that LEV_OPT_DEFERRED_ACCEPT has tricky prereqs

This commit is contained in:
Nick Mathewson 2012-05-14 10:55:27 -04:00
parent 981aa0efc9
commit 371efebdc3

View File

@ -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