Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

set socket option TCP_NODELAY

  • Loading branch information...
commit c79dd069a0ec22b4cbcccadb2c2aa8307f2d4553 1 parent 65229ce
Hajime Nakagami authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  firebirdsql/fbcore.py
1  firebirdsql/fbcore.py
View
@@ -1186,6 +1186,7 @@ def __init__(self, dsn=None, user=None, password=None, host=None,
self.isolation_level = ISOLATION_LEVEL_READ_COMMITED
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
+ self.sock.setsockopt(socket.IPPROTO_TCP, socket.TCP_NODELAY, 1)
self.sock.connect((self.hostname, self.port))
def set_isolation_level(self, isolation_level):
Please sign in to comment.
Something went wrong with that request. Please try again.