mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
c8f1d11e80
commit
ae9021d279
@ -121,3 +121,4 @@ class Corked(object):
|
||||
def __exit__(self, *args):
|
||||
if self.sock is not None:
|
||||
self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_CORK, 0)
|
||||
self.sock.send(b'') # Ensure that uncorking occurs
|
||||
|
Loading…
x
Reference in New Issue
Block a user