diff options
Diffstat (limited to 'src/microhttpd/internal.h')
-rw-r--r-- | src/microhttpd/internal.h | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/microhttpd/internal.h b/src/microhttpd/internal.h index 047300b1..01d72950 100644 --- a/src/microhttpd/internal.h +++ b/src/microhttpd/internal.h @@ -894,7 +894,14 @@ struct MHD_Connection */ struct MHD_UpgradeResponseHandle { + /** + * The connection for which this is an upgrade handle. Note that + * because a response may be shared over many connections, this may + * not be the only upgrade handle for the response of this connection. + */ + struct MHD_Connection *connection; +#if HTTPS_SUPPORT /** * Kept in a DLL per daemon. */ @@ -906,13 +913,6 @@ struct MHD_UpgradeResponseHandle struct MHD_UpgradeResponseHandle *prev; /** - * The connection for which this is an upgrade handle. Note that - * because a response may be shared over many connections, this may - * not be the only upgrade handle for the response of this connection. - */ - struct MHD_Connection *connection; - - /** * The socket we gave to the application (r/w). */ MHD_socket app_socket; @@ -932,7 +932,7 @@ struct MHD_UpgradeResponseHandle * IO-state of the @e connection's socket. */ enum MHD_EpollState celi_client; - +#endif }; @@ -1028,16 +1028,6 @@ struct MHD_Daemon #endif /** - * Head of DLL of upgrade response handles we are processing. - */ - struct MHD_UpgradeResponseHandle *urh_head; - - /** - * Tail of DLL of upgrade response handles we are processing. - */ - struct MHD_UpgradeResponseHandle *urh_tail; - - /** * Head of the XDLL of ALL connections with a default ('normal') * timeout, sorted by timeout (earliest at the tail, most recently * used connection at the head). MHD can just look at the tail of @@ -1284,6 +1274,16 @@ struct MHD_Daemon #if HTTPS_SUPPORT /** + * Head of DLL of upgrade response handles we are processing. + */ + struct MHD_UpgradeResponseHandle *urh_head; + + /** + * Tail of DLL of upgrade response handles we are processing. + */ + struct MHD_UpgradeResponseHandle *urh_tail; + + /** * Desired cipher algorithms. */ gnutls_priority_t priority_cache; |