From c71754eba29360e75e1cb008736785418cfc74b5 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 3 Jun 2020 02:41:49 +0000 Subject: [PATCH] ipn/ipnserver: revert decoder memory limit. The zstd library treats that limit as a hard cap on decompressed size, in the mode we're using it, rather than a window size. Signed-off-by: David Anderson --- ipn/ipnserver/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ipn/ipnserver/server.go b/ipn/ipnserver/server.go index d3a6c7d78..17efde19d 100644 --- a/ipn/ipnserver/server.go +++ b/ipn/ipnserver/server.go @@ -116,7 +116,6 @@ func Run(rctx context.Context, logf logger.Logf, logid string, opts Options, e w return zstd.NewReader(nil, zstd.WithDecoderLowmem(true), zstd.WithDecoderConcurrency(1), - zstd.WithDecoderMaxMemory(65536), ) })