From 4d8868425004956946425f8f68a0b350c3919402 Mon Sep 17 00:00:00 2001 From: Joshua Wise Date: Tue, 11 Nov 2008 00:05:07 -0500 Subject: [PATCH 1/1] Tweak MSS up. --- lwip/src/include/lwipopts.h | 1 + net/http/fsdata.c | 4 +- net/http/httpd.c | 2 + net/net.c | 76 ++++++++++++++++++------------------- 4 files changed, 43 insertions(+), 40 deletions(-) diff --git a/lwip/src/include/lwipopts.h b/lwip/src/include/lwipopts.h index c2ef625..0b9ebbe 100644 --- a/lwip/src/include/lwipopts.h +++ b/lwip/src/include/lwipopts.h @@ -13,5 +13,6 @@ #define MEM_SIZE 65536 #define TCP_SND_BUF 2048 +#define TCP_MSS 2048 #endif diff --git a/net/http/fsdata.c b/net/http/fsdata.c index 7195a70..7e70023 100644 --- a/net/http/fsdata.c +++ b/net/http/fsdata.c @@ -4,8 +4,8 @@ static const unsigned char data_404_html[] = ""; static const unsigned char data_index_html[] = - "NetWatch!" - "

NetWatch!