Search code examples
gotcpreverse-proxy

Locating the "read tcp" error in the Go source code


I am getting a network error of the form

http: proxy error: read tcp [...]->[...]: i/o timeout

And want to locate specifically the source of the read tcp error in the Go source code. Could anyone help me with that?


Solution

  • The read tcp [...]->[...]: i/o timeout error is generated here. The underlying timeout error is defined here.