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
482a471a
Commit
482a471a
authored
Jul 22, 2016
by
Evelyn
Committed by
GitHub
Jul 22, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update mg_file_upload_handler.md
parent
4d90bb0d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
mg_file_upload_handler.md
docs/c-api/http.h/mg_file_upload_handler.md
+1
-1
No files found.
docs/c-api/http.h/mg_file_upload_handler.md
View file @
482a471a
...
...
@@ -12,7 +12,7 @@ This handler can be used to implement file uploads with minimum code.
This handler will process MG_EV_HTTP_PART_
*
events and store file data into
a local file.
`local_name_fn`
will be invoked with whatever name was provided by the client
and will expect the name of the local file to open.
R
eturn value of NULL will
and will expect the name of the local file to open.
A r
eturn value of NULL will
abort file upload (client will get a "403 Forbidden" response). If non-null,
the returned string must be heap-allocated and will be freed by the caller.
Exception: it is ok to return the same string verbatim.
...
...
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