app: drop FIXME comment
We've made long way since a428a0b1b3
and it's
just no longer relevant, the fix is there in fasthttp version we use and
streaming works fine.
This commit is contained in:
parent
464a0134bd
commit
b94bfb3b76
1 changed files with 0 additions and 3 deletions
3
app.go
3
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)
|
||||
// -- -- -- -- -- -- -- -- -- -- -- -- -- --
|
||||
|
|
Loading…
Reference in a new issue