diff options
Diffstat (limited to 'src/constants.go')
-rw-r--r-- | src/constants.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/constants.go b/src/constants.go index 0384741..6b0d414 100644 --- a/src/constants.go +++ b/src/constants.go @@ -29,6 +29,6 @@ const ( QueueInboundSize = 1024 QueueHandshakeSize = 1024 QueueHandshakeBusySize = QueueHandshakeSize / 8 - MinMessageSize = MessageTransportSize // keep-alive - MaxMessageSize = 4096 // TODO: make depend on the MTU? + MinMessageSize = MessageTransportSize // size of keep-alive + MaxMessageSize = (1 << 16) - 1 ) |