diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-14 20:53:24 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2016-11-14 20:54:40 +0300 |
commit | b484461cd399f4071d5787041f0bd3250b516d26 (patch) | |
tree | 0ff08ff9ac455faff95e83b14576442e6cfbccbe /src/microhttpd/internal.h | |
parent | e5eade4a320e9a36ffe54548802172e30e418da3 (diff) | |
download | libmicrohttpd-b484461cd399f4071d5787041f0bd3250b516d26.tar.gz libmicrohttpd-b484461cd399f4071d5787041f0bd3250b516d26.zip |
Added support for SO_EXCLBIND socket option on Solaris.
Enabled by MHD_OPTION_LISTENING_ADDRESS_REUSE with zero.
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 05775dbc..36ec6d8c 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -1379,7 +1379,8 @@ struct MHD_Daemon | |||
1379 | * The semantics is the following: | 1379 | * The semantics is the following: |
1380 | * 0: ignore (user did not ask for neither allow/disallow, use SO_REUSEADDR) | 1380 | * 0: ignore (user did not ask for neither allow/disallow, use SO_REUSEADDR) |
1381 | * >0: allow (use SO_REUSEPORT on most platforms, SO_REUSEADDR on Windows) | 1381 | * >0: allow (use SO_REUSEPORT on most platforms, SO_REUSEADDR on Windows) |
1382 | * <0: disallow (mostly no action, SO_EXCLUSIVEADDRUSE on Windows) | 1382 | * <0: disallow (mostly no action, SO_EXCLUSIVEADDRUSE on Windows or SO_EXCLBIND |
1383 | * on Solaris) | ||
1383 | */ | 1384 | */ |
1384 | int listening_address_reuse; | 1385 | int listening_address_reuse; |
1385 | 1386 | ||