python ssl module sets "debug" flag on SSL struct
Bug #598536 reported by
Evan Broder
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python |
Fix Released
|
Unknown
|
|||
python2.3 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
python2.4 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
python2.5 (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned | ||
python2.6 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Dapper |
Invalid
|
Undecided
|
Unassigned | ||
Lucid |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python2.6
Taken from the upstream Python bug:
The ssl module sets a "debug" flag on the OpenSSL SSL struct at the end of PySSL_SSLdo_
self-
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;
In addition to fixing this in Maverick, this seems like a substantial enough performance impact and a trivial enough fix to be worth backporting as an SRU.
Changed in python2.5 (Ubuntu Dapper): | |
status: | New → Invalid |
Changed in python2.6 (Ubuntu Dapper): | |
status: | New → Invalid |
Changed in python2.4 (Ubuntu): | |
status: | New → Invalid |
Changed in python2.5 (Ubuntu): | |
status: | New → Invalid |
Changed in python2.3 (Ubuntu): | |
status: | New → Invalid |
tags: | added: patch |
tags: | added: patch-accepted-upstream |
Changed in python: | |
status: | Unknown → Fix Released |
To post a comment you must log in.
Here is the hilariously simple patch to Python 2.6. It backports trivially; I'll work on debdiffs in a moment.