From 2bdd0ec802611101969a7b59c3bb7a7a1be64e9d Mon Sep 17 00:00:00 2001 From: Jakob Unterwurzacher Date: Sun, 29 Jan 2017 19:01:16 +0100 Subject: golint comment fix internal/ctlsock/ctlsock_serve.go:73:1: comment on exported const ReadBufSize should be of the form "ReadBufSize ..." --- internal/ctlsock/ctlsock_serve.go | 1 + 1 file changed, 1 insertion(+) (limited to 'internal/ctlsock') diff --git a/internal/ctlsock/ctlsock_serve.go b/internal/ctlsock/ctlsock_serve.go index 51f1de4..d1c0090 100644 --- a/internal/ctlsock/ctlsock_serve.go +++ b/internal/ctlsock/ctlsock_serve.go @@ -70,6 +70,7 @@ func (ch *ctlSockHandler) acceptLoop() { } } +// ReadBufSize is the size of the request read buffer. // The longest possible path is 4096 bytes on Linux and 1024 on Mac OS X so // 5000 bytes should be enough to hold the whole JSON request. This // assumes that the path does not contain too many characters that had to be -- cgit v1.2.3