- Mar 29, 2013
-
-
Daniel Stenberg authored
The last remaining code piece that still used FTPSENDF now uses PPSENDF. In the problematic case, a PREQUOTE series was done on a re-used connection when Curl_pp_init() hadn't been called so it had messed up pointers. The init call is done properly from Curl_pp_sendf() so this change fixes this particular crash. Bug: http://curl.haxx.se/mail/lib-2013-03/0319.html Reported by: Sam Deane
-
- Mar 25, 2013
-
-
Yang Tse authored
-
Yang Tse authored
As of 25-mar-2013 wcsdup() _wcsdup() and _tcsdup() are only used in WIN32 specific code, so tracking of these has not been extended for other build targets. Without this fix, memory tracking system on WIN32 builds, when using these functions, would provide misleading results. In order to properly extend this support for all targets curl.h would have to define curl_wcsdup_callback prototype and consequently wchar_t should be visible before that in curl.h. IOW curl_wchar_t defined in curlbuild.h and this pulling whatever system header is required to get wchar_t definition. Additionally a new curl_global_init_mem() function that also receives user defined wcsdup() callback would be required.
-
Yang Tse authored
reverts unreleased invalid memory leak fix
-
- Mar 23, 2013
-
-
Martin Jansen authored
Proxy servers tend to add their own headers at the beginning of responses. The size of these headers was not taken into account by CURLINFO_HEADER_SIZE before this change. Bug: http://curl.haxx.se/bug/view.cgi?id=1204
-
- Mar 21, 2013
-
-
Steve Holme authored
Corrected some incorrectly positioned pointer variable declarations to be "char *" rather than "char* ".
-
Steve Holme authored
Corrected some incorrectly positioned pointer variable declarations to be "type *" rather than "type* ".
-
Steve Holme authored
warning: an enumerated type is mixed with another type
-
- Mar 20, 2013
-
-
Steve Holme authored
warning: conversion from enumeration type to different enumeration type
-
- Mar 19, 2013
-
-
Nick Zitzmann authored
I found out that ECC doesn't work as of OS X 10.8.3, so those ciphers are turned off until the next point release of OS X.
-
- Mar 18, 2013
-
-
Oliver Schindler authored
After having done a POST over a CONNECT request, the 'rewindaftersend' boolean could be holding the previous value which could lead to badness. This should be tested for in a new test case! Bug: https://groups.google.com/d/msg/msysgit/B31LNftR4BI/KhRTz0iuGmUJ
-
- Mar 17, 2013
-
-
Steve Holme authored
Fixed incorrect initial response generation for the NTLM and LOGIN SASL authentication mechanisms when the SASL-IR was detected. Introduced in commit: 6da7dc02.
-
- Mar 15, 2013
-
-
Daniel Stenberg authored
curl has been accepting URLs using slightly wrong syntax for a long time, such as when completely missing as slash "http://example.org" or missing a slash when a query part is given "http://example.org?q=foobar". curl would translate these into a legitimate HTTP request to servers, although as was shown in bug #1206 it was not adjusted properly in the cases where a HTTP proxy was used. Test 1213 and 1214 were added to the test suite to verify this fix. The test HTTP server was adjusted to allow us to specify test number in the host name only without using any slashes in a given URL. Bug: http://curl.haxx.se/bug/view.cgi?id=1206 Reported by: ScottJi
-
- Mar 14, 2013
-
-
Yang Tse authored
This commit alone does not fix anything nor modifies existing interfaces or behaviors, although it is a prerequisite for other fixes.
-
Yang Tse authored
-
Linus Nielsen authored
-
- Mar 13, 2013
-
-
Linus Nielsen authored
Introducing a number of options to the multi interface that allows for multiple pipelines to the same host, in order to optimize the balance between the penalty for opening new connections and the potential pipelining latency. Two new options for limiting the number of connections: CURLMOPT_MAX_HOST_CONNECTIONS - Limits the number of running connections to the same host. When adding a handle that exceeds this limit, that handle will be put in a pending state until another handle is finished, so we can reuse the connection. CURLMOPT_MAX_TOTAL_CONNECTIONS - Limits the number of connections in total. When adding a handle that exceeds this limit, that handle will be put in a pending state until another handle is finished. The free connection will then be reused, if possible, or closed if the pending handle can't reuse it. Several new options for pipelining: CURLMOPT_MAX_PIPELINE_LENGTH - Limits the pipeling length. If a pipeline is "full" when a connection is to be reused, a new connection will be opened if the CURLMOPT_MAX_xxx_CONNECTIONS limits allow it. If not, the handle will be put in a pending state until a connection is ready (either free or a pipe got shorter). CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE - A pipelined connection will not be reused if it is currently processing a transfer with a content length that is larger than this. CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE - A pipelined connection will not be reused if it is currently processing a chunk larger than this. CURLMOPT_PIPELINING_SITE_BL - A blacklist of hosts that don't allow pipelining. CURLMOPT_PIPELINING_SERVER_BL - A blacklist of server types that don't allow pipelining. See the curl_multi_setopt() man page for details.
-
Steve Holme authored
Following commit e450f66a and the changes in the multi interface being used internally, from 7.29.0, the transfer cancellation in pop3_dophase_done() is no longer required.
-
- Mar 12, 2013
-
-
Steve Holme authored
Don't initiate a transfer when using --ftp-list.
-
Zdenek Pavlas authored
The flag can be used in pycurl-based applications where using the multi interface would not be acceptable because of the performance lost caused by implementing the select() loop in python. Bug: http://curl.haxx.se/bug/view.cgi?id=1168 Downstream Bug: https://bugzilla.redhat.com/919127
-
Kamil Dudka authored
-
- Mar 11, 2013
-
-
Yang Tse authored
No API change involved. Info: http://curl.haxx.se/mail/lib-2013-02/0234.html
-
- Mar 10, 2013
-
-
Steve Holme authored
-
Steve Holme authored
-
- Mar 09, 2013
-
-
Steve Holme authored
-
Daniel Stenberg authored
... hopefully this will also make clang-analyzer stop warning on potentional NULL dereferences (which were false positives anyway).
-
Daniel Stenberg authored
When Curl_do() returns failure, the connection pointer could be NULL so the code path following needs to that that into account. Bug: http://curl.haxx.se/mail/lib-2013-03/0062.html Reported by: Eric Hu
-
Steve Holme authored
Standardised the naming of all perform based functions to be in the form imap_perform_something().
-
Steve Holme authored
-
Steve Holme authored
Moved the custom request processing into the LIST command as the logic is the same.
-
Steve Holme authored
-
Yang Tse authored
-
Steve Holme authored
-
Steve Holme authored
Updated the function description comments following commit 4838d196.
-
Steve Holme authored
Moved the blocking state machine to the disconnect functions so that the logout / quit functions are only responsible for sending the actual command needed to logout or quit. Additionally removed the hard return on failure.
-
- Mar 08, 2013
-
-
Steve Holme authored
Added comments and simplified convoluted dophase_done comparison.
-
Steve Holme authored
-
Steve Holme authored
Added an exception, for the STORE command, to the untagged response processor in imap_endofresp() as servers will back respones containing the FETCH keyword instead.
-
Gisle Vanem authored
-
Yang Tse authored
-