aswi2020vldc-gitlab/templetes/node_modules/http-parser-js/CHANGELOG.md @ 143404cb
1 | 3a515b92 | cagy | # HTTP Parser
|
---|---|---|---|
2 | |||
3 | ## 0.4.4
|
||
4 | |||
5 | Made 'maxHeaderSize' configurable. |
||
6 | |||
7 | ```js |
||
8 | // Monkey patch before you require http for the first time.
|
||
9 | process.binding('http_parser').HTTPParser = require('http-parser-js').HTTPParser; |
||
10 | require('http-parser-js').HTTPParser.maxHeaderSize = 1024 * 1024; // 1MB instead of 80kb |
||
11 | |||
12 | var http = require('http'); |
||
13 | // ...
|
||
14 | ```
|