net/http: request canceled (Client.Timeout exceeded while awaiting headers) why/what to do with this?
TL:DR - Look at edit 2 for a C# equivalent of code http client code, resulting in ~same issue, so Go http.Client is not the real problem, but C# Web API once deployed to Azure... I'm getting very bad performance from a C# Web API once deployed to Azure Web App [2x Standard S3]. At first I was asking re: Go's http.Client timeout, but writing a similar client in C# and NodeJs gave same results. This is my http.Client: func getWebClient() *http.Client { var netTransport = &http.Transport{ Dial: (&net.Dialer{ Timeout: 5 * time.Second, }).Dial, TLSHandshakeTimeout: 10 * time.Second, MaxIdleConnsPer
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.