mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2026-10-17 10:59:39 +00:00
fix: increase default receive buffer to 16kb (#1814)
Since TLS packets have a maximum size of 16kb it makes sense to fully accommodate them on reads. Co-authored-by: Rusty Conover <rusty@Juno.local>
This commit is contained in:
1 parent
f44ab9b3da
commit
00bdf73ec6
1 file changed
+1
-1
@@ -91,7 +91,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CPPHTTPLIB_RECV_BUFSIZ
|
#ifndef CPPHTTPLIB_RECV_BUFSIZ
|
||||||
#define CPPHTTPLIB_RECV_BUFSIZ size_t(4096u)
|
#define CPPHTTPLIB_RECV_BUFSIZ size_t(16384u)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CPPHTTPLIB_COMPRESSION_BUFSIZ
|
#ifndef CPPHTTPLIB_COMPRESSION_BUFSIZ
|
||||||
|
|||||||
Reference in new issue
Block a user