add MHD_CONNECTION_INFO_CONNECTION_SUSPENDED

This commit is contained in:
Christian Grothoff committed 2016-05-17 11:37:54 +00:00
1 parent de6e50d00e
commit 8a4e48c6f4
4 files changed
+26 -1

No files matched your search

+11 -1
View File
@@ -1156,6 +1156,11 @@ union MHD_ConnectionInfo
*/
int /* enum gnutls_protocol */ protocol;
/**
* The suspended status of a connection.
*/
int /* MHD_YES or MHD_NO */ suspended;
/**
* Connect socket
*/
@@ -1255,8 +1260,13 @@ enum MHD_ConnectionInfoType
* fresh for each HTTP request, while the "socket_context" is fresh
* for each socket.
*/
MHD_CONNECTION_INFO_SOCKET_CONTEXT
MHD_CONNECTION_INFO_SOCKET_CONTEXT,
/**
* Check wheter the connection is suspended.
* @ingroup request
*/
MHD_CONNECTION_INFO_CONNECTION_SUSPENDED
};