Ticket #4173: websockets-tls.diff
| File websockets-tls.diff, 0.6 KB (added by tekNico, 7 months ago) |
|---|
-
.py
old new 509 509 510 510 # Connect the transport to our factory, and make things go. We need to 511 511 # do some stupid stuff here; see #3204, which could fix it. 512 transport.protocol = protocol 512 if request.isSecure(): 513 # Secure connections wrap in TLSMemoryBIOProtocol too. 514 transport.protocol.wrappedProtocol = protocol 515 else: 516 transport.protocol = protocol 513 517 protocol.makeConnection(transport) 514 518 515 519 return NOT_DONE_YET
