mirror of
https://github.com/cesanta/mongoose.git
synced 2026-10-22 11:36:21 +00:00
Change MG_MAX_RECV_BUF_SIZE -> MG_MAX_RECV_SIZE
This commit is contained in:
1 parent
73a5ff1fb6
commit
a88ea776a9
8 files changed
+12
-12
No files matched your search
@@ -10,9 +10,9 @@
|
||||
// ///////////////// IMPORTANT //////////////////////////
|
||||
//
|
||||
// Mongoose has a limit on input buffer, which also limits maximum upload size.
|
||||
// It is controlled by the MG_MAX_RECV_BUF_SIZE constant, which is set by
|
||||
// It is controlled by the MG_MAX_RECV_SIZE constant, which is set by
|
||||
// default to (3 * 1024 * 1024), i.e. 3 megabytes.
|
||||
// Use -DMG_MAX_RECV_BUF_SIZE=NEW_LIMIT to override it.
|
||||
// Use -DMG_MAX_BUF_SIZE=NEW_LIMIT to override it.
|
||||
//
|
||||
// Also, consider changing -DMG_IO_SIZE=SOME_BIG_VALUE to increase IO buffer
|
||||
// increment when reading data.
|
||||
|
||||
Reference in new issue
Block a user