From 1fdc0e664e74b7f89c199e3c2852c24dd33b8bd3 Mon Sep 17 00:00:00 2001 From: Dean Camera Date: Sun, 7 Feb 2010 10:46:02 +0000 Subject: Make Webserver allow HTTP requests for files with up to 50 characters in the path instead of 30, to be in synch with the project documentation. Change Webserver project's ENABLE_DHCP compile time option to ENABLE_DHCP_CLIENT to more accurately indicate its function. --- Projects/Webserver/Lib/DHCPClientApp.c | 2 +- Projects/Webserver/Lib/uIPManagement.c | 2 +- Projects/Webserver/Lib/uip/uipopt.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Projects/Webserver/Lib') diff --git a/Projects/Webserver/Lib/DHCPClientApp.c b/Projects/Webserver/Lib/DHCPClientApp.c index 64cd70709..2097062f8 100644 --- a/Projects/Webserver/Lib/DHCPClientApp.c +++ b/Projects/Webserver/Lib/DHCPClientApp.c @@ -36,7 +36,7 @@ #include "DHCPClientApp.h" -#if defined(ENABLE_DHCP) || defined(__DOXYGEN__) +#if defined(ENABLE_DHCP_CLIENT) || defined(__DOXYGEN__) /** Timer for managing the timeout period for a DHCP server to respond */ struct timer DHCPTimer; diff --git a/Projects/Webserver/Lib/uIPManagement.c b/Projects/Webserver/Lib/uIPManagement.c index c7773c455..ba2a505e9 100644 --- a/Projects/Webserver/Lib/uIPManagement.c +++ b/Projects/Webserver/Lib/uIPManagement.c @@ -212,7 +212,7 @@ static void uIPManagement_ManageConnections(void) } } - #if defined(ENABLE_DHCP) + #if defined(ENABLE_DHCP_CLIENT) for (uint8_t i = 0; i < UIP_UDP_CONNS; i++) { /* Run periodic connection management for each UDP connection */ diff --git a/Projects/Webserver/Lib/uip/uipopt.h b/Projects/Webserver/Lib/uip/uipopt.h index c8b3ad59e..c8d0cd202 100644 --- a/Projects/Webserver/Lib/uip/uipopt.h +++ b/Projects/Webserver/Lib/uip/uipopt.h @@ -689,7 +689,7 @@ typedef union uint8_t CurrentState; uint8_t NextState; - char FileName[30]; + char FileName[50]; FIL FileHandle; bool FileOpen; uint32_t ACKedFilePos; -- cgit v1.2.3