Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
M
mongoose
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ganil-acq
GANILinux
linux-service
library
mongoose
Commits
482a471a
Commit
482a471a
authored
8 years ago
by
Evelyn
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update mg_file_upload_handler.md
parent
4d90bb0d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docs/c-api/http.h/mg_file_upload_handler.md
+1
-1
1 addition, 1 deletion
docs/c-api/http.h/mg_file_upload_handler.md
with
1 addition
and
1 deletion
docs/c-api/http.h/mg_file_upload_handler.md
+
1
−
1
View file @
482a471a
...
@@ -12,7 +12,7 @@ This handler can be used to implement file uploads with minimum code.
...
@@ -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
This handler will process MG_EV_HTTP_PART_
*
events and store file data into
a local file.
a local file.
`local_name_fn`
will be invoked with whatever name was provided by the client
`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,
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.
the returned string must be heap-allocated and will be freed by the caller.
Exception: it is ok to return the same string verbatim.
Exception: it is ok to return the same string verbatim.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment