[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[minion-cvs] Fix (I hope) the last of the SSL_write bugs
Update of /home/minion/cvsroot/src/minion/src
In directory moria.mit.edu:/tmp/cvs-serv20266/src
Modified Files:
tls.c
Log Message:
Fix (I hope) the last of the SSL_write bugs
Index: tls.c
===================================================================
RCS file: /home/minion/cvsroot/src/minion/src/tls.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- tls.c 6 Feb 2004 23:14:28 -0000 1.33
+++ tls.c 7 Feb 2004 21:27:58 -0000 1.34
@@ -198,6 +198,9 @@
}
if (!err)
SSL_CTX_set_verify(ctx, SSL_VERIFY_NONE, NULL);
+ if (!err)
+ SSL_CTX_set_mode(ctx, SSL_MODE_ENABLE_PARTIAL_WRITE|
+ SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER);
Py_END_ALLOW_THREADS
if (!err) {