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
POST requests that are done via undici throws "headers timeout error", when requesting simple golang server built on top of fasthttp lib (https://github.com/valyala/fasthttp), it does work with Postman and got client
Bug Description
POST requests that are done via undici throws "headers timeout error", when requesting simple golang server built on top of fasthttp lib (https://github.com/valyala/fasthttp), it does work with Postman and got client
Reproducible By
Go Server
undici request
will fail with
Expected Behavior
Resolve and get the response as other clients
Environment
Node
v14.16.1
OS
20.4.0 Darwin Kernel Version 20.4.0: Thu Apr 22 21:46:47 PDT 2021; root:xnu-7195.101.2~1/RELEASE_X86_64 x86_64
Undici: 4.0.0
Additional context
Get requests work as expected
I do see Post requests arrive to the server, but looks like undici can not get the response
This is not actual timeout issue, Postman and got finishes this request in about ~3ms
undici waits couple of seconds before the error is thrown
The text was updated successfully, but these errors were encountered: