Changed default socket options to 2mb

This commit is contained in:
Robinson 2022-07-16 10:25:37 -04:00
parent 440512aedc
commit 00b426fa18
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -431,7 +431,7 @@ open class Configuration {
*
* A value of 0 will 'auto-configure' this setting
*/
var sendBufferSize = 0
var sendBufferSize = 2097152
set(value) {
require(!contextDefined) { errorMessage }
field = value
@ -448,7 +448,7 @@ open class Configuration {
*
* A value of 0 will 'auto-configure' this setting.
*/
var receiveBufferSize = 0
var receiveBufferSize = 2097152
set(value) {
require(!contextDefined) { errorMessage }
field = value