aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-01-29 19:01:16 +0100
committerJakob Unterwurzacher2017-01-29 19:01:16 +0100
commit2bdd0ec802611101969a7b59c3bb7a7a1be64e9d (patch)
treed2f80bdd1d087ca91bc46f2e387eef212e7c4b6d
parentc8fb6199715316099cb9e675c447612f70e44151 (diff)
golint comment fix
internal/ctlsock/ctlsock_serve.go:73:1: comment on exported const ReadBufSize should be of the form "ReadBufSize ..."
-rw-r--r--internal/ctlsock/ctlsock_serve.go1
1 files changed, 1 insertions, 0 deletions
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