File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -25,6 +25,7 @@ Thin Mode Changes
2525#) Fixed bug in statement cache when the maximum number of cursors is unknown
2626 due to the database not being open.
2727#) Fixed bug in handling redirect data with small SDU sizes.
28+ #) Fixed bug with TLS renegotiation under some circumstances.
2829#) Adjusted handling of internal break/reset mechanism in order to avoid
2930 potential hangs in some configurations under some circumstances.
3031
Original file line number Diff line number Diff line change @@ -249,7 +249,9 @@ cdef class Transport:
249249 """
250250 Renegotiate TLS on the socket.
251251 """
252- sock = socket.socket(fileno = self ._transport.detach())
252+ orig_sock = self ._transport
253+ sock = socket.socket(family = orig_sock.family, type = orig_sock.type,
254+ proto = orig_sock.proto, fileno = orig_sock.detach())
253255 self .negotiate_tls(sock, description)
254256
255257 async def negotiate_tls_async(self , BaseAsyncProtocol protocol,
You can’t perform that action at this time.
0 commit comments