mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-18 11:28:13 +08:00
Fix typo
PUBLISHED_FROM=56fdeaf4965ef26c398267c8656735bb52e45085
This commit is contained in:
parent
ec752645ee
commit
14094aaef7
@ -9,7 +9,7 @@ signature: |
|
|||||||
Sends buffer `buf` of size `len` to the client using chunked HTTP encoding.
|
Sends buffer `buf` of size `len` to the client using chunked HTTP encoding.
|
||||||
This function sends the buffer size as hex number + newline first, then
|
This function sends the buffer size as hex number + newline first, then
|
||||||
the buffer itself, then the newline. For example,
|
the buffer itself, then the newline. For example,
|
||||||
`mg_send_http_chunk(nc, "foo", 3)` whill append the `3\r\nfoo\r\n` string
|
`mg_send_http_chunk(nc, "foo", 3)` will append the `3\r\nfoo\r\n` string
|
||||||
to the `nc->send_mbuf` output IO buffer.
|
to the `nc->send_mbuf` output IO buffer.
|
||||||
|
|
||||||
NOTE: The HTTP header "Transfer-Encoding: chunked" should be sent prior to
|
NOTE: The HTTP header "Transfer-Encoding: chunked" should be sent prior to
|
||||||
|
@ -4814,7 +4814,7 @@ int mg_http_check_digest_auth(struct http_message *hm, const char *auth_domain,
|
|||||||
* Sends buffer `buf` of size `len` to the client using chunked HTTP encoding.
|
* Sends buffer `buf` of size `len` to the client using chunked HTTP encoding.
|
||||||
* This function sends the buffer size as hex number + newline first, then
|
* This function sends the buffer size as hex number + newline first, then
|
||||||
* the buffer itself, then the newline. For example,
|
* the buffer itself, then the newline. For example,
|
||||||
* `mg_send_http_chunk(nc, "foo", 3)` whill append the `3\r\nfoo\r\n` string
|
* `mg_send_http_chunk(nc, "foo", 3)` will append the `3\r\nfoo\r\n` string
|
||||||
* to the `nc->send_mbuf` output IO buffer.
|
* to the `nc->send_mbuf` output IO buffer.
|
||||||
*
|
*
|
||||||
* NOTE: The HTTP header "Transfer-Encoding: chunked" should be sent prior to
|
* NOTE: The HTTP header "Transfer-Encoding: chunked" should be sent prior to
|
||||||
|
Loading…
Reference in New Issue
Block a user