curl / Mailing Lists / curl-library / Single Mail


Re: curl can not stop sending after it received FIN

From: Gisle Vanem via curl-library <>
Date: Wed, 12 Apr 2017 19:08:00 +0200

Tanyaofeng wrote:

> 4.We found an issue:
> The file server was shut down during sending file data, the curl can’t stop sending data after it received FIN from
> Http Proxy Server until file data was sent finished.

If this was a serious issue, it would have been fixed
years ago. Use netstat (or Process Explorer etc.) and you probably see
curl's socket is in CLOSE_WAIT state.

Read here on the subject of a "half-open TCP connection":

Received on 2017-04-12