aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Übelacker <bernhardu@vr-web.de>2014-06-21 15:26:05 +0200
committerMichael Tokarev <mjt@tls.msk.ru>2014-06-24 20:01:24 +0400
commit646bfd53809fa8e8b818576c3e7a5d7b777151d4 (patch)
treeeb61aabade65bc4317b77bfd2aeb97d1279f7ff5
parentf55d9192c30de4984c0a2b0882addf7bdecb2745 (diff)
downloadslirp-646bfd53809fa8e8b818576c3e7a5d7b777151d4.zip
slirp-646bfd53809fa8e8b818576c3e7a5d7b777151d4.tar.gz
slirp-646bfd53809fa8e8b818576c3e7a5d7b777151d4.tar.bz2
Increase maximum number of session of the internal TFTP server.v2.1.1v2.1.0-rc5v2.1.0-rc4v2.1.0-rc3v2.1.0-rc2v2.1.0-rc1v2.1.0-rc0v2.1.0
Grub fails to boot from internal TFTP server when loading more than 3 initrd files. Grub first opens a session to the TFTP server for every initrd file and retrieves only the file size for all. Then it wants to download the content using the old sessions which are already expired. Increasing the maximum number of session of the internal TFTP server avoids this issue. The error message reads as following: error: timeout reading `/boot/ISO.ROOT/BOOTMGR'. Press any key to continue... Signed-off-by: Bernhard Übelacker <bernhardu@vr-web.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
-rw-r--r--tftp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tftp.h b/tftp.h
index d191e61..cdba60b 100644
--- a/tftp.h
+++ b/tftp.h
@@ -2,7 +2,7 @@
#ifndef SLIRP_TFTP_H
#define SLIRP_TFTP_H 1
-#define TFTP_SESSIONS_MAX 3
+#define TFTP_SESSIONS_MAX 20
#define TFTP_SERVER 69