-
-
Save mahmoud/99fedb2cf51c75a81969 to your computer and use it in GitHub Desktop.
Cython is amazing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(Pdb) w | |
<stdin>(1)<module>() | |
c:\old_user\workspace\cyopenssl\test\_test.py(117)session_test() | |
-> tls_c.send('hello') | |
c:\old_user\workspace\cyopenssl\test\cyopenssl\openssl.pyx(680)cyopenssl.openssl.Socket.send (cyopenssl/openssl.c:6673)() | |
> c:\old_user\workspace\cyopenssl\test\cyopenssl\openssl.pyx(776)cyopenssl.openssl.Socket._do_ssl (cyopenssl/openssl.c:8320)() | |
(Pdb) l | |
771 elif err == SSL_ERROR_SSL: | |
772 raise SSLError("SSL_ERROR_SSL") | |
773 elif err == SSL_ERROR_WANT_READ: | |
774 # xfer data from socket to BIO | |
775 self._update_timeout(start) | |
776 -> io_size = self.sock.recv_into(self.buf) | |
777 if io_size == 0: | |
778 return 0 | |
779 BIO_write(self.rbio, <char *>self.buf, io_size) | |
780 # raise SSLWantRead() | |
781 elif err == SSL_ERROR_WANT_WRITE: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment