goproxy icon indicating copy to clipboard operation
goproxy copied to clipboard

Avoid tooo many warns due to clients' closed connections

Open gallir opened this issue 9 years ago • 2 comments

In https, the clients close the connections when they receive the expected data, it's harmless. This patch avoids warnings if it could write bytes to the clients.

gallir avatar Oct 13 '15 12:10 gallir

Hi,

Thanks for the PR.

I'm not sure I follow. Why would bytes be <0? Why is that a sign we should ignore the error.

In principle I think removing those warnings is a very good idea.

elazarl avatar Oct 15 '15 10:10 elazarl

@gallir ping. Can you please have a look and explain?

elazarl avatar Oct 24 '15 20:10 elazarl