Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
M
mongoose
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
esp
mongoose
Commits
14094aae
Commit
14094aae
authored
7 years ago
by
Yiming Sun
Committed by
Cesanta Bot
7 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
PUBLISHED_FROM=56fdeaf4965ef26c398267c8656735bb52e45085
parent
ec752645
master
dev
6.11
6.10
6.9
6.8
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mg_send_http_chunk.md
docs/c-api/http_server.h/mg_send_http_chunk.md
+1
-1
mongoose.h
mongoose.h
+1
-1
No files found.
docs/c-api/http_server.h/mg_send_http_chunk.md
View file @
14094aae
...
...
@@ -9,7 +9,7 @@ signature: |
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
the buffer itself, then the newline. For example,
`mg_send_http_chunk(nc, "foo", 3)`
w
h
ill 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.
NOTE: The HTTP header "Transfer-Encoding: chunked" should be sent prior to
...
...
This diff is collapsed.
Click to expand it.
mongoose.h
View file @
14094aae
...
...
@@ -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.
* This function sends the buffer size as hex number + newline first, then
* the buffer itself, then the newline. For example,
* `mg_send_http_chunk(nc, "foo", 3)` w
h
ill 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.
*
* NOTE: The HTTP header "Transfer-Encoding: chunked" should be sent prior to
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment