diff options
author | Michael Brown | 2007-08-13 20:03:33 +0200 |
---|---|---|
committer | Michael Brown | 2007-08-13 20:03:33 +0200 |
commit | 2ff1b1245bf95a718ab6f7404cf504b06a37b30b (patch) | |
tree | 75dd35bd894296495871488ec9a48a5283469329 /src/net/tcp.c | |
parent | Add start_timer_nodelay() (diff) | |
download | ipxe-2ff1b1245bf95a718ab6f7404cf504b06a37b30b.tar.gz ipxe-2ff1b1245bf95a718ab6f7404cf504b06a37b30b.tar.xz ipxe-2ff1b1245bf95a718ab6f7404cf504b06a37b30b.zip |
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.
Diffstat (limited to 'src/net/tcp.c')
-rw-r--r-- | src/net/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/tcp.c b/src/net/tcp.c index 01daf75a..28cf95fb 100644 --- a/src/net/tcp.c +++ b/src/net/tcp.c @@ -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 |