mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-26 21:14:09 +00:00
httpd: Use newly created LWIP_VERSION_STRING
This commit is contained in:
parent
05961a27cf
commit
4a6c444a17
@ -79,6 +79,7 @@
|
||||
* about an unknown extension, make sure to add it (and its doctype) to
|
||||
* the 'g_psHTTPHeaders' list.
|
||||
*/
|
||||
#include "lwip/init.h"
|
||||
#include "lwip/apps/httpd.h"
|
||||
#include "lwip/debug.h"
|
||||
#include "lwip/stats.h"
|
||||
|
@ -108,6 +108,7 @@ int deflate_level = 10; /* default compression level, can be changed via command
|
||||
/* define this to get the header variables we use to build HTTP headers */
|
||||
#define LWIP_HTTPD_DYNAMIC_HEADERS 1
|
||||
#define LWIP_HTTPD_SSI 1
|
||||
#include "lwip/init.h"
|
||||
#include "../httpd_structs.h"
|
||||
#include "lwip/apps/fs.h"
|
||||
|
||||
|
@ -87,7 +87,7 @@
|
||||
|
||||
/** This string is passed in the HTTP header as "Server: " */
|
||||
#ifndef HTTPD_SERVER_AGENT
|
||||
#define HTTPD_SERVER_AGENT "lwIP/1.3.1 (http://savannah.nongnu.org/projects/lwip)"
|
||||
#define HTTPD_SERVER_AGENT "lwIP/"LWIP_VERSION_STRING" (http://savannah.nongnu.org/projects/lwip)"
|
||||
#endif
|
||||
|
||||
/** Set this to 1 if you want to include code that creates HTTP headers
|
||||
|
Loading…
Reference in New Issue
Block a user