[asterisk-dev] asterisk curl function and socket keep alive
Terry Wilson
twilson at digium.com
Tue Mar 1 12:36:32 CST 2011
> I asked this question yesterday and didn't get much of a response so
> I'll try again ... Why is the keep alive socket option used for curl
> connection requests? The obvious disadvantage of keep alive is that the
> socket file descriptor is retained until the channel thread terminates.
Don't start a new thread just because you didn't get the answer you want within a day. It isn't going to help. You also were talking with the author of func_curl. He gave you the reason "because it is the default" and suggested that the only reason it hasn't been changed is because no one had submitted a suitable patch to change the functionality.
Also, it looks like a weird combination of private conversation and mailing list posting. It gets a little confusing.
Terry
More information about the asterisk-dev
mailing list