Initial Commit

This commit is contained in:
JonatanRek committed 2020-08-10 14:35:19 +02:00
commit 452829f0e1
3410 files changed
+523857

No files matched your search

+14
View File
@@ -0,0 +1,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');
// ...
```