Blame view

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