diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index d6f1177c..a810d319 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h | |||
@@ -274,7 +274,6 @@ struct MHD_Response | |||
274 | */ | 274 | */ |
275 | MHD_ContentReaderFreeCallback crfc; | 275 | MHD_ContentReaderFreeCallback crfc; |
276 | 276 | ||
277 | #if 0 | ||
278 | /** | 277 | /** |
279 | * Application function to call once we are done sending the headers | 278 | * Application function to call once we are done sending the headers |
280 | * of the response; NULL unless this is a response created with | 279 | * of the response; NULL unless this is a response created with |
@@ -286,7 +285,6 @@ struct MHD_Response | |||
286 | * Closure for @e uh. | 285 | * Closure for @e uh. |
287 | */ | 286 | */ |
288 | void *upgrade_handler_cls; | 287 | void *upgrade_handler_cls; |
289 | #endif | ||
290 | 288 | ||
291 | /** | 289 | /** |
292 | * Mutex to synchronize access to @e data, @e size and | 290 | * Mutex to synchronize access to @e data, @e size and |
@@ -476,7 +474,13 @@ enum MHD_CONNECTION_STATE | |||
476 | * Handshake messages will be processed in this state & while | 474 | * Handshake messages will be processed in this state & while |
477 | * in the #MHD_TLS_HELLO_REQUEST state | 475 | * in the #MHD_TLS_HELLO_REQUEST state |
478 | */ | 476 | */ |
479 | MHD_TLS_CONNECTION_INIT = MHD_CONNECTION_IN_CLEANUP + 1 | 477 | MHD_TLS_CONNECTION_INIT = MHD_CONNECTION_IN_CLEANUP + 1, |
478 | |||
479 | /** | ||
480 | * Connection was "upgraded" and socket is now under the | ||
481 | * control of the application. | ||
482 | */ | ||
483 | MHD_CONNECTION_UPGRADE = MHD_TLS_CONNECTION_INIT + 1 | ||
480 | 484 | ||
481 | }; | 485 | }; |
482 | 486 | ||