diff options
author | Jakob Unterwurzacher | 2016-12-10 20:41:40 +0100 |
---|---|---|
committer | Jakob Unterwurzacher | 2016-12-10 20:43:08 +0100 |
commit | 12374be9c51b0298c85751e4652fe4e852c85546 (patch) | |
tree | c1db2661518d8d67ce10839bb0cf672eecb7da07 /tests/example_filesystems/v0.6/RuYvQG_raW_-H_LcyJC4LQ== | |
parent | 8945f4db95ec75dd1f9de763ae249d9e433d3732 (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 'tests/example_filesystems/v0.6/RuYvQG_raW_-H_LcyJC4LQ==')
0 files changed, 0 insertions, 0 deletions