mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
Merge branch 'master' of git+ssh://gnunet.org/libmicrohttpd
This commit is contained in:
@@ -87,6 +87,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
|
||||
char *user;
|
||||
char *pass;
|
||||
int fail;
|
||||
enum MHD_Result ret;
|
||||
struct MHD_Response *response;
|
||||
|
||||
if (0 != strcmp (method, MHD_HTTP_METHOD_GET))
|
||||
|
||||
@@ -26,7 +26,7 @@ answer_to_connection (void *cls, struct MHD_Connection *connection,
|
||||
char *user;
|
||||
char *pass;
|
||||
int fail;
|
||||
int ret;
|
||||
enum MHD_Result ret;
|
||||
struct MHD_Response *response;
|
||||
(void) cls; /* Unused. Silent compiler warning. */
|
||||
(void) url; /* Unused. Silent compiler warning. */
|
||||
|
||||
@@ -2507,7 +2507,7 @@ If returned value is not @code{NULL}, the value must be @code{MHD_free()}'ed.
|
||||
If returned value is not @code{NULL}, the value must be @code{MHD_free()}'ed.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun {int} MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, const char *realm, struct MHD_Response *response)
|
||||
@deftypefun {enum MHD_Result} MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, const char *realm, struct MHD_Response *response)
|
||||
Queues a response to request basic authentication from the client.
|
||||
Return @code{MHD_YES} if successful, otherwise @code{MHD_NO}.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user