Skip to content

Commit

Permalink
http: disable chunked encoding when OBS fold is used
Browse files Browse the repository at this point in the history
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com>
PR-URL: #341
CVE-ID: CVE-2022-32213, CVE-2022-32215, CVE-2022-35256
  • Loading branch information
ShogunPanda authored and juanarbol committed Oct 11, 2022
1 parent 3872abd commit 2cee039
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion deps/llhttp/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.5.1)
cmake_policy(SET CMP0069 NEW)

project(llhttp VERSION 6.0.9)
project(llhttp VERSION 6.0.10)
include(GNUInstallDirs)

set(CMAKE_C_STANDARD 99)
Expand Down
2 changes: 1 addition & 1 deletion deps/llhttp/include/llhttp.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#define LLHTTP_VERSION_MAJOR 6
#define LLHTTP_VERSION_MINOR 0
#define LLHTTP_VERSION_PATCH 9
#define LLHTTP_VERSION_PATCH 10

#ifndef LLHTTP_STRICT_MODE
# define LLHTTP_STRICT_MODE 0
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-http-transfer-encoding-smuggling.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const net = require('net');
// Verify that the server listener is never called

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

client.setEncoding('utf8');
Expand Down

0 comments on commit 2cee039

Please sign in to comment.