mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-21 19:51:50 +00:00
MAX_PATH_SIZE -> MG_MAX_PATH
PUBLISHED_FROM=32bda9e86a11cad3b908d211a1f7bc9d27312874
This commit is contained in:
1 parent
27094896b1
commit
474e065a30
2 files changed
+22
-26
No files matched your search
+6
-10
@@ -3891,8 +3891,12 @@ int mg_normalize_uri_path(const struct mg_str *in, struct mg_str *out);
|
||||
extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#ifndef MAX_PATH_SIZE
|
||||
#define MAX_PATH_SIZE 500
|
||||
#ifndef MG_MAX_PATH
|
||||
#ifdef PATH_MAX
|
||||
#define MG_MAX_PATH PATH_MAX
|
||||
#else
|
||||
#define MG_MAX_PATH 256
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/*
|
||||
@@ -4123,14 +4127,6 @@ extern "C" {
|
||||
#define MG_MAX_HTTP_REQUEST_SIZE 1024
|
||||
#endif
|
||||
|
||||
#ifndef MG_MAX_PATH
|
||||
#ifdef PATH_MAX
|
||||
#define MG_MAX_PATH PATH_MAX
|
||||
#else
|
||||
#define MG_MAX_PATH 256
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef MG_MAX_HTTP_SEND_MBUF
|
||||
#define MG_MAX_HTTP_SEND_MBUF 1024
|
||||
#endif
|
||||
|
||||
Reference in new issue
Block a user