Skip to content

Commit 54c6797

Browse files
docs: update the default value of maxHttpBufferSize
Following 734f9d1
1 parent 1916d3a commit 54c6797

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ to a single process.
227227
- `upgradeTimeout` (`Number`): how many ms before an uncompleted transport upgrade is cancelled (`10000`)
228228
- `maxHttpBufferSize` (`Number`): how many bytes or characters a message
229229
can be, before closing the session (to avoid DoS). Default
230-
value is `10E7`.
230+
value is `1E6`.
231231
- `allowRequest` (`Function`): A function that receives a given handshake
232232
or upgrade request as its first parameter, and can decide whether to
233233
continue or not. The second argument is a function that needs to be

0 commit comments

Comments
 (0)