diff options
Diffstat (limited to 'src/include/microhttpd.h')
-rw-r--r-- | src/include/microhttpd.h | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/include/microhttpd.h b/src/include/microhttpd.h index 34b35c4f..0eae3f9f 100644 --- a/src/include/microhttpd.h +++ b/src/include/microhttpd.h | |||
@@ -1560,12 +1560,12 @@ enum MHD_DAuthBindNonce | |||
1560 | * expired yet. | 1560 | * expired yet. |
1561 | * It is recommended because RFC 7616 allows clients to use the same nonce | 1561 | * It is recommended because RFC 7616 allows clients to use the same nonce |
1562 | * for any request in the same "protection space". | 1562 | * for any request in the same "protection space". |
1563 | * CPU is loaded less when this value is used when checking client's | 1563 | * When checking client's authorisation requests CPU is loaded less if this |
1564 | * authorisation requests. | 1564 | * value is used. |
1565 | * This mode gives MHD maximum flexibility for nonces generation and can | 1565 | * This mode gives MHD maximum flexibility for nonces generation and can |
1566 | * prevent possible nonce collisions (and corresponding log warning messages) | 1566 | * prevent possible nonce collisions (and corresponding log warning messages) |
1567 | * when clients' requests are intensive. | 1567 | * when clients' requests are intensive. |
1568 | * This value cannot be combined with other values. | 1568 | * This value cannot be biwise-OR combined with other values. |
1569 | */ | 1569 | */ |
1570 | MHD_DAUTH_BIND_NONCE_NONE = 0, | 1570 | MHD_DAUTH_BIND_NONCE_NONE = 0, |
1571 | 1571 | ||
@@ -1579,10 +1579,10 @@ enum MHD_DAuthBindNonce | |||
1579 | * after '?' in URI) and request method (GET, POST etc). | 1579 | * after '?' in URI) and request method (GET, POST etc). |
1580 | * Not recommended unless "protection space" is limited to a single URI as | 1580 | * Not recommended unless "protection space" is limited to a single URI as |
1581 | * RFC 7616 allows clients to re-use server-generated nonces for any URI | 1581 | * RFC 7616 allows clients to re-use server-generated nonces for any URI |
1582 | * in the same "protection space" which is by default consists of all server | 1582 | * in the same "protection space" which by default consists of all server |
1583 | * URIs. | 1583 | * URIs. |
1584 | * This was default (and only supported) nonce bind type | 1584 | * Before #MHD_VERSION 0x00097518 this was default (and only supported) |
1585 | * before #MHD_VERSION 0x00097518 | 1585 | * nonce bind type. |
1586 | */ | 1586 | */ |
1587 | MHD_DAUTH_BIND_NONCE_URI = 1 << 1, | 1587 | MHD_DAUTH_BIND_NONCE_URI = 1 << 1, |
1588 | 1588 | ||
@@ -2735,7 +2735,8 @@ typedef void | |||
2735 | * | 2735 | * |
2736 | * @param cls user-specified closure | 2736 | * @param cls user-specified closure |
2737 | * @param kind type of the value, always #MHD_POSTDATA_KIND when called from MHD | 2737 | * @param kind type of the value, always #MHD_POSTDATA_KIND when called from MHD |
2738 | * @param key 0-terminated key for the value | 2738 | * @param key 0-terminated key for the value, NULL if not known. This value |
2739 | * is never NULL for url-encoded POST data. | ||
2739 | * @param filename name of the uploaded file, NULL if not known | 2740 | * @param filename name of the uploaded file, NULL if not known |
2740 | * @param content_type mime-type of the data, NULL if not known | 2741 | * @param content_type mime-type of the data, NULL if not known |
2741 | * @param transfer_encoding encoding of the data, NULL if not known | 2742 | * @param transfer_encoding encoding of the data, NULL if not known |