commit fe7582e526243a477ebfee57f4733a1cb3627eb1
parent 3e224bd92598759321b05cea9e1dc3bd548fdf8f
Author: silvioprog <silvioprog@gmail.com>
Date: Tue, 7 Mar 2017 10:42:20 -0300
Updates the MHD_OPTION_URI_LOG_CALLBACK's documentation.
Diffstat:
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a/ChangeLog b/ChangeLog
@@ -1,3 +1,6 @@
+Tue Mar 7 10:37:45 BRT 2017
+ Updated the MHD_OPTION_URI_LOG_CALLBACK's documentation.
+
Mon Mar 6 21:46:59 BRT 2017
Added the i18n example fixing #4924. -SC
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h
@@ -1247,9 +1247,13 @@ enum MHD_OPTION
* be the 0-terminated URI of the request.
*
* Note that during the time of this call, most of the connection's
- * state is not initialized (as we have not yet parsed he headers).
+ * state is not initialized (as we have not yet parsed the headers).
* However, information about the connecting client (IP, socket)
* is available.
+ *
+ * The specified function is called only once per request, therefore some
+ * programmers may use it to instantiate their own request objects, freeing
+ * them in the notifier #MHD_OPTION_NOTIFY_COMPLETED.
*/
MHD_OPTION_URI_LOG_CALLBACK = 7,