File tree 5 files changed +456
-420
lines changed
5 files changed +456
-420
lines changed Original file line number Diff line number Diff line change 1
1
cmake_minimum_required (VERSION 3.5.1)
2
2
cmake_policy (SET CMP0069 NEW)
3
3
4
- project (llhttp VERSION 6.1.0 )
4
+ project (llhttp VERSION 6.1.1 )
5
5
include (GNUInstallDirs)
6
6
7
7
set (CMAKE_C_STANDARD 99)
Original file line number Diff line number Diff line change 3
3
4
4
#define LLHTTP_VERSION_MAJOR 6
5
5
#define LLHTTP_VERSION_MINOR 1
6
- #define LLHTTP_VERSION_PATCH 0
6
+ #define LLHTTP_VERSION_PATCH 1
7
7
8
8
#ifndef LLHTTP_STRICT_MODE
9
9
# define LLHTTP_STRICT_MODE 0
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -46,7 +46,8 @@ const server = net.createServer(function(conn) {
46
46
server . listen ( 0 , common . mustCall ( function ( ) {
47
47
http . get ( {
48
48
host : '127.0.0.1' ,
49
- port : this . address ( ) . port
49
+ port : this . address ( ) . port ,
50
+ insecureHTTPParser : true
50
51
} , common . mustCall ( function ( res ) {
51
52
assert . strictEqual ( res . headers [ 'content-type' ] ,
52
53
'text/plain; x-unix-mode=0600; name="hello.txt"' ) ;
Original file line number Diff line number Diff line change @@ -71,10 +71,7 @@ const net = require('net');
71
71
'' ,
72
72
] . join ( '\r\n' ) ;
73
73
74
- const server = http . createServer ( common . mustCall ( ( request , response ) => {
75
- assert . notStrictEqual ( request . url , '/admin' ) ;
76
- response . end ( 'hello world' ) ;
77
- } ) , 1 ) ;
74
+ const server = http . createServer ( common . mustNotCall ( ) ) ;
78
75
79
76
server . listen ( 0 , common . mustSucceed ( ( ) => {
80
77
const client = net . connect ( server . address ( ) . port , 'localhost' ) ;
You can’t perform that action at this time.
0 commit comments