aboutsummaryrefslogtreecommitdiff
path: root/internal/contentenc/bpool.go
diff options
context:
space:
mode:
authorJakob Unterwurzacher2017-10-21 18:06:55 +0200
committerJakob Unterwurzacher2017-10-21 18:06:55 +0200
commit4954c87979efaf5b8184efccc7d9a38c21e4209b (patch)
tree88dd50522544cce6da9ad86f1d4413317790a117 /internal/contentenc/bpool.go
parent268e0484e24c3ecf9ec8df189a18cbbf36f81d1a (diff)
Always set "max_read" kernel option
We use fixed-size byte slice pools (sync.Pool) and cannot handle larger requests. So ask the kernel to not send bigger ones. Fixes https://github.com/rfjakob/gocryptfs/issues/145
Diffstat (limited to 'internal/contentenc/bpool.go')
0 files changed, 0 insertions, 0 deletions