aboutsummaryrefslogtreecommitdiff
path: root/internal/nametransform/longnames.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2016-12-10 20:41:40 +0100
committerJakob Unterwurzacher2016-12-10 20:43:08 +0100
commit12374be9c51b0298c85751e4652fe4e852c85546 (patch)
treec1db2661518d8d67ce10839bb0cf672eecb7da07 /internal/nametransform/longnames.go
parent8945f4db95ec75dd1f9de763ae249d9e433d3732 (diff)
ctlsock: abort the connection if the request is too big
Reading partial JSON would cause a mess. Just kill the connection. Also, stop using syscall.PathMax that is not defined on Darwin ( https://github.com/rfjakob/gocryptfs/issues/15#issuecomment-264253024 )
Diffstat (limited to 'internal/nametransform/longnames.go')
0 files changed, 0 insertions, 0 deletions