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
3c96041c
Commit
3c96041c
authored
Feb 19, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nghttpx: Fix typo
parent
6320bd89
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
src/shrpx_downstream.cc
src/shrpx_downstream.cc
+1
-1
src/shrpx_downstream.h
src/shrpx_downstream.h
+1
-1
src/shrpx_http2_downstream_connection.cc
src/shrpx_http2_downstream_connection.cc
+3
-3
No files found.
src/shrpx_downstream.cc
View file @
3c96041c
...
...
@@ -678,7 +678,7 @@ void Downstream::set_priority(int32_t pri)
priority_
=
pri
;
}
int32_t
Downstream
::
get_priorty
()
const
int32_t
Downstream
::
get_prior
i
ty
()
const
{
return
priority_
;
}
...
...
src/shrpx_downstream.h
View file @
3c96041c
...
...
@@ -56,7 +56,7 @@ public:
void
set_stream_id
(
int32_t
stream_id
);
int32_t
get_stream_id
()
const
;
void
set_priority
(
int32_t
pri
);
int32_t
get_priorty
()
const
;
int32_t
get_prior
i
ty
()
const
;
void
pause_read
(
IOCtrlReason
reason
);
int
resume_read
(
IOCtrlReason
reason
);
void
force_resume_read
();
...
...
src/shrpx_http2_downstream_connection.cc
View file @
3c96041c
...
...
@@ -403,10 +403,10 @@ int Http2DownstreamConnection::push_request_headers()
nghttp2_data_provider
data_prd
;
data_prd
.
source
.
ptr
=
this
;
data_prd
.
read_callback
=
http2_data_read_callback
;
rv
=
http2session_
->
submit_request
(
this
,
downstream_
->
get_priorty
(),
rv
=
http2session_
->
submit_request
(
this
,
downstream_
->
get_prior
i
ty
(),
nva
.
data
(),
nva
.
size
(),
&
data_prd
);
}
else
{
rv
=
http2session_
->
submit_request
(
this
,
downstream_
->
get_priorty
(),
rv
=
http2session_
->
submit_request
(
this
,
downstream_
->
get_prior
i
ty
(),
nva
.
data
(),
nva
.
size
(),
nullptr
);
}
if
(
rv
!=
0
)
{
...
...
@@ -532,7 +532,7 @@ bool Http2DownstreamConnection::get_output_buffer_full()
int
Http2DownstreamConnection
::
on_priority_change
(
int32_t
pri
)
{
int
rv
;
if
(
downstream_
->
get_priorty
()
==
pri
)
{
if
(
downstream_
->
get_prior
i
ty
()
==
pri
)
{
return
0
;
}
downstream_
->
set_priority
(
pri
);
...
...
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