You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Issue description
TCP Gets Shutdown abruptly when multipart with relatively huge size file is passed with default Fiber Settings on server side.
Steps to reproduce:
Run the snippet below
Send a multipart with relatively huge file as payload
I noticed that when you send a file let's say 20-30mb in multipart from Postman you get an ECONNRESET error instead of the "Entity Too Large" Response .
I was puzzled with this issue as I forgot to increase the body limit in Go Fiber App Settings , however thanks to @renanbastos93 for helping me out in the discord channel.
Real Issue :
On Further Investigation , i found out native fasthttp behaves the same , but informs us in the terminal about the abrupt connection reset which the GoFiber Logger Middleware doesn't . Would be really helpful if this is added in logger to make it easier to debug.
additionally we found out that the postman problem is time related, if we include a small delay in the output within fasthttp, postman can read the answer correctly
Fiber version 1.14.4 running on Go1.14.6
Issue description
TCP Gets Shutdown abruptly when multipart with relatively huge size file is passed with default Fiber Settings on server side.
Steps to reproduce:
I noticed that when you send a file let's say 20-30mb in multipart from Postman you get an ECONNRESET error instead of the "Entity Too Large" Response .
I was puzzled with this issue as I forgot to increase the body limit in Go Fiber App Settings , however thanks to @renanbastos93 for helping me out in the discord channel.
Real Issue :
On Further Investigation , i found out native fasthttp behaves the same , but informs us in the terminal about the abrupt connection reset which the GoFiber Logger Middleware doesn't . Would be really helpful if this is added in logger to make it easier to debug.
Code snippet
The text was updated successfully, but these errors were encountered: