Move DHCP negotiation timer into the DHCP connection application state structure, so that each connection gets its own timeout counter (only one connection currently used, but this way is more correct). Add const correctness to static data in the TELNETServerApp.c and HTTPServerApp.c files.
This commit is contained in:
parent
41ef05a6e5
commit
8154331da6
10 changed files with 54 additions and 52 deletions
|
@ -61,8 +61,8 @@
|
|||
/** Type define for a MIME type handler. */
|
||||
typedef struct
|
||||
{
|
||||
char Extension[4]; /**< 3 or less character file extension */
|
||||
char MIMEType[30]; /**< Appropriate MIME type to send when the extension is encountered */
|
||||
char* Extension; /**< File extension (no leading '.' character) */
|
||||
char* MIMEType; /**< Appropriate MIME type to send when the extension is encountered */
|
||||
} MIME_Type_t;
|
||||
|
||||
/* Macros: */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue