commit_hash stringlengths 40 40 | author stringlengths 1 57 | date timestamp[s]date 2010-07-26 04:45:09 2026-04-14 18:21:10 | message stringlengths 8 1.39M | diff stringlengths 68 51.2k | files_changed int64 1 136 | insertions int64 0 2.35k | deletions int64 0 1.9k |
|---|---|---|---|---|---|---|---|
c776af74e70b8aad144c18d54e0c9428d1b0ec30 | Stephen M. Coakley | 2019-09-09T14:54:04 | Getters on easy handles when attached to multi (#296)
Expose read-only getters that are save to invoke while an easy handle is attached to a multi handle.
Also allow users to access the underlying curl pointer if the safe interface is not flexible enough for a given use-case.
Fixes #273. | diff --git a/src/multi.rs b/src/multi.rs
index 9f49865..1bc191e 100644
--- a/src/multi.rs
+++ b/src/multi.rs
@@ -10,7 +10,7 @@ use libc::{c_char, c_int, c_long, c_short, c_void};
#[cfg(unix)]
use libc::{pollfd, POLLIN, POLLOUT, POLLPRI};
-use easy::{Easy, Easy2};
+use easy::{Easy, Easy2, List};
use panic;
use {Er... | 1 | 69 | 1 |
417efaa25e8e7cb23784f4e477b63ee6262ea483 | Alex Crichton | 2019-08-28T16:36:21 | Bump to 0.4.23 | diff --git a/Cargo.toml b/Cargo.toml
index b61f9ed..3def9cb 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.22"
+version = "0.4.23"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"
@@ -16,7 ... | 1 | 2 | 2 |
5155b9ec9ae13f1eb2fde3f5d4d645e63f47ac40 | Alex Crichton | 2019-08-28T16:34:58 | Bump curl-sys to 0.4.21 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 3b8247c..a72926b 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.20"
+version = "0.4.21"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
links = "curl"
build = "build.rs" | 1 | 1 | 1 |
f28b13c42b3ad6302784e1efb90d25127478fe88 | Alex Crichton | 2019-08-28T14:27:16 | Remove `winapi 0.2` dependency (#294)
This commit removes the `winapi 0.2` dependency and also deletes the
`Multi::fdset` method. While technically a breaking change this was
deprecated 2 years ago at this point so I'm hoping that this crate can
practically get away with the breakage. | diff --git a/Cargo.toml b/Cargo.toml
index ddac5a0..b61f9ed 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,12 +24,9 @@ socket2 = "0.3.7"
openssl-sys = { version = "0.9.43", optional = true }
openssl-probe = { version = "0.1.2", optional = true }
-[target.'cfg(windows)'.dependencies]
-winapi = "0.2.7"
-
[target.'c... | 4 | 11 | 47 |
9a71c691282ebba01d116cb85acb1d31ad2efa82 | guanqun | 2019-08-27T16:38:27 | small typo fixes (#292) | diff --git a/src/multi.rs b/src/multi.rs
index 46a147e..45f9087 100644
--- a/src/multi.rs
+++ b/src/multi.rs
@@ -54,7 +54,7 @@ pub struct Message<'multi> {
/// from the multi handle when desired.
pub struct EasyHandle {
easy: Easy,
- // This is now effecitvely bound to a `Multi`, so it is no longer sendable.
... | 1 | 3 | 3 |
0d5dbea264dfafc1e6ce8ca94a21c742832b590b | guanqun | 2019-08-27T16:38:07 | add Clone/Copy for more enums (#291) | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index bcbbcfb..ab07c72 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -409,7 +409,7 @@ pub enum ProxyType {
/// Possible conditions for the `time_condition` method.
#[allow(missing_docs)]
-#[derive(Debug)]
+#[derive(Debug, Clone, Copy)]
pub enum... | 1 | 6 | 6 |
e29d113336638c3ac239255f9edd8e6de9a6347f | guanqun | 2019-08-27T13:42:16 | add Clone/Copy to SslVersion (#290) | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index ec52aeb..bcbbcfb 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -467,9 +467,9 @@ pub enum HttpVersion {
__Nonexhaustive = 500,
}
-/// Possible values to pass to the `ssl_version` method.
+/// Possible values to pass to the `ssl_version`... | 1 | 2 | 2 |
14783cf83e3b5c0ac7f065659e02aeb1e711065d | Alex Crichton | 2019-08-26T14:07:22 | Run `rustfmt` | diff --git a/src/lib.rs b/src/lib.rs
index 3dc9f7f..e278821 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -69,7 +69,7 @@ extern crate schannel;
use std::ffi::CStr;
use std::str;
-use std::sync::{Once};
+use std::sync::Once;
pub use error::{Error, FormError, MultiError, ShareError};
mod error;
diff --git a/src/mul... | 2 | 12 | 12 |
4ce85a12c93569b46eecf601656ba98fe726f7bb | Alex Crichton | 2019-08-26T14:07:02 | Fix a warning in a test | diff --git a/tests/easy.rs b/tests/easy.rs
index 3096e52..27e8505 100644
--- a/tests/easy.rs
+++ b/tests/easy.rs
@@ -805,5 +805,5 @@ b",
#[test]
fn check_unix_socket() {
let mut h = handle();
- h.unix_socket("/var/something.socks").is_ok();
+ drop(h.unix_socket("/var/something.socks"));
} | 1 | 1 | 1 |
720ca918827139b722c15940dbaf8776f272ecca | Alex Crichton | 2019-08-26T14:06:26 | Fix nightly deprecation warnings | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index 0fc8e0a..caab1e5 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -105,13 +105,13 @@ unsafe impl Send for EasyData {}
#[derive(Default)]
struct Callbacks<'a> {
- write: Option<Box<FnMut(&[u8]) -> Result<usize, WriteError> + 'a>>,
- read: Op... | 6 | 81 | 81 |
82ff5d38b79f02ef62ef833377b60586cb7cd74b | Guanqun Lu | 2019-08-25T16:52:56 | Fix the one warning on Windows
--> src\easy\windows.rs:91:13
|
91 | let mut store = match CertStore::open_current_user("ROOT") {
| ----^^^^^
| |
| help: remove this `mut`
|
= note: #[warn(unused_mut)] on by default | diff --git a/src/easy/windows.rs b/src/easy/windows.rs
index 1eca3d8..124b0b9 100644
--- a/src/easy/windows.rs
+++ b/src/easy/windows.rs
@@ -88,7 +88,7 @@ mod win {
};
let openssl_store = (openssl.SSL_CTX_get_cert_store)(ssl_ctx as *const SSL_CTX);
- let mut store = match CertStore::open_curr... | 1 | 1 | 1 |
e92f2a63947d325ef9069b80eccce20749f1a742 | Guanqun Lu | 2019-08-24T03:53:11 | add another interface for backward compatibility | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index b86ed2d..1887f63 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -949,8 +949,13 @@ impl Easy {
}
/// Same as [`Easy2::ssl_version`](struct.Easy2.html#method.ssl_version)
- pub fn ssl_version(&mut self, min_version: SslVersion, max_ver... | 2 | 16 | 3 |
a6cd7dbe8e22518f272c0b86dd61d6ce83cce9f9 | Guanqun Lu | 2019-08-24T04:00:22 | enhance 'ssl_version' to be able to set max version as well | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index 0fc8e0a..b86ed2d 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -949,8 +949,8 @@ impl Easy {
}
/// Same as [`Easy2::ssl_version`](struct.Easy2.html#method.ssl_version)
- pub fn ssl_version(&mut self, version: SslVersion) -> Result<()... | 2 | 6 | 5 |
13ddb2dd259e8846f58c0d38962fe159c5384bd6 | Stephen M. Coakley | 2019-08-16T23:42:58 | Use published version of MesaLink | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index a5046ea..3b8247c 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -25,8 +25,6 @@ libnghttp2-sys = { optional = true, version = "0.1" }
[dependencies.mesalink]
version = "1.1.0-cratesio"
-git = "https://github.com/mesalock-linux/mesalink"
-bra... | 1 | 0 | 2 |
dc3e38915b9e16981b84cd14c9e9a0496098cca2 | Stephen M. Coakley | 2019-08-16T01:25:12 | Upstream MesaLink branch | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 8d353e4..a5046ea 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -24,9 +24,9 @@ libc = "0.2.2"
libnghttp2-sys = { optional = true, version = "0.1" }
[dependencies.mesalink]
-version = "1.1.0-beta"
-git = "https://github.com/sagebind/mesalink... | 1 | 3 | 3 |
af4bd4e6fcd5079e6522b899d4ba39fd22467abb | Stephen M. Coakley | 2019-08-14T04:26:34 | Fix MesaLink headers under Windows | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 682d079..769335c 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -217,6 +217,10 @@ fn main() {
cfg.define("USE_MESALINK", None)
.include("include/mesalink")
.file("curl/lib/vtls/mesalink.c");
+
+ if windows {
+ ... | 1 | 4 | 0 |
57e1a24ae202621b67278bcb519285e20e13851c | 0kaguya | 2019-07-16T10:32:42 | derive Copy as well | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index 0d58c01..f31e914 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -392,7 +392,7 @@ unsafe impl<H: Send> Send for Inner<H> {}
/// Possible proxy types that libcurl currently understands.
#[allow(missing_docs)]
-#[derive(Debug, Clone)]
+#[deriv... | 1 | 1 | 1 |
ab672682119f847b806434e1f23de80fe3716868 | 0kaguya | 2019-07-15T11:01:51 | derive Clone for ProxyType | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index 22cec75..0d58c01 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -392,7 +392,7 @@ unsafe impl<H: Send> Send for Inner<H> {}
/// Possible proxy types that libcurl currently understands.
#[allow(missing_docs)]
-#[derive(Debug)]
+#[derive(Debug... | 1 | 1 | 1 |
e94f8d7ed74e11e03f606bfadda7f7fd12765ee4 | Alex Crichton | 2019-07-01T23:31:01 | Bump curl-sys to 0.4.20 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 0effc35..6a5c625 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.19"
+version = "0.4.20"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
links = "curl"
build = "build.rs" | 1 | 1 | 1 |
8e4a5df74fe898d9f6cb5b1b8f61345ad265015a | Alex Crichton | 2019-06-17T23:55:05 | Bump curl-sys to 0.4.19 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index c1807eb..0effc35 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.18"
+version = "0.4.19"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
links = "curl"
build = "build.rs" | 1 | 1 | 1 |
48fbb1fb4b031935a2c9e24d3fb7c059f77517c6 | Alex Crichton | 2019-06-17T23:54:43 | Update build of bundled curl | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 5f3cd06..57662e8 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -131,6 +131,7 @@ fn main() {
.file("curl/lib/cookie.c")
.file("curl/lib/curl_addrinfo.c")
.file("curl/lib/curl_ctype.c")
+ .file("curl/lib/curl_get_line.c... | 1 | 1 | 1 |
ed811d63d1934d3d167462d8b7e9f46152890928 | Alex Crichton | 2019-05-24T14:16:09 | Bump to 0.4.22 | diff --git a/Cargo.toml b/Cargo.toml
index f72a75e..bf4937a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.21"
+version = "0.4.22"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust" | 1 | 1 | 1 |
ebb6d8eeb59c3cfe935e0ef2ff9e409e6adbe689 | Armin Ronacher | 2019-05-24T10:31:22 | Do not crash with a segfault if empty buffer is passed | diff --git a/src/easy/form.rs b/src/easy/form.rs
index 5b6ce2a..1262830 100644
--- a/src/easy/form.rs
+++ b/src/easy/form.rs
@@ -250,8 +250,16 @@ impl<'form, 'data> Part<'form, 'data> {
self._buffer(name.as_ref(), data)
}
- fn _buffer(&mut self, name: &'data Path, data: Vec<u8>) -> &mut Self {
+ f... | 1 | 10 | 2 |
d0b2e72ca97319e184c8964486988da09cd911fc | Alex Crichton | 2019-04-18T01:47:44 | Bump to 0.4.21 | diff --git a/Cargo.toml b/Cargo.toml
index 9a7f02a..f72a75e 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.20"
+version = "0.4.21"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust" | 1 | 1 | 1 |
719ee9cc6f56ac2d0d0e45c0062ebb7efab20e5a | Alex Crichton | 2019-04-18T01:47:09 | Bump curl-sys to 0.4.18 | diff --git a/Cargo.toml b/Cargo.toml
index 98ce8f6..9a7f02a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,7 +16,7 @@ appveyor = { repository = "alexcrichton/curl-rust" }
[dependencies]
libc = "0.2.42"
-curl-sys = { path = "curl-sys", version = "0.4.17", default-features = false }
+curl-sys = { path = "curl-sys", ... | 2 | 2 | 2 |
8b78a59f9d916fd6a29a7321726b444998d99966 | Alex Helfet | 2019-04-17T22:59:52 | Skip verifying new error consts. | diff --git a/systest/build.rs b/systest/build.rs
index ed14c18..614d938 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -60,6 +60,18 @@ fn main() {
});
cfg.skip_const(move |s| {
+ if version < 64 {
+ match s {
+ "CURLE_HTTP2" => return true,
+ "CURLE_P... | 1 | 12 | 0 |
d1c65726822e844ca159c345af7b74f6450cd5fd | Alex Helfet | 2019-04-17T22:07:51 | Add HTTP2 errors, and curl-sys error consts up to curl 7_64_1. | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index ad3b65f..1528899 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -203,7 +203,7 @@ pub const CURLE_FTP_WEIRD_PASS_REPLY: CURLcode = 11;
pub const CURLE_FTP_WEIRD_PASV_REPLY: CURLcode = 13;
pub const CURLE_FTP_WEIRD_227_FORMAT: CURLcode = 14;
pub const CURLE_F... | 2 | 16 | 2 |
46803b235a71f8de6f0b9dae351b339609a99795 | Alex Crichton | 2019-04-03T14:44:26 | Some minor stylistic updates | diff --git a/Cargo.toml b/Cargo.toml
index 9736367..98ce8f6 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -21,7 +21,7 @@ socket2 = "0.3.7"
# Unix platforms use OpenSSL for now to provide SSL functionality
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies]
-openssl-sys = { version = "0.9.33", optional = ... | 2 | 7 | 16 |
737339b306b9fc0c43d804f50e1688b26432b418 | Hristo Venev | 2019-04-03T10:57:12 | Only use openssl-probe if we're using OpenSSL. | diff --git a/build.rs b/build.rs
index 88c550a..2ae5f6c 100644
--- a/build.rs
+++ b/build.rs
@@ -2,25 +2,32 @@ use std::env;
use std::str::FromStr;
fn main() {
+ let use_openssl;
+
// OpenSSL >= 1.1.0 can be initialized concurrently and is initialized correctly by libcurl.
// <= 1.0.2 need locking call... | 1 | 14 | 7 |
c6d28d90d48a8fb8ef9d438345a768e78a485f1f | Hristo Venev | 2019-04-03T10:44:00 | Only link openssl-sys and openssl-probe if they are needed. | diff --git a/build.rs b/build.rs
new file mode 100644
index 0000000..88c550a
--- /dev/null
+++ b/build.rs
@@ -0,0 +1,26 @@
+use std::env;
+use std::str::FromStr;
+
+fn main() {
+ // OpenSSL >= 1.1.0 can be initialized concurrently and is initialized correctly by libcurl.
+ // <= 1.0.2 need locking callbacks, whic... | 3 | 33 | 6 |
91d8efa198cc1f378575e5d4ec5869d522093327 | Hristo Venev | 2019-03-29T12:00:45 | Do not mention *_sys crates if they are not needed.
They are only used so that the corresponding native libraries are linked
in to the static cURL library. This is not needed when building against
the system library:
- If it's a shared library, it is linked against them already and they
are not a part of the public... | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 74beaa9..9a25cae 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -178,12 +178,14 @@ fn main() {
cfg.define("USE_NGHTTP2", None)
.define("NGHTTP2_STATICLIB", None);
+ println!("cargo:rustc-cfg=link_libnghttp2");
if... | 2 | 7 | 3 |
a680bd4c452671f3991988120958e15f4c863e81 | Arun Kulshreshtha | 2019-03-26T00:51:11 | Fix typo in comment in handler.rs
s/automaticsally/automatically | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index c157a5c..bcb28f0 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -1214,7 +1214,7 @@ impl<H> Easy2<H> {
/// Configures the size of data that's going to be uploaded as part of a
/// POST operation.
///
- /// This is called automa... | 1 | 1 | 1 |
b192cd73c54e07a9297eec69f46430f951d6fb8a | Henrik Holmboe | 2019-03-17T22:31:00 | Fix doc comment for libss_version() | diff --git a/src/version.rs b/src/version.rs
index 4ca39c4..a83f285 100644
--- a/src/version.rs
+++ b/src/version.rs
@@ -222,7 +222,7 @@ impl Version {
}
}
- /// If available, the version of iconv libcurl is linked against.
+ /// If available, the version of libssh that libcurl is linked against.
... | 1 | 1 | 1 |
a3fe76a0773d0535034099e19a0feb147a81cb5e | Alex Crichton | 2019-03-12T14:37:50 | Bump to 0.4.20 | diff --git a/Cargo.toml b/Cargo.toml
index 44a2205..9736367 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.19"
+version = "0.4.20"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"
@@ -16,7 ... | 1 | 2 | 2 |
76cca5c42e465f863664a99fb1c3fbcf3d36aa1c | Alex Crichton | 2019-03-12T14:37:24 | Bump curl-sys to 0.4.17 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 4a5f242..a38cc45 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.16"
+version = "0.4.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
links = "curl"
build = "build.rs" | 1 | 1 | 1 |
308e4aece654d3d635634b97dd93516ce2775771 | Alex Crichton | 2019-03-12T14:22:57 | Skip verifying `CURL_SSLVERSION_TLSv1_3` when not available | diff --git a/systest/build.rs b/systest/build.rs
index 15e4df6..8f9aab6 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -82,6 +82,12 @@ fn main() {
_ => {}
}
}
+ if version < 54 {
+ match s {
+ "CURL_SSLVERSION_TLSv1_3" => return true,
+ ... | 1 | 6 | 0 |
af04eafea70387c9a6973f73be7bb4af9ed35a28 | Alex Crichton | 2019-02-19T15:30:20 | Don't run a test that can fail | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index bcc3c52..96c7d38 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -1745,7 +1745,8 @@ impl<H> Easy2<H> {
/// system resolver.
///
/// # Examples
- /// ```
+ ///
+ /// ```no_run
/// use curl::easy::{Easy, List};
//... | 1 | 2 | 1 |
74b8c7e53389b329fda645516d1d0ecf4c0c9914 | Guanqun Lu | 2019-02-15T16:40:01 | add TLSv1_3 | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index 8101f6b..df813f6 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -624,6 +624,7 @@ pub const CURL_SSLVERSION_SSLv3: CURLoption = 3;
pub const CURL_SSLVERSION_TLSv1_0: CURLoption = 4;
pub const CURL_SSLVERSION_TLSv1_1: CURLoption = 5;
pub const CURL_SSLVERSION... | 2 | 2 | 0 |
cf0ce85566a39ee7ab075f86743ce106bddd1b01 | Guanqun Lu | 2019-02-15T16:36:16 | Support more ssl versions | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index 2c2fa0e..8101f6b 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -621,9 +621,9 @@ pub const CURL_SSLVERSION_DEFAULT: CURLoption = 0;
pub const CURL_SSLVERSION_TLSv1: CURLoption = 1;
pub const CURL_SSLVERSION_SSLv2: CURLoption = 2;
pub const CURL_SSLVERSION_S... | 2 | 6 | 6 |
29a7f470924c0cb0b13182412f084b748a4661d3 | Thijs Cadier | 2019-01-31T10:15:13 | Add support for configuring DNS servers
Disabled feature by default because this only works when curl is linked
with `c-ares`. | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index 0930a1f..2c2fa0e 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -573,7 +573,7 @@ pub const CURLOPT_TRANSFER_ENCODING: CURLoption = CURLOPTTYPE_LONG + 207;
pub const CURLOPT_CLOSESOCKETFUNCTION: CURLoption = CURLOPTTYPE_FUNCTIONPOINT + 208;
pub const CURLOPT_... | 4 | 30 | 1 |
e5aecacd4f17cb56f37d0c6bf5af55829f90605f | Alex Crichton | 2019-01-08T23:28:42 | Bump to 0.4.16 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index c269028..4a5f242 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,8 +1,7 @@
[package]
name = "curl-sys"
-version = "0.4.15"
-authors = ["Carl Lerche <me@carllerche.com>",
- "Alex Crichton <alex@alexcrichton.com>"]
+version = "0.4.1... | 1 | 2 | 3 |
9af2588f3dcf6690c5a559266fc6e606911fd1a2 | Ivan Smirnov | 2019-01-08T23:24:27 | (More question marks) | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 05cc951..74beaa9 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -393,20 +393,14 @@ fn try_pkg_config() -> bool {
fn xcode_major_version() -> Option<u8> {
let output = Command::new("xcodebuild")
.arg("-version")
- .output();
- i... | 1 | 8 | 14 |
a1e2c4aaa736473f9fa4144e5d55b9f031c597f9 | Ivan Smirnov | 2019-01-08T23:22:46 | Clarify why we check Xcode version | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 3fdf488..05cc951 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -253,6 +253,10 @@ fn main() {
cfg.define("USE_DARWINSSL", None)
.file("curl/lib/vtls/darwinssl.c");
if xcode_major_version().map_or(t... | 1 | 4 | 0 |
a5fbae05ab9b99ecb0b977cc5824925a199895a4 | Ivan Smirnov | 2019-01-08T01:01:15 | Don’t define HAVE_BUILTIN_AVAILABLE if Xcode <= 8 | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 5d127bc..3fdf488 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -251,8 +251,10 @@ fn main() {
if cfg!(feature = "ssl") {
if target.contains("-apple-") {
cfg.define("USE_DARWINSSL", None)
- .defi... | 1 | 26 | 1 |
3a309647f1ac35ecd749236e14a16479b804bf16 | Alex Crichton | 2018-11-07T16:08:34 | Bump to 0.4.19 | diff --git a/Cargo.toml b/Cargo.toml
index ed38a61..44a2205 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.18"
+version = "0.4.19"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"
@@ -16,7 ... | 1 | 2 | 2 |
2e218c689438aa12419f11083f19418def00bda3 | Alex Crichton | 2018-11-07T16:08:03 | Bump curl-sys to 0.4.15 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 4390eed..c269028 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.14"
+version = "0.4.15"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>... | 1 | 1 | 1 |
e7abfe30858517c2914fa09f85c7066254f18316 | Alex Crichton | 2018-11-07T16:07:39 | Add new feature to `curl` crate too | diff --git a/Cargo.toml b/Cargo.toml
index 977aca41..ed38a61 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -44,6 +44,7 @@ ssl = ["openssl-sys", "openssl-probe", "curl-sys/ssl"]
http2 = ["curl-sys/http2"]
static-curl = ["curl-sys/static-curl"]
static-ssl = ["curl-sys/static-ssl"]
+force-system-lib-on-osx = ['curl-sys/f... | 1 | 1 | 0 |
ec57927060d31158d434b8c6f429d7d1e08653fb | Alex Crichton | 2018-11-07T16:05:37 | Add a feature to force the system lib on OSX | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index ae763b6..4390eed 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -44,3 +44,4 @@ http2 = ["libnghttp2-sys"]
static-curl = []
static-ssl = ["openssl-sys/vendored"]
spnego = []
+force-system-lib-on-osx = []
diff --git a/curl-sys/build.rs b/curl-... | 2 | 8 | 0 |
df2ea17154fd1d87e9c7b3c5f04bd1f84d50b9d7 | Alex Crichton | 2018-11-06T22:29:01 | Use static-libcurl on OSX without HTTP/2
This should fix the build of curl-sys whenever http2 support is
requested but the system libcurl doesn't look like it supports HTTP/2
(as is true for older OSX) | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index d403466..078634e 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -15,9 +15,11 @@ fn main() {
// If the static-curl feature is disabled, probe for a system-wide libcurl.
if !cfg!(feature = "static-curl") {
// OSX and Haiku ships libcur... | 1 | 31 | 23 |
ce0c8b28b1bcc64849317478f932eb7de246c00f | Alex Crichton | 2018-11-05T15:45:18 | Bump curl-sys to 0.4.14 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index cdeba93..ae763b6 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.13"
+version = "0.4.14"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>... | 1 | 1 | 1 |
9409e8e3d6ca7dff5e41978ec919249fb7dd537a | Eric Huss | 2018-11-05T00:15:05 | Support HTTP/2 on static curl-sys on MacOS. | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 9d416f1..d403466 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -242,6 +242,7 @@ fn main() {
if cfg!(feature = "ssl") {
if target.contains("-apple-") {
cfg.define("USE_DARWINSSL", None)
+ .defin... | 1 | 1 | 0 |
28b0d0bd9c8f624be8b4f2f5d48f8ea6368e5827 | Eric Huss | 2018-11-04T23:56:03 | Bump curl-sys to 0.4.13
I'm thoroughly confused, as the commit at
https://github.com/alexcrichton/curl-rust/commit/2783a574e5fbcf722387b70ec792ecfc0f79f367
doesn't seem to exist on any branch. | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 0ed3cc6..cdeba93 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.12"
+version = "0.4.13"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>... | 1 | 1 | 1 |
8179911f57675f595ddf7846262d32a62ca0da09 | Adrian Budau | 2018-10-02T11:18:27 | Fixed windows build with --no-default-features. | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index de9a578..771c27c 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -179,7 +179,8 @@ fn main() {
if windows {
cfg.define("USE_THREADS_WIN32", None)
.define("HAVE_IOCTLSOCKET_FIONBIO", None)
- .define("USE_WINSOCK", Non... | 1 | 2 | 2 |
d42c4f5e77a774ca7278afdf848a51420f3ec2e5 | Adrian Budau | 2018-10-02T09:47:48 | Changed feature name to ssl and made it apply to windows as well. | diff --git a/Cargo.toml b/Cargo.toml
index d53e482..b15652b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -39,8 +39,8 @@ mio-extras = "2.0.3"
members = ["systest"]
[features]
-default = ['openssl']
-openssl = ['openssl-sys', 'openssl-probe', 'curl-sys/openssl']
+default = ['ssl']
+ssl = ['openssl-sys', 'openssl-probe... | 6 | 24 | 21 |
490905221765233c204f0cce61a444217dd105a4 | Alex Crichton | 2018-10-01T16:59:33 | Bump to 0.4.18 | diff --git a/Cargo.toml b/Cargo.toml
index 547f2b2..552409a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.17"
+version = "0.4.18"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust" | 1 | 1 | 1 |
9347dd735d66e183493f95c58828cc87f8b35589 | Alex Crichton | 2018-10-01T16:59:12 | Fix typo in `Easy::noproxy` | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index d947c01..aa85877 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -893,7 +893,7 @@ impl<H> Easy2<H> {
/// `CURLOPT_NOPROXY`.
pub fn noproxy(&mut self, skip: &str) -> Result<(), Error> {
let skip = try!(CString::new(skip));
- ... | 1 | 1 | 1 |
29a178f0dafb345cf14f2007e93587143187328d | Adrian Budau | 2018-10-01T11:29:21 | Make the openssl dependency optional (with default on). | diff --git a/Cargo.toml b/Cargo.toml
index 547f2b2..d53e482 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -16,13 +16,13 @@ appveyor = { repository = "alexcrichton/curl-rust" }
[dependencies]
libc = "0.2.42"
-curl-sys = { path = "curl-sys", version = "0.4.9" }
+curl-sys = { path = "curl-sys", version = "0.4.9" , defau... | 6 | 25 | 18 |
8f6e7ef4db8d68cddaf8798f2a186dd06b910b99 | Bram Senders | 2018-09-24T14:08:53 | Point docs for Transfer::perform to Easy::perform
The docs for `Transfer::perform` erroneously said that it was the same as `Easy::transfer`. This should point to `Easy::perform` instead. | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index 139e0ad..8e231b3 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -1418,7 +1418,7 @@ impl<'easy, 'data> Transfer<'easy, 'data> {
Ok(())
}
- /// Same as `Easy::transfer`.
+ /// Same as `Easy::perform`.
pub fn perform(&self) ... | 1 | 1 | 1 |
38283b60c8602814b91099fab5121e78735d2fe5 | Alex Crichton | 2018-09-19T18:34:18 | Bump curl-sys to 0.4.12 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 58d8b21..e23d2b2 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.11"
+version = "0.4.12"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>... | 1 | 1 | 1 |
85161786e3ad230c287d59ceee2891647a068e59 | Alex Crichton | 2018-09-18T00:28:50 | Skip CURLE_PEER_FAILED_VERIFICATION on older libcurl | diff --git a/systest/build.rs b/systest/build.rs
index cc153b0..15e4df6 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -71,6 +71,7 @@ fn main() {
if version < 61 {
match s {
"CURLOPT_PIPEWAIT" => return true,
+ "CURLE_PEER_FAILED_VERIFICATION" => return tru... | 1 | 1 | 0 |
6f96947d8e45154ea2eb072dfcb732d4804af8d2 | Alex Crichton | 2018-09-18T00:27:12 | Update value for CURLE_PEER_FAILED_VERIFICATION
It's changed in the most recent `curl`! | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index d61660a..6de3d29 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -255,7 +255,7 @@ pub const CURLE_TOO_MANY_REDIRECTS : CURLcode = 47;
pub const CURLE_UNKNOWN_OPTION: CURLcode = 48;
pub const CURLE_TELNET_OPTION_SYNTAX : CURLcode = 49;
pub const CURLE_OBSOLET... | 1 | 1 | 1 |
05f28a2979732d9b5b763e1e1263b60b0958a796 | Alex Crichton | 2018-09-18T00:09:52 | Bump curl-sys to 0.4.11 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index dd9a1ff..58d8b21 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.10"
+version = "0.4.11"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>... | 1 | 1 | 1 |
2430d600c8a464d55b2fafe66905121c7813a7fe | Alex Crichton | 2018-09-17T18:44:15 | Bump to 0.4.17 | diff --git a/Cargo.toml b/Cargo.toml
index b40b553..547f2b2 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.16"
+version = "0.4.17"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust" | 1 | 1 | 1 |
bff814c984482e1842af906b1e51eaeb12f134a2 | Alex Crichton | 2018-09-17T18:41:07 | Add methods to return rich errors with `Multi`
Add accessors for the error information from each easy handle, setters for the
`Error` type, and convenience types on `Multi` to ensure the right error
information gets plumbed through. | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index bad296d..139e0ad 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -1239,6 +1239,11 @@ impl Easy {
pub fn raw(&self) -> *mut curl_sys::CURL {
self.inner.raw()
}
+
+ /// Same as [`Easy2::take_error_buf`](struct.Easy2.html#method.t... | 4 | 82 | 13 |
d5212ad137ce42a54e49c0bf7974eb63b6f39cfb | Alex Crichton | 2018-09-17T16:16:56 | Bump to 0.4.16 | diff --git a/Cargo.toml b/Cargo.toml
index 2cfaed3..b40b553 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.15"
+version = "0.4.16"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust" | 1 | 1 | 1 |
30a831722f957e1454285ea478d22625e98283c9 | Alex Crichton | 2018-09-14T20:13:55 | Use `try_with` to avoid panicking in `panic.rs`
Closes #226 | diff --git a/Cargo.toml b/Cargo.toml
index 8eeb871..2cfaed3 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -8,6 +8,7 @@ homepage = "https://github.com/alexcrichton/curl-rust"
documentation = "https://docs.rs/curl"
description = "Rust bindings to libcurl for making HTTP requests"
categories = ["api-bindings", "web-progr... | 3 | 32 | 3 |
0b05c7a5aa961d33e99c08d1b39f00d4f9d6435f | Alex Crichton | 2018-09-13T22:02:26 | Bump curl-sys to 0.4.10 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 31d9723..dd9a1ff 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.9"
+version = "0.4.10"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>"... | 1 | 1 | 1 |
dfbc148cfe0c03e278eecefc01175e392e0c233f | Alex Crichton | 2018-09-13T22:02:02 | Print out whether curl is a static build or not
Should hopefully help downstream crates! | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 7740e28..cbeb240 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -39,6 +39,7 @@ fn main() {
let build = dst.join("build");
println!("cargo:root={}", dst.display());
println!("cargo:include={}", include.display());
+ println!("cargo:sta... | 1 | 1 | 0 |
2bf25a64501303b5af79ccdf6ffcd1f1350fd570 | Alex Crichton | 2018-09-13T21:58:10 | Include -DCURL_STATICLIB in pkg-config | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 8dc13c1..7740e28 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -59,7 +59,7 @@ fn main() {
.replace("@exec_prefix@", "")
.replace("@libdir@", dst.join("lib").to_str().unwrap())
.replace("@includedir@", include.to_... | 1 | 1 | 1 |
6d7775b23c109fb3bd23ac6cfa6d757ed6a9293c | Alex Crichton | 2018-09-13T15:54:21 | Add best-effort inclusion of curl's pkg-config file | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 687889f..8dc13c1 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -48,6 +48,24 @@ fn main() {
fs::copy("curl/include/curl/stdcheaders.h", include.join("curl/stdcheaders.h")).unwrap();
fs::copy("curl/include/curl/system.h", include.join("curl/sy... | 1 | 18 | 0 |
babf7b87712b82755f5b3d7bbe1e38fb2d5fc77d | Alex Crichton | 2018-09-12T21:12:54 | Bump to 0.4.15 | diff --git a/Cargo.toml b/Cargo.toml
index 311063b..8eeb871 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.14"
+version = "0.4.15"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust" | 1 | 1 | 1 |
8abc16c24e7414b56927d33bde149178554ccded | Alex Crichton | 2018-09-12T21:12:11 | Bump curl-sys to 0.4.9 | diff --git a/Cargo.toml b/Cargo.toml
index 7e58575..311063b 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -15,7 +15,7 @@ appveyor = { repository = "alexcrichton/curl-rust" }
[dependencies]
libc = "0.2.42"
-curl-sys = { path = "curl-sys", version = "0.4.8" }
+curl-sys = { path = "curl-sys", version = "0.4.9" }
socket... | 2 | 2 | 2 |
39058b202315187369f2b833591b2818890584df | Alex Crichton | 2018-09-12T19:59:10 | Update more crate names | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index 0fcfddc..d61660a 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -8,7 +8,7 @@ extern crate openssl_sys;
#[cfg(windows)]
extern crate winapi;
#[cfg(feature = "http2")]
-extern crate nghttp2_sys;
+extern crate libnghttp2_sys;
use libc::{c_int, c_char, c_uin... | 1 | 1 | 1 |
f2370e87f5d3425ed6915fd25025d5cf6afbf26f | Alex Crichton | 2018-09-12T19:57:38 | Update nghttp2-sys dep | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 9946983..3f2d454 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -22,7 +22,7 @@ path = "lib.rs"
[dependencies]
libz-sys = "1.0.18"
libc = "0.2.2"
-nghttp2-sys = { optional = true, git = 'https://github.com/alexcrichton/nghttp2-rs' }
+libnghtt... | 1 | 2 | 2 |
9dd64814b970445b0f4fa8fca8d0d346a2cad69a | Alex Crichton | 2018-09-11T01:21:47 | Add an `nghttp2` feature for HTTP/2
This feature will enable the `nghttp2` library when building from source if curl
isn't otherwise found on the system. | diff --git a/Cargo.toml b/Cargo.toml
index 429c03a..7e58575 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -36,3 +36,6 @@ mio-extras = "2.0.3"
[workspace]
members = ["systest"]
+
+[features]
+http2 = ['curl-sys/http2']
diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 31da798..9946983 100644
--- a/curl-sys/... | 3 | 9 | 0 |
947308ec4dac5adfca3e1684eb2f8b6cdb818103 | Alex Crichton | 2018-09-11T21:04:08 | Skip verifying CURLOPT_PIPEWAIT on older versions | diff --git a/systest/build.rs b/systest/build.rs
index 9d753c0..cc153b0 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -68,6 +68,12 @@ fn main() {
});
cfg.skip_const(move |s| {
+ if version < 61 {
+ match s {
+ "CURLOPT_PIPEWAIT" => return true,
+ _ =... | 1 | 6 | 0 |
0871b7fd030e9e0a5d70160d77a7ef3caf458b56 | Alex Crichton | 2018-09-11T03:58:11 | Not really on top of my game tonight | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index 4df59da..bad296d 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -1145,7 +1145,7 @@ impl Easy {
/// Same as [`Easy2::pipewait`](struct.Easy2.html#method.pipewait)
pub fn pipewait(&mut self, wait: bool) -> Result<(), Error> {
- se... | 1 | 1 | 1 |
0b9e4b54ce7a3be271d6857e6e64b33ab14f9864 | Alex Crichton | 2018-09-11T03:56:57 | Add `pipewait` to `Easy` | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index f7663da..4df59da 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -1143,6 +1143,11 @@ impl Easy {
self.inner.cookies()
}
+ /// Same as [`Easy2::pipewait`](struct.Easy2.html#method.pipewait)
+ pub fn pipewait(&mut self, wait: boo... | 1 | 5 | 0 |
152c418d4f7b49935745d70e22489efb927618df | Alex Crichton | 2018-09-11T03:56:33 | Fix a typo | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index 0813bc3..31e605e 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -316,7 +316,7 @@ pub fn debug(kind: InfoType, data: &[u8]) {
drop(write!(out, "{} ", prefix));
match str::from_utf8(data) {
Ok(s) => drop(out.write_all(s.as_byte... | 1 | 1 | 1 |
5c0492e8aa00d766416cccff1fed161829eb6d7b | Alex Crichton | 2018-09-11T03:54:51 | Add support for `CURLOPT_PIPEWAIT` | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index 383e3ed..ac21378 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -586,6 +586,7 @@ pub const CURLOPT_SSL_OPTIONS: CURLoption = CURLOPTTYPE_LONG + 216;
// pub const CURLOPT_DNS_LOCAL_IP6: CURLoption = CURLOPTTYPE_OBJECTPOINT + 223;
// pub const CURLOPT_LOGIN_OP... | 2 | 32 | 0 |
acb3d925661a79ae63dd354e346dae89ba5b2667 | Alex Crichton | 2018-09-11T03:49:30 | Try again to not print garbled text to terminal | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index 5052f97..6f1184c 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -314,10 +314,9 @@ pub fn debug(kind: InfoType, data: &[u8]) {
};
let mut out = out.lock();
drop(write!(out, "{} ", prefix));
- match kind {
- InfoType::Ssl... | 1 | 3 | 4 |
4d2059803198a4564017c04bc9fa4c8834e850c5 | Alex Crichton | 2018-09-11T01:19:15 | Don't write raw SSL data to stdout
It's all encrypted anyway! | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index 7b3db79..5052f97 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -314,7 +314,11 @@ pub fn debug(kind: InfoType, data: &[u8]) {
};
let mut out = out.lock();
drop(write!(out, "{} ", prefix));
- drop(out.write_all(data));
+ mat... | 1 | 5 | 1 |
c0134a532a8b405f452c18a9bbfdd5deba9a931c | Alex Crichton | 2018-08-13T23:56:14 | Update to ctest 0.2 | diff --git a/systest/build.rs b/systest/build.rs
index cb70303..9d753c0 100644
--- a/systest/build.rs
+++ b/systest/build.rs
@@ -36,7 +36,7 @@ fn main() {
field.to_string()
}
});
- cfg.type_name(|s, is_struct| {
+ cfg.type_name(|s, is_struct, _is_union| {
match s {
... | 1 | 1 | 1 |
da01aa8f18b44a5a40a99247f87b9cd8fadb0bac | Alex Crichton | 2018-08-13T23:48:47 | Bump ctest to 0.2 | diff --git a/systest/Cargo.toml b/systest/Cargo.toml
index b45cdbf..a87e609 100644
--- a/systest/Cargo.toml
+++ b/systest/Cargo.toml
@@ -9,5 +9,5 @@ curl-sys = { path = "../curl-sys" }
libc = "0.2"
[build-dependencies]
-ctest = "0.1"
+ctest = "0.2"
cc = "1.0" | 1 | 1 | 1 |
2a7f845d82cff83b6b294e351792f9646033d20e | Stephen M. Coakley | 2018-08-12T04:45:43 | Add unpause methods for handles attached to multi | diff --git a/src/multi.rs b/src/multi.rs
index 0de52c3..78e1bb0 100644
--- a/src/multi.rs
+++ b/src/multi.rs
@@ -708,6 +708,34 @@ impl EasyHandle {
token))
}
}
+
+ /// Unpause reading on a connection.
+ ///
+ /// Using this function, you can explicitl... | 1 | 56 | 0 |
0eb2cbb158b4263aaad03c6ebc1468adf9248c6e | Alex Crichton | 2018-07-31T13:57:22 | Bump to 0.4.8 and curl-sys to 0.4.14 | diff --git a/Cargo.toml b/Cargo.toml
index 854c6b1..429c03a 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.13"
+version = "0.4.14"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"
@@ -15,7 ... | 2 | 3 | 3 |
1925d79c5f0377ff71d24486093a7267c86b38d4 | jake | 2018-07-30T23:47:43 | adds `set_max_host_connections` and `set_pipeline_length` to multi | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index ddc3ad4..383e3ed 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -920,8 +920,8 @@ pub const CURLMOPT_PIPELINING: CURLMoption = CURLOPTTYPE_LONG + 3;
pub const CURLMOPT_TIMERFUNCTION: CURLMoption = CURLOPTTYPE_FUNCTIONPOINT + 4;
pub const CURLMOPT_TIMERDATA: C... | 2 | 23 | 2 |
d988645de8c38f3997c367e957c4eba796fb6165 | Alex Crichton | 2018-07-24T14:04:43 | Bump to 0.4.13 | diff --git a/Cargo.toml b/Cargo.toml
index d1543fe..854c6b1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl"
-version = "0.4.12"
+version = "0.4.13"
authors = ["Alex Crichton <alex@alexcrichton.com>"]
license = "MIT"
repository = "https://github.com/alexcrichton/curl-rust"
@@ -14,21... | 1 | 8 | 8 |
89f45c72091393e544405ba185ac4e9bbfe688df | Alex Crichton | 2018-07-24T14:03:27 | Bump curl-sys to 0.4.7 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index d941af3..9779ab8 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.6"
+version = "0.4.7"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>"]... | 1 | 1 | 1 |
b0badcd6ba0bee5d7dacfd9832c2a067215235e8 | Finkelman | 2018-07-22T04:07:30 | get curl working with its minimal-versions | diff --git a/Cargo.toml b/Cargo.toml
index 4032d6f..d1543fe 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -24,7 +24,7 @@ openssl-sys = "0.9.0"
openssl-probe = "0.1"
[target."cfg(windows)".dependencies]
-winapi = "0.2"
+winapi = "0.2.7"
[target.'cfg(target_env="msvc")'.dependencies]
schannel = "0.1.8"
diff --git a... | 2 | 2 | 2 |
7632b88b342713b805f1582ca5cd46c7cca61b6b | Alex Crichton | 2018-07-17T16:15:01 | Fix a doc test | diff --git a/src/easy/handler.rs b/src/easy/handler.rs
index 76ef5f7..6f1b294 100644
--- a/src/easy/handler.rs
+++ b/src/easy/handler.rs
@@ -1733,7 +1733,7 @@ impl<H> Easy2<H> {
/// use curl::easy::{Easy, List};
///
/// let mut list = List::new();
- /// list.append("www.rust-lang.org:443:13.32.234.49"... | 1 | 1 | 1 |
042a867741519d78d38c39146aa72dde2a32adb4 | Marco Grassi | 2018-07-17T15:42:35 | added support for CURLINFO_CONTENT_LENGTH_DOWNLOAD | diff --git a/src/easy/handle.rs b/src/easy/handle.rs
index d753296..f7663da 100644
--- a/src/easy/handle.rs
+++ b/src/easy/handle.rs
@@ -1038,6 +1038,10 @@ impl Easy {
pub fn download_size(&mut self) -> Result<f64, Error> {
self.inner.download_size()
}
+ /// Same as [`Easy2::content_length_downloa... | 2 | 16 | 0 |
46db9d8d48caa9502c31b8d644ecf866f1e464d5 | Alex Crichton | 2018-07-13T20:37:36 | Bump curl-sys to 0.4.6 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 6ee800a..93f7a80 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.5"
+version = "0.4.6"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>"]... | 1 | 1 | 1 |
0273e2a634de7ecdf44235a0ac4601fe44b0e164 | Alex Crichton | 2018-07-13T20:35:37 | Remove compat with pre-1.0 versions of libz-sys
They probably don't exist today any more anyway! | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index 385a458..6ee800a 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -20,7 +20,7 @@ name = "curl_sys"
path = "lib.rs"
[dependencies]
-libz-sys = ">= 0.1.2"
+libz-sys = "1.0.18"
libc = "0.2.2"
[target."cfg(all(unix, not(target_os = \"macos\")... | 1 | 1 | 1 |
16578ff536b41818fc457e24a27c8335d9ebe1ac | Alex Crichton | 2018-07-04T16:02:37 | Expose http2 version accessor | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index d129b7a..ddc3ad4 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -851,7 +851,7 @@ pub const CURL_VERSION_CONV: c_int = 1 << 12;
pub const CURL_VERSION_CURLDEBUG: c_int = 1 << 13;
pub const CURL_VERSION_TLSAUTH_SRP: c_int = 1 << 14;
pub const CURL_VERSION_NTL... | 2 | 6 | 5 |
53073d5b95314ca5f59630e3e67fdfa89659d0ee | Alex Crichton | 2018-06-28T16:28:33 | Link libz-sys on MSVC
Not actually sure why it wasn't earlier... | diff --git a/curl-sys/lib.rs b/curl-sys/lib.rs
index 708b552..d129b7a 100644
--- a/curl-sys/lib.rs
+++ b/curl-sys/lib.rs
@@ -2,7 +2,6 @@
#![doc(html_root_url = "https://docs.rs/curl-sys/0.3")]
extern crate libc;
-#[cfg(not(target_env = "msvc"))]
extern crate libz_sys;
#[cfg(all(unix, not(target_os = "macos")))]
... | 1 | 0 | 1 |
3a2551fdcab34883206c08b8730bcdc44b0727c3 | Alex Crichton | 2018-06-28T16:20:44 | Squelch warnings in curl-sys build script | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index bde7bd2..e9f1894 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -3,6 +3,7 @@ extern crate pkg_config;
extern crate vcpkg;
extern crate cc;
+#[allow(unused_imports, deprecated)]
use std::ascii::AsciiExt;
use std::env;
use std::ffi::OsString; | 1 | 1 | 0 |
99a8802482ae340c88f550579be4f17b8c36c3c3 | Alex Crichton | 2018-06-28T14:23:52 | Manually disable `Expect` header in POST tests | diff --git a/tests/post.rs b/tests/post.rs
index ff11649..e13a5ec 100644
--- a/tests/post.rs
+++ b/tests/post.rs
@@ -1,6 +1,5 @@
extern crate curl;
-use std::str;
use std::time::Duration;
macro_rules! t {
@@ -10,7 +9,7 @@ macro_rules! t {
})
}
-use curl::easy::{Easy, Form};
+use curl::easy::{Easy, List, ... | 1 | 4 | 2 |
55a36b44b187ed7a756d9120d40692e29b75b27e | Alex Crichton | 2018-05-02T17:06:57 | Bump curl-sys to 0.4.5 | diff --git a/curl-sys/Cargo.toml b/curl-sys/Cargo.toml
index edb7541..385a458 100644
--- a/curl-sys/Cargo.toml
+++ b/curl-sys/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "curl-sys"
-version = "0.4.4"
+version = "0.4.5"
authors = ["Carl Lerche <me@carllerche.com>",
"Alex Crichton <alex@alexcrichton.com>"]... | 1 | 1 | 1 |
c70aa44f71e83cc41498122d844ad3aec4e35772 | Alex Crichton | 2018-05-02T17:06:27 | Don't use CC on msvc | diff --git a/curl-sys/build.rs b/curl-sys/build.rs
index 6b3787c..bde7bd2 100644
--- a/curl-sys/build.rs
+++ b/curl-sys/build.rs
@@ -318,6 +318,11 @@ fn build_msvc(target: &str) {
cmd.env_remove("MAKEFLAGS")
.env_remove("MFLAGS");
+ // While in theory clang-cl can be used it doesn't work because we ca... | 1 | 5 | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.