diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 76847c9f..59170dfe 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -135,7 +135,7 @@ typedef intptr_t ssize_t; | |||
135 | * they are parsed as decimal numbers. | 135 | * they are parsed as decimal numbers. |
136 | * Example: 0x01093001 = 1.9.30-1. | 136 | * Example: 0x01093001 = 1.9.30-1. |
137 | */ | 137 | */ |
138 | #define MHD_VERSION 0x00097204 | 138 | #define MHD_VERSION 0x00097205 |
139 | 139 | ||
140 | /** | 140 | /** |
141 | * Operational results from MHD calls. | 141 | * Operational results from MHD calls. |
@@ -1732,7 +1732,18 @@ enum MHD_OPTION | |||
1732 | * This argument must be followed by an "unsigned int", corresponding | 1732 | * This argument must be followed by an "unsigned int", corresponding |
1733 | * to an `enum MHD_DisableSanityCheck`. | 1733 | * to an `enum MHD_DisableSanityCheck`. |
1734 | */ | 1734 | */ |
1735 | MHD_OPTION_SERVER_INSANITY = 32 | 1735 | MHD_OPTION_SERVER_INSANITY = 32, |
1736 | |||
1737 | /** | ||
1738 | * If followed by value '1' informs MHD that SIGPIPE is suppressed or | ||
1739 | * handled by application. Allows MHD to use network functions that could | ||
1740 | * generate SIGPIPE, like `sendfile()`. | ||
1741 | * Valid only for daemons without #MHD_USE_INTERNAL_POLLING_THREAD as | ||
1742 | * MHD automatically suppresses SIGPIPE for threads started by MHD. | ||
1743 | * This option should be followed by an `int` argument. | ||
1744 | * @note Available since #MHD_VERSION 0x00097205 | ||
1745 | */ | ||
1746 | MHD_OPTION_SIGPIPE_HANDLED_BY_APP = 33 | ||
1736 | }; | 1747 | }; |
1737 | 1748 | ||
1738 | 1749 | ||