Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
N
nghttp2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
nghttp2
Commits
b2a34c2e
Commit
b2a34c2e
authored
Aug 23, 2013
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Fix bug content-length is removed
parent
358d12a8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
src/shrpx_http2_upstream.cc
src/shrpx_http2_upstream.cc
+8
-0
No files found.
src/shrpx_http2_upstream.cc
View file @
b2a34c2e
...
@@ -289,6 +289,14 @@ void on_frame_recv_callback
...
@@ -289,6 +289,14 @@ void on_frame_recv_callback
return
;
return
;
}
}
if
(
req_hdidx
[
4
]
!=
-
1
)
{
downstream
->
add_request_header
(
std
::
string
(
reinterpret_cast
<
char
*>
(
nva
[
req_hdidx
[
4
]].
name
),
nva
[
req_hdidx
[
4
]].
namelen
),
std
::
string
(
reinterpret_cast
<
char
*>
(
nva
[
req_hdidx
[
4
]].
value
),
nva
[
req_hdidx
[
4
]].
valuelen
));
}
std
::
string
host
(
reinterpret_cast
<
char
*>
(
nva
[
req_hdidx
[
0
]].
value
),
std
::
string
host
(
reinterpret_cast
<
char
*>
(
nva
[
req_hdidx
[
0
]].
value
),
nva
[
req_hdidx
[
0
]].
valuelen
);
nva
[
req_hdidx
[
0
]].
valuelen
);
std
::
string
method
(
reinterpret_cast
<
char
*>
(
nva
[
req_hdidx
[
1
]].
value
),
std
::
string
method
(
reinterpret_cast
<
char
*>
(
nva
[
req_hdidx
[
1
]].
value
),
...
...
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