- Aug 12, 2013
-
-
Kamil Dudka authored
... prior to calling PK11_GenerateRandom()
-
Daniel Stenberg authored
With everything being struct SessionHandle pointers now, this rename makes multi.c use the library-wide practise of calling that pointer 'data' instead of the previously used 'easy'.
-
Daniel Stenberg authored
Moved Curl_easy_addmulti() from easy.c to multi.c, renamed it to easy_addmulti and made it static. Removed Curl_easy_initHandleData() and uses of it since it was emptied in commit cdda92ab67b47d74a.
-
Daniel Stenberg authored
All protocol handler structs are now opaque (void *) in the SessionHandle struct and moved in the request-specific sub-struct 'SingleRequest'. The intension is to keep the protocol specific knowledge in their own dedicated source files [protocol].c etc. There's some "leakage" where this policy is violated, to be addressed at a later point in time.
-
Daniel Stenberg authored
1 - always allocate the struct in protocol->setup_connection. Some protocol handlers had to get this function added. 2 - always free at the end of a request. This is also an attempt to keep less memory in the handle after it is completed.
-
Daniel Stenberg authored
Start working on the next version and up some counters.
-
- Aug 11, 2013
-
-
Daniel Stenberg authored
-
Fabian Keil authored
-
Fabian Keil authored
-
Fabian Keil authored
-
Fabian Keil authored
-
Fabian Keil authored
-
Fabian Keil authored
-
- Aug 10, 2013
-
-
Daniel Stenberg authored
It shows intermittent failures and I haven't been able to track them down yet. Disable this test for now.
-
- Aug 09, 2013
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Aug 08, 2013
-
-
John E. Malmberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The take down of the global dns cache didn't take CURLOPT_RESOLVE names into account.
-
Daniel Stenberg authored
CURLOPT_DNS_USE_GLOBAL_CACHE broke in commit c4312741 (been broken since the libcurl 7.29.0 release). While this option has been documented as deprecated for almost a decade and nobody even reported this bug, it should remain functional. Added test case 1512 to verify
-
John Malmberg authored
VMS modified files either missing from a previous commit and changes to remove references to CVS repositories.
-
Daniel Stenberg authored
The previous naming scheme ftp_state_post_XXXX() wasn't really helpful as it wasn't always immediately after 'xxxx' and it wasn't easy to understand what it does based on such a name. This new one is instead ftp_state_yyyy() where yyyy describes what it does or sends.
-
Daniel Stenberg authored
Since the mk-ca-bundle tool itself isn't installed with make install, there's no point in installing its documentation. Bug: http://curl.haxx.se/mail/lib-2013-08/0057.html Reported-by: Guenter Knauf
-
- Aug 07, 2013
-
-
Yang Tse authored
-
John Malmberg authored
These are the files needed to build VMS distribution packages known as PCSI kits. Also minor update to the existing files, mainly to the documentation and file clean up code.
-
- Aug 06, 2013
-
-
Daniel Stenberg authored
This is the first version of this new document, detailing the seven perhaps most important internal structs in libcurl source code: 1.1 SessionHandle 1.2 connectdata 1.3 Curl_multi 1.4 Curl_handler 1.5 conncache 1.6 Curl_share 1.7 CookieInfo
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This is a regression as this logic used to work. It isn't clear when it broke, but I'm assuming in 7.28.0 when we went all-multi internally. This likely never worked with the multi interface. As the failed connection is detected once the multi state has reached DO_MORE, the Curl_do_more() function was now expanded somewhat so that the ftp_do_more() function can request to go "back" to the previous state when it makes another attempt - using PASV. Added test case 1233 to verify this fix. It has the little issue that it assumes no service is listening/accepting connections on port 1... Reported-by: byte_bucket in the #curl IRC channel
-
Nick Zitzmann authored
For some reason, OS X 10.5's GCC suddenly stopped working correctly with macros that change MD5_Init etc. in the code to CC_MD5_Init etc., so I worked around this by removing use of the macros and inserting static functions that just call CommonCrypto's implementations of the functions instead.
-
- Aug 05, 2013
-
-
Guenter Knauf authored
This changes the previous check for untrusted certs to a check for certs explicitely marked as trusted. The change is backward-compatible (tested with certdata.txt v1.80).
-
Daniel Stenberg authored
Use XC_CHECK_BUILD_FLAGS instead XC_CHECK_USER_FLAGS.
-
Daniel Stenberg authored
This reverts commit 6b27703b.
-
- Aug 04, 2013
-
-
Daniel Stenberg authored
The internal function that's used to detect known file extensions for the default Content-Type got the the wrong pointer passed in when CURLFORM_BUFFER + CURLFORM_BUFFERPTR were used. This had the effect that strlen() would be used which could lead to an out-of-bounds read (and thus segfault). In most cases it would only lead to it not finding or using the correct default content-type. It also showed that test 554 and test 587 were testing for the previous/wrong behavior and now they're updated as well. Bug: http://curl.haxx.se/bug/view.cgi?id=1262 Reported-by: Konstantin Isakov
-
Guenter Knauf authored
Christian Heimes brought to our attention that the certdata.txt format has recently changed [1], causing ca-bundle.crt created with mk-ca-bundle.[pl|vbs] to include untrusted certs. [1] http://lists.debian.org/debian-release/2012/11/msg00411.html
-
Daniel Stenberg authored
-
- Aug 03, 2013
-
-
Daniel Stenberg authored
Instead of claiming it is an error, we call it a "note" to reduce the severity level. But the following text now says the [variable] "*should* only be used to specify"... instead of previously having said "may".
-
Daniel Stenberg authored
Not needed
-
Daniel Stenberg authored
Since the merge of SessionHandle with Curl_one_easy, this indirection isn't used anymore.
-
Daniel Stenberg authored
-