From c216670930063791d059ec90767886a44f32ca95 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Thu, 27 Jan 2011 08:56:36 +0000 Subject: docu --- doc/microhttpd.texi | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'doc/microhttpd.texi') diff --git a/doc/microhttpd.texi b/doc/microhttpd.texi index d9ccda4c..aefeba2d 100644 --- a/doc/microhttpd.texi +++ b/doc/microhttpd.texi @@ -707,16 +707,30 @@ connection is desired. @table @code @item MHD_CONNECTION_INFO_CIPHER_ALGO -What cipher algorithm is being used. +What cipher algorithm is being used (HTTPS connections only). Takes no extra arguments. +NULL is returned for non-HTTPS connections. @item MHD_CONNECTION_INFO_PROTOCOL, Takes no extra arguments. Allows finding out the TLS/SSL protocol used (HTTPS connections only). +NULL is returned for non-HTTPS connections. + +@item MHD_CONNECTION_INFO_CLIENT_ADDRESS +Returns information about the address of the client. Returns +essentially a @code{struct sockaddr **} (since the API returns +a @code{union MHD_ConnectionInfo *} and that union contains +a @code{struct sockaddr *}). @item MHD_CONNECTION_INFO_GNUTLS_SESSION, Takes no extra arguments. Allows access to the underlying GNUtls session, including access to the underlying GNUtls client certificate +(HTTPS connections only). Takes no extra arguments. +NULL is returned for non-HTTPS connections. + +@item MHD_CONNECTION_INFO_GNUTLS_CLIENT_CERT, +Takes no extra arguments. Allows access to the client certificate +including access to the underlying GNUtls client certificate (HTTPS connections only). Takes no extra arguments. @end table @@ -1924,6 +1938,8 @@ in case the desired information is not available or applicable. @end deftypefun + + @c ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ -- cgit v1.2.3