Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
mongoose
Commits
d6693ed3
Commit
d6693ed3
authored
Jun 11, 2020
by
Sergey Lyubka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert
48800697
parent
5d217a12
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
mongoose.c
mongoose.c
+1
-3
mg_http.c
src/mg_http.c
+1
-3
No files found.
mongoose.c
View file @
d6693ed3
...
...
@@ -6859,7 +6859,7 @@ static int mg_http_multipart_continue_wait_for_chunk(struct mg_connection *c) {
mbuf_remove
(
io
,
consumed
);
}
return
0
;
}
else
if
(
boundary
!=
NULL
)
{
}
else
{
size_t
data_len
=
((
size_t
)(
boundary
-
io
->
buf
)
-
4
);
size_t
consumed
=
mg_http_multipart_call_handler
(
c
,
MG_EV_HTTP_PART_DATA
,
io
->
buf
,
data_len
);
...
...
@@ -6871,8 +6871,6 @@ static int mg_http_multipart_continue_wait_for_chunk(struct mg_connection *c) {
}
else
{
return
0
;
}
}
else
{
return
0
;
}
}
...
...
src/mg_http.c
View file @
d6693ed3
...
...
@@ -1212,7 +1212,7 @@ static int mg_http_multipart_continue_wait_for_chunk(struct mg_connection *c) {
mbuf_remove
(
io
,
consumed
);
}
return
0
;
}
else
if
(
boundary
!=
NULL
)
{
}
else
{
size_t
data_len
=
((
size_t
)(
boundary
-
io
->
buf
)
-
4
);
size_t
consumed
=
mg_http_multipart_call_handler
(
c
,
MG_EV_HTTP_PART_DATA
,
io
->
buf
,
data_len
);
...
...
@@ -1224,8 +1224,6 @@ static int mg_http_multipart_continue_wait_for_chunk(struct mg_connection *c) {
}
else
{
return
0
;
}
}
else
{
return
0
;
}
}
...
...
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