Skip to content

Commit 4e96818

Browse files
author
taras
committed
Revert unnecessary check
1 parent 4f66353 commit 4e96818

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uvloop/handles/stream.pyx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ cdef class UVStream(UVBaseTransport):
470470
if not buf_len:
471471
return
472472

473-
if not self._protocol_paused and (<uv.uv_stream_t*>self._handle).write_queue_size == 0:
473+
if (<uv.uv_stream_t*>self._handle).write_queue_size == 0:
474474
# libuv internal write buffers for this stream are empty.
475475
if buf_len == 1:
476476
# If we only have one piece of data to send, let's

0 commit comments

Comments
 (0)