cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Issue with Curb and closing connection

From: Jeff Pohlmeyer <yetanothergeek_at_gmail.com>
Date: Wed, 2 Sep 2009 15:58:05 -0500

Another wild guess...

Maybe the binding doesn't call curl_easy_cleanup() until the
garbage collector runs. Not sure how to force that in ruby,
maybe something like ObjectSpace.garbage_collect or GC.start?

FWIW, in Lua you have to call collectgarbage() *twice* before anything
actually gets deleted. (Once for mark and once for sweep.)

 HTH,
  - Jeff
Received on 2009-09-02