- Jan 26, 2014
-
-
Marc Hoersken authored
-
Marc Hoersken authored
-
Marc Hoersken authored
-
- Jan 25, 2014
-
-
Marc Hoersken authored
Since the previous complex select function with initial support for non-socket file descriptors, did not actually work correctly for Console handles, this change simplifies the whole procedure by using an internal waiting thread for the stdin console handle. The previous implementation made it continuously trigger for the stdin handle if it was being redirected to a parent process instead of an actual Console input window. This approach supports actual Console input handles as well as anonymous Pipe handles which are used during input redirection. It depends on the fact that ReadFile supports trying to read zero bytes which makes it wait for the handle to become ready for reading.
-
Marc Hoersken authored
Removed Unix-specific functionality in order to support Windows: - select.epoll replaced with select.select - SocketServer.ForkingMixIn replaced with SocketServer.ForkingMixIn - socket.MSG_DONTWAIT replaced with socket.setblocking(False) Even though epoll has a better performance and improved socket handling than select, this change should not affect the actual test case.
-
Dan Fandrich authored
-
Dan Fandrich authored
-
- Jan 24, 2014
-
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Dan Fandrich authored
-
Dan Fandrich authored
-
- Jan 23, 2014
-
-
Dan Fandrich authored
-
Daniel Stenberg authored
The list was out of date and the paragraph already refers to the CURLOPT_HTTPAUTH explanation. All the auth bits are explained properly there. It also removes the ambiguity for what the "added" phrase refers to. This change based on pull request #85 on github URL: https://github.com/bagder/curl/pull/85 Reported-by: gnawhleinad
-
- Jan 22, 2014
-
-
Dan Fandrich authored
-
- Jan 21, 2014
-
-
Steve Holme authored
-
Daniel Stenberg authored
-
Fabian Frank authored
-
- Jan 20, 2014
-
-
Fabian Frank authored
Make it possible to call curl_easy_getinfo(curl, CURLINFO_CONTENT_LENGTH_DOWNLOAD, &filesize) and related functions on remote sftp:// files, without downloading them. Reported-by: Yingwei Liu Bug: http://curl.haxx.se/mail/lib-2014-01/0139.html
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Cédric Deltheil authored
This covers changes from commit afd288b2.
-
Cédric Deltheil authored
This prevents sending a `Content-Length: -1` header, e.g this ocurred with the following combination: * standard HTTP POST (no chunked encoding), * user-defined read function set, * `CURLOPT_POSTFIELDSIZE(_LARGE)` NOT set. With this fix it now behaves like HTTP PUT.
-
Fabian Frank authored
Make GnuTLS old and new consistent, specify the desired protocol, cipher and certificate type in always in both modes. Disable insecure ciphers as reported by howsmyssl.com. Honor not only --sslv3, but also the --tlsv1[.N] switches. Related Bug: http://curl.haxx.se/bug/view.cgi?id=1323
-
- Jan 19, 2014
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Steve Holme authored
Due to the changes in commit 3c929ff9 and lack of subsequent updates, curl could return a CURLE_FTP_ACCEPT_FAILED error if checkpasswd() ran out of memory in versions 7.33.0 and 7.34.0. Updated the function declaration and return code to return CURLE_OUT_OF_MEMORY and CURLE_OK where appropriate.
-
Steve Holme authored
-
Steve Holme authored
conversion from 'curl_off_t' to 'size_t', possible loss of data Where curl_off_t is a 64-bit word and size_t is 32-bit - for example with 32-bit Windows builds.
-
Steve Holme authored
In the rare instance where getparameter() may return PARAM_NO_MEM whilst parsing a URL, cURL would return this error code, which is equivalent to CURLE_FTP_ACCEPT_FAILED in cURL error codes terms. Instead, return CURLE_FAILED_INIT and output the failure reason as per the other usage of getparameter().
-
- Jan 18, 2014
-
-
Tobias Markus authored
Increasing the update frequency of the progress bar to 10Hz greatly improves the visual appearance of the progress bar (at least in my impression). Signed-off-by: Tobias Markus <tobias@markus-regensburg.de>
-
Tobias Markus authored
Currently, the progress bar is updated at 5Hz. Because it is often not updated to 100% when the download is finished and curl exits, the bar is often "stuck" at 90-something, thus irritating the user. This patch fixes this by always updating the progress bar (instead of waiting for 200ms to have elapsed) while the download is finished but curl has not yet exited. This should not greatly affect performance because that moment is rather short. Signed-off-by: Tobias Markus <tobias@markus-regensburg.de>
-
Steve Holme authored
A follow up patch to commit d2671340 as _WIN32_WINNT_WIN2K and _WIN32_WINNT_WIN2K may not be defined on all systems.
-
- Jan 17, 2014
-
-
Steve Holme authored
Following some auto build failures after commit c7a76bb0 changed the preprocessor check to use _WIN32_WINNT.
-
Daniel Stenberg authored
1 - allow >31 bit max-age values 2 - don't overflow on extremely large max-age values when we add the value to the current time 3 - make sure max-age takes precedence over expires as dictated by RFC6265 Bug: http://curl.haxx.se/mail/lib-2014-01/0130.html Reported-by: Chen Prog
-
Daniel Stenberg authored
As was introduced in 8f6b4be8af04
-
Daniel Stenberg authored
Allow for chunked-encoding data to get parsed with only LF line endings. This is allowed by browsers.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
- Jan 16, 2014
-
-
Dan Fandrich authored
Also, make the ftp server return a canned response that doesn't cause XML verification problems. Although the test file format isn't technically XML, it's still handy to be able to use XML tools to verify and manipulate them.
-