This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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:15pitrousetrecipients: + pitrou, exarkun, janssen, giampaolo.rodola
2010-06-24 23:03:15pitrousetmessageid: <1277420595.3.0.797937330193.issue9075@psf.upfronthosting.co.za>
2010-06-24 23:03:13pitroulinkissue9075 messages
2010-06-24 23:03:13pitroucreate