diff --git a/Sources/NIOPosix/Socket.swift b/Sources/NIOPosix/Socket.swift index b8434d62e99..6ae3de3c568 100644 --- a/Sources/NIOPosix/Socket.swift +++ b/Sources/NIOPosix/Socket.swift @@ -23,7 +23,7 @@ class Socket: BaseSocket, SocketProtocol { typealias SocketType = Socket /// The maximum number of bytes to write per `writev` call. - static var writevLimitBytes = Int(Int32.max) + static let writevLimitBytes = Int(Int32.max) /// The maximum number of `IOVector`s to write per `writev` call. static let writevLimitIOVectors: Int = Posix.UIO_MAXIOV