Skip to content

Commit

Permalink
remove buffer check
Browse files Browse the repository at this point in the history
  • Loading branch information
stephenc-pace committed Sep 21, 2023
1 parent 6830d19 commit e1c6f55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nameko_grpc/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ def headers_to_send(self, defer_until_data=True):
if self.headers_sent or len(self.headers) == 0:
return False

if defer_until_data and self.queue.empty() and self.buffer.empty():
if defer_until_data and self.queue.empty():
return False

self.headers_sent = True
Expand Down

0 comments on commit e1c6f55

Please sign in to comment.