aboutsummaryrefslogtreecommitdiff
path: root/lib/url.c
AgeCommit message (Collapse)Author
2007-08-26Fixed some minor mismatched types found by splint.Dan Fandrich
2007-08-16added basic ldaps support; for now its ifdef'd with HAVE_LDAP_SSL unless we ↵Gunter Knauf
know its fully working, and available with all LDAP SDKs. Win32 requires to have the trusted CA in local keystore - I've not found yet a way to disable the cert check.
2007-08-11Patrick Monnerat modified the LDAP code and approach in curl. Starting now,Daniel Stenberg
the configure script checks for openldap and friends and we link with those libs just like we link all other third party libraries, and we no longer dlopen() those libraries. Our private header file lib/ldap.h was renamed to lib/curl_ldap.h due to this. I set a tag in CVS (curl-7_17_0-preldapfix) just before this commit, just in case.
2007-08-07Fixed torture test for test 509Dan Fandrich
2007-08-07Fixed some icc compiler warnings.Dan Fandrich
2007-08-04Fixed a couple of compiler warnings.Dan Fandrich
2007-08-03Refactored CreateConnection() somewhat to reduce its length by splittingDan Fandrich
it into a few new functions. Fixed a few leaks in out of memory conditions, including for test case 231.
2007-08-03The previous commit to force the use of libssh2-0.16 by removingJames Housley
LIBSSH2_APINO
2007-08-02Scott Cantor filed bug report #1766320Daniel Stenberg
(http://curl.haxx.se/bug/view.cgi?id=1766320) pointing out that the libcurl code accessed two curl_easy_setopt() options (CURLOPT_DNS_CACHE_TIMEOUT and CURLOPT_DNS_USE_GLOBAL_CACHE) as ints even though they're documented to be passed in as longs, and that makes a difference on 64 bit architectures.
2007-08-02Fixed a compiler warning.Dan Fandrich
2007-08-02Dmitriy Sergeyev reported a regression: resumed file:// transfers brokeDaniel Stenberg
after 7.16.2. This is much due to the different treatment file:// gets internally, but now I added test 231 to make it less likely to happen again without us noticing!
2007-08-01Patrick Monnerat and I modified libcurl so that now it *copies* all stringsDaniel Stenberg
passed to it with curl_easy_setopt()! Previously it has always just refered to the data, forcing the user to keep the data around until libcurl is done with it. That is now history and libcurl will instead clone the given strings and keep private copies.
2007-07-29Bug report #1759542 (http://curl.haxx.se/bug/view.cgi?id=1759542). A bad useDaniel Stenberg
of a socket after it has been closed, when the FTP-SSL data connection is taken down.
2007-07-23#if that should be #ifdefDaniel Stenberg
2007-07-23Implemented only the parts of Patrick Monnerat's OS/400 patch that renamedDan Fandrich
some few internal identifiers to avoid conflicts, which could be useful on other platforms.
2007-07-14for now unless we do better fixed LIBSSH2_APINO compares to use long constants.Gunter Knauf
2007-07-12Shmulik Regev found an (albeit rare) case where the proxy CONNECT operationDaniel Stenberg
could in fact get stuck in an endless loop.
2007-07-11fixed endif comment.Gunter Knauf
2007-07-10* Finish moving sftp:// into a state machine so it won't block in multi modeJames Housley
* Move scp:// into a state machine so it won't block in multi mode * When available use the full directory entry from the sftp:// server
2007-07-01Thomas J. Moore provided a patch that introduces Kerberos5 support inDaniel Stenberg
libcurl. This also makes the options change name to --krb (from --krb4) and CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
2007-06-27Add two new options for the SFTP/SCP/FILE protocols: CURLOPT_NEW_FILE_PERMSJames Housley
and CURLOPT_NEW_DIRECTORY_PERMS. These control the premissions for files and directories created on the remote server. CURLOPT_NEW_FILE_PERMS defaults to 0644 and CURLOPT_NEW_DIRECTORY_PERMS defaults to 0755
2007-06-21Gerrit Bruchhäuser pointed out a warning that the Intel(R) Thread CheckerDaniel Stenberg
tool reports and it was indeed a legitimate one and it is one fixed. It was a use of a share without doing the proper locking first.
2007-06-05mark connect failures as non-connected when ConnectPlease() fails, like whenDaniel Stenberg
a connection through a socks proxy doesn't work
2007-05-30remove really annoying debug output that makes life miserable when you doDaniel Stenberg
hundreds of parallel transfers...
2007-05-02Fixed an out of memory handling issue with HTTP pipelines.Dan Fandrich
2007-04-29Rearranged some allocs so they will be freed correctly in the error path.Dan Fandrich
2007-04-27Move the explictit free of the range string to Curl_close() from ↵Daniel Stenberg
Curl_disconnect() since it easy-handle related and not connection-related.
2007-04-27oops, this was supposed to be properly removedDaniel Stenberg
2007-04-27As a follow-up to the removal of the free of the range data in Curl_done() - ↵Daniel Stenberg
this moves and re-arranges how range/resume is setup and freed.
2007-04-25Sonia Subramanian brought our attention to a problem that happens if you setDaniel Stenberg
the CURLOPT_RESUME_FROM or CURLOPT_RANGE options and an existing connection in the connection cache is closed to make room for the new one when you call curl_easy_perform(). It would then wrongly free range-related data in the connection close funtion.
2007-04-24Robert Iakobashvili made the 'master_buffer' get allocated first once it isDaniel Stenberg
can/will be used as it then makes the common cases save 16KB of data for each easy handle that isn't used for pipelining.
2007-04-10Ravi Pratap provided fixes for HTTP pipeliningDaniel Stenberg
2007-04-08fix out of memory handling issueYang Tse
2007-04-04Fixes some more out of memory handling bugs.Dan Fandrich
2007-04-03Rob Jones fixed better #ifdef'ing for a bunch of #include lines.Daniel Stenberg
2007-04-03recover code simplification lost with last commitYang Tse
2007-03-29fix compiler warningYang Tse
2007-03-28fix compiler warningYang Tse
2007-03-28Fix compiler warning.Gisle Vanem
2007-03-28Simplified code around 'tld_errmsg' a bit.Gisle Vanem
2007-03-26Internal function Curl_select() renamed to Curl_socket_ready()Yang Tse
2007-03-25fix compiler warningYang Tse
2007-03-25fix compiler warningYang Tse
2007-03-24Fixed a couple of compile problems.Dan Fandrich
2007-03-24Fixed a memory leak when specifying a proxy with a file: URL and addedDan Fandrich
test case 288 to verify it.
2007-03-23fix debug messageDaniel Stenberg
2007-03-11can just as well NULLify the pointer in a single spotDaniel Stenberg
2007-03-10Eygene Ryabinkin fixed a use-after-free issue with HTTP transfers with theDaniel Stenberg
multi interface
2007-03-07Honour --ftp-ssl-control on ftps:// URLs to allow encrypted control andDan Fandrich
unencrypted data connections.
2007-02-27- Hang Kin Lau found and fixed: When I use libcurl to connect to an httpsDaniel Stenberg
server through a proxy and have the remote https server port set using the CURLOPT_PORT option, protocol gets reset to http from https after the first request. User defined URL was modified internally by libcurl and subsequent reuse of the easy handle may lead to connection using a different protocol (if not originally http). I found that libcurl hardcoded the protocol to "http" when it tries to regenerate the URL if CURLOPT_PORT is set. I tried to fix the problem as follows and it's working fine so far