aboutsummaryrefslogtreecommitdiff
path: root/doc/libmicrohttpd.texi
diff options
context:
space:
mode:
Diffstat (limited to 'doc/libmicrohttpd.texi')
-rw-r--r--doc/libmicrohttpd.texi8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/libmicrohttpd.texi b/doc/libmicrohttpd.texi
index a14c28d3..46eed3b0 100644
--- a/doc/libmicrohttpd.texi
+++ b/doc/libmicrohttpd.texi
@@ -3302,6 +3302,14 @@ ahc_echo (void *cls,
3302 const char *password = "testpass"; 3302 const char *password = "testpass";
3303 const char *realm = "test@@example.com"; 3303 const char *realm = "test@@example.com";
3304 int ret; 3304 int ret;
3305 static int already_called_marker;
3306
3307 if (&already_called_marker != *req_cls)
3308 @{ /* Called for the first time, request not fully read yet */
3309 *req_cls = &already_called_marker;
3310 /* Wait for complete request */
3311 return MHD_YES;
3312 @}
3305 3313
3306 username = MHD_digest_auth_get_username (connection); 3314 username = MHD_digest_auth_get_username (connection);
3307 if (username == NULL) 3315 if (username == NULL)