Use start_timer_nodelay() in protocols which rely on the retry timer

to generate the initial transmission; this cuts off around 0.3s per
instantiated connection.
This commit is contained in:
Michael Brown
2007-08-13 11:03:33 -07:00
parent 0a3c2b80ea
commit 2ff1b1245b
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -232,7 +232,7 @@ static int tcp_open ( struct xfer_interface *xfer, struct sockaddr *peer,
goto err;
/* Start timer to initiate SYN */
start_timer ( &tcp->timer );
start_timer_nodelay ( &tcp->timer );
/* Attach parent interface, transfer reference to connection
* list and return