Extra print
This commit is contained in:
@@ -142,7 +142,6 @@ class HttpProtocol(BaseHTTPServer.BaseHTTPRequestHandler):
|
|||||||
try:
|
try:
|
||||||
self.rfile = conn.makefile('rb', self.rbufsize)
|
self.rfile = conn.makefile('rb', self.rbufsize)
|
||||||
self.wfile = conn.makefile('wb', self.wbufsize)
|
self.wfile = conn.makefile('wb', self.wbufsize)
|
||||||
print "have a regular socket", conn.makefile
|
|
||||||
except (AttributeError, NotImplementedError):
|
except (AttributeError, NotImplementedError):
|
||||||
if hasattr(conn, 'send') and hasattr(conn, 'recv'):
|
if hasattr(conn, 'send') and hasattr(conn, 'recv'):
|
||||||
# it's an SSL.Connection
|
# it's an SSL.Connection
|
||||||
|
Reference in New Issue
Block a user