commit c216670930063791d059ec90767886a44f32ca95
parent b72654d5b4e5ba8b27614951947c5a76164d3ee5
Author: Christian Grothoff <christian@grothoff.org>
Date: Thu, 27 Jan 2011 08:56:36 +0000
docu
Diffstat:
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git 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 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++