Skip to content

Commit 4030c38

Browse files
ShogunPandajuanarbol
authored andcommitted
http: disable chunked encoding when OBS fold is used
Reviewed-By: Matteo Collina <[email protected]> Reviewed-By: Rafael Gonzaga <[email protected]> Reviewed-By: Vladimir de Turckheim <[email protected]> PR-URL: #341 CVE-ID: CVE-2022-32213, CVE-2022-32215, CVE-2022-35256
1 parent 06495e7 commit 4030c38

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

deps/llhttp/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.5.1)
22
cmake_policy(SET CMP0069 NEW)
33

4-
project(llhttp VERSION 6.0.9)
4+
project(llhttp VERSION 6.0.10)
55
include(GNUInstallDirs)
66

77
set(CMAKE_C_STANDARD 99)

deps/llhttp/include/llhttp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#define LLHTTP_VERSION_MAJOR 6
55
#define LLHTTP_VERSION_MINOR 0
6-
#define LLHTTP_VERSION_PATCH 9
6+
#define LLHTTP_VERSION_PATCH 10
77

88
#ifndef LLHTTP_STRICT_MODE
99
# define LLHTTP_STRICT_MODE 0

test/parallel/test-http-transfer-encoding-smuggling.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const net = require('net');
3636
// Verify that the server listener is never called
3737

3838
client.on('data', common.mustCall((chunk) => {
39-
response += chunk.toString('utf-8');
39+
response += chunk;
4040
}));
4141

4242
client.setEncoding('utf8');

0 commit comments

Comments
 (0)