curl-library
[ curl-Bugs-1086121 ] file stays open if a disconnection occures during an upload
Date: Wed, 15 Dec 2004 14:59:50 -0800
Bugs item #1086121, was opened at 2004-12-15 23:59
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1086121&group_id=976
Category: libcurl
Group: bad behaviour
Status: Open
Resolution: None
Priority: 5
Submitted By: dinar (d-n-r)
Assigned to: Daniel Stenberg (bagder)
Summary: file stays open if a disconnection occures during an upload
Initial Comment:
Hello,
I'm using the last libcurl version (7.12.2) on windows
2000.
My program creates a thread that is uploading a file
onto an apache server (1.3.31) with HTTPS (openssl
0.9.7d), but if a disconnection occures during a
transfer, i get a CURLE_RECV_ERROR and my thread ends
up . Everything is ok for it, but then, if i try to
move the file that was beeing sent, i get an error and
if i call the windows GetLastError() function, it says
that the file is already owned by another thread or
process.
I guess the library lacks an fclose() before returning
CURLE_RECV_ERROR, can anyone confirm ?
Sorry for my poor english, best regards
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1086121&group_id=976
Received on 2004-12-16