Message108561
| Author |
pitrou |
| Recipients |
exarkun, giampaolo.rodola, janssen, pitrou |
| Date |
2010年06月24日.23:03:13 |
| SpamBayes Score |
5.1995157e-05 |
| Marked as misclassified |
No |
| Message-id |
<1277420595.3.0.797937330193.issue9075@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The ssl module sets a "debug" flag on the OpenSSL SSL struct at the end of PySSL_SSLdo_handshake():
self->ssl->debug = 1;
The OpenSSL header files have this to say about this flag:
/* set this flag to 1 and a sleep(1) is put into all SSL_read()
* and SSL_write() calls, good for nbio debuging :-) */
int debug;
Some uses of it in the OpenSSL source are actually guarded by a macro (#ifdef PKT_DEBUG), but some are not. Bill, do you remember why you put that call? I would find it strongly preferrable to remove that assignment (doing so doesn't seem to break anything in the test suite). |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年06月24日 23:03:15 | pitrou | set | recipients:
+ pitrou, exarkun, janssen, giampaolo.rodola |
| 2010年06月24日 23:03:15 | pitrou | set | messageid: <1277420595.3.0.797937330193.issue9075@psf.upfronthosting.co.za> |
| 2010年06月24日 23:03:13 | pitrou | link | issue9075 messages |
| 2010年06月24日 23:03:13 | pitrou | create |
|