diff options
author | Bernhard Übelacker <bernhardu@vr-web.de> | 2014-06-21 15:26:05 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2014-06-24 20:01:24 +0400 |
commit | 5f22b054f2594e231b042ada24d2fdfaa9c26d52 (patch) | |
tree | 93186687ba110e3b5c7ef5bd504cda33235f6cd4 /slirp/tftp.h | |
parent | 55818ad8126c2dd3de690b051c88e496bcf6ce09 (diff) |
Increase maximum number of session of the internal TFTP server.
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>
Diffstat (limited to 'slirp/tftp.h')
-rw-r--r-- | slirp/tftp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/slirp/tftp.h b/slirp/tftp.h index 87adeb5333..e1cc24b9bf 100644 --- a/slirp/tftp.h +++ b/slirp/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 |