Adding TCP_NODELAY to the source sockets

This commit is contained in:
Karim Allah Ahmed 2012-05-22 16:49:00 +02:00
parent c8018f29c9
commit f3054df53a
1 changed files with 1 additions and 6 deletions

View File

@ -759,12 +759,7 @@ Sec-WebSocket-Accept: %s\r
self.rec = None
self.start_time = int(time.time()*1000)
# handler process
dst_string = self.unix_socket or "%s:%s" % (self.target_host, self.target_port)
dst_string = self.unix_socket or "'%s' (port %s)" % (" ".join(self.wrap_cmd), self.target_port)
# handler process
try:
try:
self.client = self.do_handshake(startsock, address)