Skip to content

Commit 39323ab

Browse files
committed
Also update the new _ssl__SSLSocket_sendfile_impl
1 parent d40d1b4 commit 39323ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Modules/_ssl.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2588,10 +2588,10 @@ _ssl__SSLSocket_sendfile_impl(PySSLSocket *self, int fd, Py_off_t offset,
25882588
}
25892589

25902590
do {
2591-
PySSL_BEGIN_ALLOW_THREADS
2591+
PySSL_BEGIN_ALLOW_THREADS(self)
25922592
retval = SSL_sendfile(self->ssl, fd, (off_t)offset, size, flags);
25932593
err = _PySSL_errno(retval < 0, self->ssl, (int)retval);
2594-
PySSL_END_ALLOW_THREADS
2594+
PySSL_END_ALLOW_THREADS(self)
25952595
self->err = err;
25962596

25972597
if (PyErr_CheckSignals()) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy