aboutsummaryrefslogtreecommitdiff
path: root/src/include/microhttpd.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-05-02 18:53:50 +0200
committerChristian Grothoff <christian@grothoff.org>2017-05-02 18:53:50 +0200
commit76cf7d7f5877a3ce0f3bb131aa6e6f420d5b98eb (patch)
tree687393473478fb8e70cba7a4eafc517268404d98 /src/include/microhttpd.h
parent33f121a4f6a2d5d47c51d7cbf1d5a750ed369750 (diff)
downloadlibmicrohttpd-76cf7d7f5877a3ce0f3bb131aa6e6f420d5b98eb.tar.gz
libmicrohttpd-76cf7d7f5877a3ce0f3bb131aa6e6f420d5b98eb.zip
documentation, adding MHD_CONNECTION_INFO_REQUEST_HEADER_SIZE, releasing 0.9.54
Diffstat (limited to 'src/include/microhttpd.h')
-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