From 352840c0ea953571eb41e41dc3ea306ee2d804a4 Mon Sep 17 00:00:00 2001 From: Ashod Nakashian Date: Thu, 22 Apr 2021 00:40:55 -0400 Subject: [PATCH] wsd: http: larger 64kb upload-file read buffer Change-Id: Ie9a0e6f76425d796979dbc77eecf1b05993b834d Signed-off-by: Ashod Nakashian (cherry picked from commit 34f629c6adc5bb6eb93fd8c813d72ee923d09a05) --- net/HttpRequest.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/HttpRequest.hpp b/net/HttpRequest.hpp index 10350a6ee..6fb1d698f 100644 --- a/net/HttpRequest.hpp +++ b/net/HttpRequest.hpp @@ -529,7 +529,7 @@ public: // Get the data to write into the socket // from the client's callback. This is // used to upload files, or other data. - char buffer[16 * 1024]; + char buffer[64 * 1024]; std::size_t wrote = 0; do {