curl / Mailing Lists / curl-library / Single Mail

curl-library

Re: Too many connections in TIME_WAIT state

From: Daniel Stenberg via curl-library <curl-library_at_cool.haxx.se>
Date: Mon, 21 Jan 2019 08:18:47 +0100 (CET)

On Mon, 21 Jan 2019, Vipin P R wrote:

> I have tried with curl to the same URL. I can see that the client is the
> one initiating the FIN. In case of AB, the client always waits for the
> server to initiate the FIN. Is there any way to change this behaviour in
> libcurl or setsockopt().

It depends entirely on why curl decides to close the connection.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2019-01-21