Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 42556df

Browse files
committed
Fxied to call _send_cb() instead of _data_cb() for PingFrame
1 parent e530d18 commit 42556df

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyper/http20/connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def receive_frame(self, frame):
339339
p = PingFrame(0)
340340
p.flags.add('ACK')
341341
p.opaque_data = frame.opaque_data
342-
self._data_cb(p, True)
342+
self._send_cb(p, True)
343343
elif frame.type == SettingsFrame.type:
344344
if 'ACK' not in frame.flags:
345345
self._update_settings(frame)

0 commit comments

Comments
 (0)