diff options
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index dcfbfc9d..91579c62 100644 --- a/doc/libmicrohttpd.texi +++ b/doc/libmicrohttpd.texi | |||
@@ -856,6 +856,20 @@ by the HTTPS daemon for key exchange. This option must be followed by | |||
856 | a @code{const char *} argument. The argument would be a zero-terminated | 856 | a @code{const char *} argument. The argument would be a zero-terminated |
857 | string with a PEM encoded PKCS3 DH parameters structure suitable | 857 | string with a PEM encoded PKCS3 DH parameters structure suitable |
858 | for passing to @code{gnutls_dh_parms_import_pkcs3}. | 858 | for passing to @code{gnutls_dh_parms_import_pkcs3}. |
859 | |||
860 | @item MHD_OPTION_LISTENING_ADDRESS_REUSE | ||
861 | @cindex bind, restricting bind | ||
862 | @cindex reusing listening address | ||
863 | This option must be followed by a @code{unsigned int} argument. | ||
864 | If this option is present and true (nonzero) parameter is given, allow reusing | ||
865 | the address:port of the listening socket (using @code{SO_REUSEPORT} on most | ||
866 | platforms, and @code{SO_REUSEADDR} on Windows). If a false (zero) parameter is | ||
867 | given, disallow reusing the the address:port of the listening socket (this | ||
868 | usually requires no special action, but @code{SO_EXCLUSIVEADDRUSE} is needed on | ||
869 | Windows). If this option is not present, default behaviour is undefined | ||
870 | (currently, @code{SO_REUSEADDR} is used on all platforms, which disallows | ||
871 | address:port reusing with the exception of Windows). | ||
872 | |||
859 | @end table | 873 | @end table |
860 | @end deftp | 874 | @end deftp |
861 | 875 | ||