• Guido van Rossum's avatar
    Hoepeful fix for SF bug #123924: Windows - using OpenSSL, problem with · 0aee7220
    Guido van Rossum yazdı
    socket in httplib.py.
    
    The bug reports that on Windows, you must pass sock._sock to the
    socket.ssl() call.  But on Unix, you must pass sock itself.  (sock is
    a wrapper on Windows but not on Unix; the ssl() call wants the real
    socket object, not the wrapper.)
    
    So we see if sock has an _sock attribute and if so, extract it.
    
    Unfortunately, the submitter of the bug didn't confirm that this patch
    works, so I'll just have to believe it (can't test it myself since I
    don't have OpenSSL on Windows set up, and that's a nontrivial thing I
    believe).
    0aee7220
Adı
Son kayıt (commit)
Son güncelleme
BeOS Loading commit data...
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.in Loading commit data...
README Loading commit data...
acconfig.h Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...