From b94bfb3b766f6337bb70805d6c33fb69c613803f Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Tue, 27 Apr 2021 14:34:02 +0300 Subject: [PATCH] app: drop FIXME comment We've made long way since a428a0b1b3dd49f4bb5cd7f04d4b1b0017327c2d and it's just no longer relevant, the fix is there in fasthttp version we use and streaming works fine. --- app.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/app.go b/app.go index d3de2f2..5c352e9 100644 --- a/app.go +++ b/app.go @@ -82,9 +82,6 @@ func newApp(ctx context.Context, opt ...Option) App { a.webServer.NoDefaultServerHeader = true a.webServer.NoDefaultContentType = true a.webServer.MaxRequestBodySize = a.cfg.GetInt(cfgWebMaxRequestBodySize) - // -- -- -- -- -- -- FIXME -- -- -- -- -- -- - // Does not work with StreamRequestBody due to bugs with - // readMultipartForm, see https://github.com/valyala/fasthttp/issues/968 a.webServer.DisablePreParseMultipartForm = true a.webServer.StreamRequestBody = a.cfg.GetBool(cfgWebStreamRequestBody) // -- -- -- -- -- -- -- -- -- -- -- -- -- --