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
08fea570
Commit
08fea570
authored
Nov 16, 2014
by
Tatsuhiro Tsujikawa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
python: Fix bug that settings timer is started when SETTINGS with ACK is sent
parent
8e5b5d00
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/nghttp2.pyx
python/nghttp2.pyx
+2
-2
No files found.
python/nghttp2.pyx
View file @
08fea570
...
...
@@ -456,7 +456,7 @@ cdef int server_on_frame_send(cnghttp2.nghttp2_session *session,
http2
.
send_response
(
handler
)
elif
frame
.
hd
.
type
==
cnghttp2
.
NGHTTP2_SETTINGS
:
if
(
frame
.
hd
.
flags
&
cnghttp2
.
NGHTTP2_FLAG_ACK
)
=
=
0
:
if
(
frame
.
hd
.
flags
&
cnghttp2
.
NGHTTP2_FLAG_ACK
)
!
=
0
:
return
0
http2
.
_start_settings_timer
()
...
...
@@ -606,7 +606,7 @@ cdef int client_on_frame_send(cnghttp2.nghttp2_session *session,
logging
.
debug
(
'client_on_frame_send, type:%s, stream_id:%s'
,
frame
.
hd
.
type
,
frame
.
hd
.
stream_id
)
if
frame
.
hd
.
type
==
cnghttp2
.
NGHTTP2_SETTINGS
:
if
(
frame
.
hd
.
flags
&
cnghttp2
.
NGHTTP2_FLAG_ACK
)
=
=
0
:
if
(
frame
.
hd
.
flags
&
cnghttp2
.
NGHTTP2_FLAG_ACK
)
!
=
0
:
return
0
http2
.
_start_settings_timer
()
...
...
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