aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
Diffstat (limited to 'src/include')
-rw-r--r--src/include/microhttpd.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
index 02bf38ab..ca0059fa 100644
--- a/src/include/microhttpd.h
+++ b/src/include/microhttpd.h
@@ -126,7 +126,7 @@ typedef intptr_t ssize_t;
126 * Current version of the library. 126 * Current version of the library.
127 * 0x01093001 = 1.9.30-1. 127 * 0x01093001 = 1.9.30-1.
128 */ 128 */
129#define MHD_VERSION 0x00095300 129#define MHD_VERSION 0x00095400
130 130
131/** 131/**
132 * MHD-internal return code for "YES". 132 * MHD-internal return code for "YES".
@@ -1677,6 +1677,11 @@ union MHD_ConnectionInfo
1677 MHD_socket connect_fd; 1677 MHD_socket connect_fd;
1678 1678
1679 /** 1679 /**
1680 * Size of the client's HTTP header.
1681 */
1682 size_t header_size;
1683
1684 /**
1680 * GNUtls session handle, of type "gnutls_session_t". 1685 * GNUtls session handle, of type "gnutls_session_t".
1681 */ 1686 */
1682 void * /* gnutls_session_t */ tls_session; 1687 void * /* gnutls_session_t */ tls_session;
@@ -1778,12 +1783,17 @@ enum MHD_ConnectionInfoType
1778 */ 1783 */
1779 MHD_CONNECTION_INFO_CONNECTION_SUSPENDED, 1784 MHD_CONNECTION_INFO_CONNECTION_SUSPENDED,
1780 1785
1781
1782 /** 1786 /**
1783 * Get connection timeout 1787 * Get connection timeout
1784 * @ingroup request 1788 * @ingroup request
1785 */ 1789 */
1786 MHD_CONNECTION_INFO_CONNECTION_TIMEOUT 1790 MHD_CONNECTION_INFO_CONNECTION_TIMEOUT,
1791
1792 /**
1793 * Return length of the client's HTTP request header.
1794 * @ingroup request
1795 */
1796 MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE
1787}; 1797};
1788 1798
1789 1799