From 6b984d5a133777cc7111d44d4b7538ff4eb8f2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Tue, 23 Jun 2026 09:16:28 +0400 Subject: [PATCH] v1.0.140: larger chunks 20KB to reduce TLS overhead --- deploy/convert_server.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/convert_server.py b/deploy/convert_server.py index 378a41f..2026491 100755 --- a/deploy/convert_server.py +++ b/deploy/convert_server.py @@ -310,8 +310,8 @@ class Handler(BaseHTTPRequestHandler): self._send_error_cors(400, "no file in request") return - # Режем на чанки (Lucee сбрасывает HTTP/2 стрим — новый клиент на каждый) - CHUNK = 12000 + # Режем на чанки (новый HTTP/2 connection на каждый — Lucee сбрасывает стрим) + CHUNK = 20000 upload_id = str(uuid.uuid4()) raw = file_data total = (len(raw) + CHUNK - 1) // CHUNK