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.
This commit is contained in:
Dean Camera 2010-02-07 10:46:02 +00:00
parent 196724c62d
commit 1fdc0e664e
6 changed files with 19 additions and 16 deletions

View file

@ -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;

View file

@ -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 */

View file

@ -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;