From 24a33a43436bcc8430c5c1e6707dedc8c2531171 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Sat, 15 Nov 2014 13:13:23 -0600 Subject: Network: All logic will now handle varialbe length link layer protocol headers within incoming packets. This permits use of multiple network interfaces with differing data links. For example, ETHERNET + SLIP --- apps/include/netutils/httpd.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'apps/include/netutils/httpd.h') diff --git a/apps/include/netutils/httpd.h b/apps/include/netutils/httpd.h index d5a9b21c4..1ae9b7c1e 100644 --- a/apps/include/netutils/httpd.h +++ b/apps/include/netutils/httpd.h @@ -77,9 +77,14 @@ /* For efficiency reasons, the size of the IO buffer should be a multiple * of the TCP MSS value. Also, the current design requires that the IO * buffer be sufficiently large to contain the entire GET request. + * + * In the case where there are multiple network devices with different + * link layer protocols (CONFIG_NET_MULTILINK), each network device + * may support a different TCP MSS value. Here we arbitrarily select + * the minimum MSS for that case. */ -#define HTTPD_IOBUFFER_SIZE (3*TCP_MSS) +#define HTTPD_IOBUFFER_SIZE (3*MIN_TCP_MSS) /* This is the maximum size of a file path */ -- cgit v1.2.3