Fixed memory leak issues as outlined in issue #104

No tarball until further testing on other platforms.
Extensively tested on Debian sid 64bit

Resolves issue #104


git-svn-id: http://s3fs.googlecode.com/svn/trunk@285 df820570-a93a-0410-bd06-b72b767a4274
This commit is contained in:
mooredan@suncup.net 2010-12-19 01:34:27 +00:00
parent 147dd86215
commit f56b95f11e
3 changed files with 451 additions and 176 deletions

View File

@ -1,7 +1,7 @@
dnl Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
AC_INIT(s3fs, 1.25)
AC_INIT(s3fs, 1.26)
AC_CANONICAL_SYSTEM

File diff suppressed because it is too large Load Diff

View File

@ -33,10 +33,10 @@ using namespace std;
typedef pair<double, double> progress_t;
static long connect_timeout = 2;
static long connect_timeout = 3;
static time_t readwrite_timeout = 10;
static stack<CURL*> curl_handles;
// static stack<CURL*> curl_handles;
static pthread_mutex_t curl_handles_lock;
static map<CURL*, time_t> curl_times;
static map<CURL*, progress_t> curl_progress;