Details
Description
Steve, can you take a look at this post and let me know if we want to adopt the changes to libconflate that are proposed?
Perry
---------- Forwarded message ----------
From: NorthScale Forums <support@northscale.com>
Date: Wed, Sep 15, 2010 at 1:33 PM
Subject: New Post/Thread Notification: NorthScale Membase Server Beta
To: staff_d@northscale.com
Hello,
jacoblundberg has just posted in the NorthScale Membase Server Beta forum of NorthScale Forums under the title of beta3 built from source does not listen on port 11211.
This thread is located at http://forums.northscale.com/showthread.php?457-beta3-built-from-source-does-not-listen-on-port-11211
Here is the message that has just been posted:
***************
I have been hoping to see this second libconflate patch show up in the git repository... It is technically a bug in the libconflate code. If you refer to the following API document:
http://curl.haxx.se/libcurl/c/curl_easy_setopt.html
You will see: "Before version 7.17.0, strings were not copied. Instead the user was forced keep them available until libcurl no longer needed them."
In other words, the current libconflate code is only valid for curl versions 7.17.0 or newer. RHEL5 uses 7.15.5. The patch I provided resolves this issue by moving the variables passed to curl into a scope where they will outlive the curl invocation.