diff options
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r-- | doc/libmicrohttpd.texi | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi index 6a4a1cf5..3ff8c2ac 100644 --- a/doc/libmicrohttpd.texi +++ b/doc/libmicrohttpd.texi | |||
@@ -631,7 +631,7 @@ parsing will no longer contain the options, which maybe inconvenient for | |||
631 | logging. This option should be followed by two arguments, the first | 631 | logging. This option should be followed by two arguments, the first |
632 | one must be of the form | 632 | one must be of the form |
633 | @example | 633 | @example |
634 | void * my_logger(void * cls, const char * uri) | 634 | void * my_logger(void * cls, const char * uri, struct MHD_Connection *con) |
635 | @end example | 635 | @end example |
636 | where the return value will be passed as | 636 | where the return value will be passed as |
637 | @code{*con_cls} in calls to the @code{MHD_AccessHandlerCallback} | 637 | @code{*con_cls} in calls to the @code{MHD_AccessHandlerCallback} |
@@ -644,6 +644,10 @@ rely on the first call to the access handler having | |||
644 | MHD_OPTION_URI_LOG_CALLBACK. Finally, @code{uri} will | 644 | MHD_OPTION_URI_LOG_CALLBACK. Finally, @code{uri} will |
645 | be the 0-terminated URI of the request. | 645 | be the 0-terminated URI of the request. |
646 | 646 | ||
647 | Note that during the time of this call, most of the connection's state | ||
648 | is not initialized (as we have not yet parsed he headers). However, | ||
649 | information about the connecting client (IP, socket) is available. | ||
650 | |||
647 | @item MHD_OPTION_HTTPS_MEM_KEY | 651 | @item MHD_OPTION_HTTPS_MEM_KEY |
648 | @cindex SSL | 652 | @cindex SSL |
649 | @cindex TLS | 653 | @cindex TLS |