Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 0 additions & 30 deletions .travis/travis_build.sh

This file was deleted.

11 changes: 7 additions & 4 deletions tests/py_localhost/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,10 +157,13 @@ def receive_data(self, data: bytes, stream_id: int, flow_controlled_length: int)
expecting data on, save it off. Otherwise, reset the stream.
"""
try:
self.conn.increment_flow_control_window(
flow_controlled_length)
self.conn.increment_flow_control_window(
flow_controlled_length, stream_id)
if flow_controlled_length > 0:
# We need to update the flow control window for the stream
# and the connection. And the function only accepts value > 0.
self.conn.increment_flow_control_window(
flow_controlled_length)
self.conn.increment_flow_control_window(
flow_controlled_length, stream_id)
stream_data = self.stream_data[stream_id]
except KeyError:
self.conn.reset_stream(
Expand Down