make-http-max-header-size-gyp-configurable
Matteo Collina 6 years ago
parent a0d4cd119e
commit 1ee68c071c

@ -60,7 +60,10 @@
'defines': [ 'HTTP_PARSER_STRICT=0' ], 'defines': [ 'HTTP_PARSER_STRICT=0' ],
'include_dirs': [ '.' ], 'include_dirs': [ '.' ],
}, },
'defines': [ 'HTTP_MAX_HEADER_SIZE=<(http_max_header_size)', 'HTTP_PARSER_STRICT=0' ], 'defines': [
'HTTP_MAX_HEADER_SIZE=<(http_max_header_size)',
'HTTP_PARSER_STRICT=0'
],
'sources': [ './http_parser.c', ], 'sources': [ './http_parser.c', ],
'conditions': [ 'conditions': [
['OS=="win"', { ['OS=="win"', {
@ -83,7 +86,10 @@
'defines': [ 'HTTP_PARSER_STRICT=1' ], 'defines': [ 'HTTP_PARSER_STRICT=1' ],
'include_dirs': [ '.' ], 'include_dirs': [ '.' ],
}, },
'defines': [ 'HTTP_MAX_HEADER_SIZE=<(http_max_header_size)', 'HTTP_PARSER_STRICT=1' ], 'defines': [
'HTTP_MAX_HEADER_SIZE=<(http_max_header_size)',
'HTTP_PARSER_STRICT=1'
],
'sources': [ './http_parser.c', ], 'sources': [ './http_parser.c', ],
'conditions': [ 'conditions': [
['OS=="win"', { ['OS=="win"', {

Loading…
Cancel
Save