You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/basic-config.asciidoc
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -259,6 +259,14 @@ _Default:_ `false`
259
259
|`string` - If configured, verify that the fingerprint of the CA certificate that has signed the certificate of the server matches the supplied fingerprint. Only accepts SHA256 digest fingerprints. +
260
260
_Default:_ `null`
261
261
262
+
|`maxResponseSize`
263
+
|`number` - When configured, it verifies that the uncompressed response size is lower than the configured number, if it's higher it will abort the request. It cannot be higher than buffer.constants.MAX_STRING_LENTGH +
264
+
_Default:_ `null`
265
+
266
+
|`maxCompressedResponseSize`
267
+
|`number` - When configured, it verifies that the compressed response size is lower than the configured number, if it's higher it will abort the request. It cannot be higher than buffer.constants.MAX_LENTGH +
Copy file name to clipboardExpand all lines: docs/connecting.asciidoc
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -418,6 +418,15 @@ _Default:_ `null`
418
418
|`context`
419
419
|`any` - Custom object per request. _(you can use it to pass data to the clients events)_ +
420
420
_Default:_ `null`
421
+
422
+
|`maxResponseSize`
423
+
|`number` - When configured, it verifies that the uncompressed response size is lower than the configured number, if it's higher it will abort the request. It cannot be higher than buffer.constants.MAX_STRING_LENTGH +
424
+
_Default:_ `null`
425
+
426
+
|`maxCompressedResponseSize`
427
+
|`number` - When configured, it verifies that the compressed response size is lower than the configured number, if it's higher it will abort the request. It cannot be higher than buffer.constants.MAX_LENTGH +
0 commit comments