We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 649f8de commit 1345960Copy full SHA for 1345960
uvloop/sslproto.pyx
@@ -610,7 +610,7 @@ cdef class SSLProtocol:
610
If close_notify is received for the first time, call eof_received.
611
"""
612
cdef:
613
- bytearray buffer = PyBytes_FromStringAndSize(
+ bytearray buffer = PyByteArray_FromStringAndSize(
614
NULL, SSL_READ_DEFAULT_SIZE)
615
Py_ssize_t bytes_read = -1
616
try:
0 commit comments