[asterisk-dev] question about asterisk 1.4, func_curl.c, and close_wait state

Paul Albrecht albrecht at glccom.com
Mon Feb 28 13:26:35 CST 2011

On Mon, 2011-02-28 at 13:11 -0600, Tilghman Lesher wrote:
> On Monday 28 February 2011 11:08:38 Paul Albrecht wrote:
> > Hi,
> > 
> > Why does the curl function leave the request connection in the
> > close_wait state until the channel thread terminates?
> That's a question for the libcurl authors, as we use that library for
> the main functionality.

Think the curl library default is keepalive and that's a bad thing
because the socket file descriptor doesn't go away until the channel
thread terminates. So my question really is does it make sense for
asterisk to use the library default?

Paul Albrecht

More information about the asterisk-dev mailing list