diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-12 11:14:49 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-11-12 11:50:30 +0300 |
commit | 75dbfbc71634af3dae9b5af1bc1e82fec32062e1 (patch) | |
tree | 26ab57f9aa1be6465418d86d124bd489334f11e0 /src/include/microhttpd.h | |
parent | a56499312204a8da5a555f5512b1c898183a8ae2 (diff) | |
download | libmicrohttpd-75dbfbc71634af3dae9b5af1bc1e82fec32062e1.tar.gz libmicrohttpd-75dbfbc71634af3dae9b5af1bc1e82fec32062e1.zip |
Implemented and documented MHD_OPTION_LISTEN_SOCKET followed by MHD_INVALID_SOCKET
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 9e7e23e2..9d54ddee 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -1780,6 +1780,8 @@ enum MHD_OPTION | |||
1780 | * option is used, MHD will not open its own listen socket(s). The | 1780 | * option is used, MHD will not open its own listen socket(s). The |
1781 | * argument passed must be of type `MHD_socket` and refer to an | 1781 | * argument passed must be of type `MHD_socket` and refer to an |
1782 | * existing socket that has been bound to a port and is listening. | 1782 | * existing socket that has been bound to a port and is listening. |
1783 | * If followed by MHD_INVALID_SOCKET value, MHD ignores this option | ||
1784 | * and creates socket by itself. | ||
1783 | */ | 1785 | */ |
1784 | MHD_OPTION_LISTEN_SOCKET = 12, | 1786 | MHD_OPTION_LISTEN_SOCKET = 12, |
1785 | 1787 | ||