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

View File

@@ -657,7 +657,7 @@ int tftp_open ( struct xfer_interface *xfer, struct uri *uri ) {
goto err;
/* Start timer to initiate RRQ */
start_timer ( &tftp->timer );
start_timer_nodelay ( &tftp->timer );
/* Attach to parent interface, mortalise self, and return */
xfer_plug_plug ( &tftp->xfer, xfer );