We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fcd1fac + 64e7fb0 commit 2f41946Copy full SHA for 2f41946
nameko_grpc/connection.py
@@ -214,12 +214,15 @@ def stream_ended(self, event):
214
def stream_reset(self, event):
215
"""Called when an incoming stream is reset.
216
217
- Close any `ReceiveStream` that was opened for this stream.
+ Close any Streams that we have opened for this stream_id
218
"""
219
log.debug("stream reset, stream %s", event.stream_id)
220
receive_stream = self.receive_streams.pop(event.stream_id, None)
221
if receive_stream:
222
receive_stream.close()
223
+ send_stream = self.send_streams.pop(event.stream_id, None)
224
+ if send_stream:
225
+ send_stream.close()
226
227
def settings_changed(self, event):
228
log.debug("settings changed")
0 commit comments