parnurzeal / gorequest

GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
http://parnurzeal.github.io/gorequest/
MIT License
3.44k stars 414 forks source link

Get request frequently get unexpected EOF error #260

Open haanamomo opened 3 years ago

haanamomo commented 3 years ago

The error message is simple, just Get "<url>": unexpected EOF], I searched in google, someone using go net/http said I need to set req.Close = true, is there a way to do this in gorequest?

https://stackoverflow.com/questions/17714494/golang-http-request-results-in-eof-errors-when-making-multiple-requests-successi