[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #HDT-424966]: Fwd: Is it possible to have opendap reusing connections via libcurl despite netcdf api making many small requests?

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDF #HDT-424966]: Fwd: Is it possible to have opendap reusing connections via libcurl despite netcdf api making many small requests?
  • Date: Wed, 05 Sep 2012 15:28:27 -0600

Interesting. The current situation,
at least for the C client is that
during the interval between
nc_open() and the corresponding nc_close()
the curl handle is kept active. I assume that
curl reuses the same connection during that interval.

However, closing the curl handle should close the socket.
If I understand his message, then he  is seeing a bunch of
open sockets waiting to timeout? Do I understand this correctly?
 
=Dennis Heimbigner
  Unidata


Ticket Details
===================
Ticket ID: HDT-424966
Department: Support netCDF
Priority: Normal
Status: Closed