curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: curl can not stop sending after it received FIN

From: Gisle Vanem via curl-library <curl-library_at_cool.haxx.se>
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":
   https://superuser.com/questions/298919/what-is-tcp-half-open-connection-and-tcp-half-closed-connection

-- 
--gv
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-12