From dec4c2d3c3928777a0e3e3f42ce24cec5f0483c4 Mon Sep 17 00:00:00 2001 From: Justin Karneges Date: Mon, 2 Dec 2024 15:48:23 -0800 Subject: [PATCH] correctly read push_in_http_max_{headers,body}_size fields --- src/handler/handlerapp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/handler/handlerapp.cpp b/src/handler/handlerapp.cpp index 6982fc75..e2152257 100644 --- a/src/handler/handlerapp.cpp +++ b/src/handler/handlerapp.cpp @@ -316,8 +316,8 @@ class HandlerApp::Private : public QObject bool push_in_sub_connect = settings.value("handler/push_in_sub_connect").toBool(); QString push_in_http_addr = settings.value("handler/push_in_http_addr").toString(); int push_in_http_port = settings.adjustedPort("handler/push_in_http_port"); - int push_in_http_max_headers_size = settings.value("handler/push_in_max_headers_size", DEFAULT_HTTP_MAX_HEADERS_SIZE).toInt(); - int push_in_http_max_body_size = settings.value("handler/push_in_max_body_size", DEFAULT_HTTP_MAX_BODY_SIZE).toInt(); + int push_in_http_max_headers_size = settings.value("handler/push_in_http_max_headers_size", DEFAULT_HTTP_MAX_HEADERS_SIZE).toInt(); + int push_in_http_max_body_size = settings.value("handler/push_in_http_max_body_size", DEFAULT_HTTP_MAX_BODY_SIZE).toInt(); bool ok; int ipcFileMode = settings.value("handler/ipc_file_mode", -1).toString().toInt(&ok, 8); bool shareAll = settings.value("handler/share_all").toBool();