mirror of
https://github.com/ipxe/ipxe
synced 2025-12-18 02:20:19 +03:00
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:
@@ -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 );
|
||||
|
||||
Reference in New Issue
Block a user