Sean McArthur 
							
						 
					 
					
						
						
							
						
						afbd9e644d 
					 
					
						
						
							
							Improve error message when using blocking Client inside a Future  
						
						
						
						
					 
					
						2019-07-19 11:47:35 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5096e12fa2 
					 
					
						
						
							
							Use executor::enter before blocking a thread in wait  
						
						
						
						
					 
					
						2019-06-05 14:41:53 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						964d87ce57 
					 
					
						
						
							
							Update trait object syntax to use 'dyn'  
						
						
						
						
					 
					
						2019-06-03 13:15:09 -07:00 
						 
				 
			
				
					
						
							
							
								nirasan 
							
						 
					 
					
						
						
							
						
						9f22f46e85 
					 
					
						
						
							
							Clarify correct specification of dependency on serde ( #525 )  
						
						... 
						
						
						
						Closes  #494  
					
						2019-05-16 10:46:00 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						6df910a61c 
					 
					
						
						
							
							re-add Error::cause() impl  
						
						
						
						
					 
					
						2019-04-25 18:36:31 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						29f7fa74cc 
					 
					
						
						
							
							combine ClientError and ServerError into Status kind  
						
						
						
						
					 
					
						2019-04-25 10:54:55 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						45484d8077 
					 
					
						
						
							
							implement Error::source()  
						
						
						
						
					 
					
						2019-04-25 10:45:30 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						17850942c8 
					 
					
						
						
							
							remove some noise from Error debug format  
						
						
						
						
					 
					
						2019-04-25 10:32:53 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e4b91ad201 
					 
					
						
						
							
							improve error messages from gzip decoder  
						
						
						
						
					 
					
						2019-04-25 10:28:13 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						ce51fe83d6 
					 
					
						
						
							
							Add request timeout support to async Client ( #501 )  
						
						... 
						
						
						
						Closes  #496  
					
						2019-04-22 12:43:30 -07:00 
						 
				 
			
				
					
						
							
							
								Diggory Blake 
							
						 
					 
					
						
						
							
						
						c45ff29bfb 
					 
					
						
						
							
							Add support for SOCKS5 proxies, and parsing proxy authorizations from URLs  
						
						
						
						
					 
					
						2019-04-08 11:42:18 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						cd0e4b3c2e 
					 
					
						
						
							
							Add Error::is_timeout() accessor  
						
						
						
						
					 
					
						2019-02-20 15:15:55 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						4d221533a2 
					 
					
						
						
							
							Switch trust-dns to an off-by-default optional feature  
						
						
						
						
					 
					
						2019-01-11 17:30:10 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						23e13304ef 
					 
					
						
						
							
							Disable trust-dns on Windows  
						
						... 
						
						
						
						Closes  #431  
					
						2019-01-11 12:34:03 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						b71787be86 
					 
					
						
						
							
							refactor DNS resolver construction  
						
						... 
						
						
						
						- System Conf is read as `ClientBuilder::build()` time, providing the
  error earlier.
- If there is an error reading the resolve system conf, a better error
  is reported.
- Resolver only needs to lock a mutex once to spawn the background task,
  instead of every single `resolve` call. 
						
						
					 
					
						2019-01-10 12:47:29 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						11d7812e88 
					 
					
						
						
							
							rename Incompatile error kind to TlsIncompatible  
						
						
						
						
					 
					
						2019-01-04 14:46:58 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						0f4055f9ec 
					 
					
						
						
							
							remove Error::is_runtime_startup accessor  
						
						
						
						
					 
					
						2019-01-03 11:07:09 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						3877e8729c 
					 
					
						
						
							
							add Error::is_runtime_startup() method  
						
						
						
						
					 
					
						2019-01-02 11:12:25 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						4df232efad 
					 
					
						
						
							
							Return an Error instead of panic if sync Client cannot startup runtime.  
						
						... 
						
						
						
						The timeout is also increased to 10 seconds from 5.
Closes  #392  
						
						
					 
					
						2018-12-26 17:15:58 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						c4985674aa 
					 
					
						
						
							
							remove Inner noise from Error Debug format  
						
						
						
						
					 
					
						2018-12-19 11:23:35 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						49d2905011 
					 
					
						
						
							
							allow deprecated Error::cause in test  
						
						
						
						
					 
					
						2018-12-17 13:28:57 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						11962e36ab 
					 
					
						
						
							
							allow deprecated on Error::cause  
						
						
						
						
					 
					
						2018-12-17 12:23:30 -08:00 
						 
				 
			
				
					
						
							
							
								quininer 
							
						 
					 
					
						
						
							
						
						37039760f8 
					 
					
						
						
							
							Add rustls support ( #390 )  
						
						
						
						
					 
					
						2018-12-17 11:57:43 -08:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						97393143a5 
					 
					
						
						
							
							put all TLS functionality behind a feature flag  
						
						... 
						
						
						
						The "Cargo feature" `default-tls`, which is enabled by default, is
added, with all TLS support relying on it. This allows using reqwest but
disabling the `native-tls` dependency, by disabling this feature.
Closes  #225  
						
						
					 
					
						2018-10-29 16:37:25 -07:00 
						 
				 
			
				
					
						
							
							
								Yannick Heinrich 
							
						 
					 
					
						
						
							
						
						c4bf420021 
					 
					
						
						
							
							Integrate helper functions inside corresponding structs  
						
						
						
						
					 
					
						2018-10-05 11:19:52 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						1a513efe39 
					 
					
						
						
							
							reduce size of Error  
						
						
						
						
					 
					
						2018-09-19 15:39:32 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						2698148743 
					 
					
						
						
							
							fix improper handling of request body backpressure  
						
						... 
						
						
						
						Closes  #348  
					
						2018-09-19 14:20:12 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						610cdd266c 
					 
					
						
						
							
							Fix panicking when passed a file:// URL  
						
						... 
						
						
						
						Closes  #347  
					
						2018-09-18 12:43:54 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						6dfb7a5a0e 
					 
					
						
						
							
							pub(crate)ify the error module  
						
						
						
						
					 
					
						2018-09-11 13:52:04 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5abf064770 
					 
					
						
						
							
							change multipart::Part::mime() to mime_str()  
						
						... 
						
						
						
						The mime crate is expecting a breaking change to 0.4, so to remove the
public dependency, this method is changed to `mime_str`, which will
parse a MIME string instead. 
						
						
					 
					
						2018-09-11 13:39:14 -07:00 
						 
				 
			
				
					
						
							
							
								Yash Srivastav 
							
						 
					 
					
						
						
							
						
						c417d6dab8 
					 
					
						
						
							
							Upgrade hyper to 0.12  
						
						... 
						
						
						
						Closes  #304  
					
						2018-07-05 10:03:31 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e5753a5eb4 
					 
					
						
						
							
							remove hyper::Error::Ssl  
						
						
						
						
					 
					
						2017-06-28 11:09:40 -07:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						855e6615eb 
					 
					
						
						
							
							Add error_for_status.  
						
						... 
						
						
						
						This makes it it easy to turn error responses into error
results. 
						
						
					 
					
						2017-06-22 11:03:39 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						665b4fe718 
					 
					
						
						
							
							upgrade hyper to v0.11  
						
						
						
						
					 
					
						2017-06-21 09:47:21 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						8633060eaf 
					 
					
						
						
							
							error docs touchups  
						
						
						
						
					 
					
						2017-06-11 11:03:15 -07:00 
						 
				 
			
				
					
						
							
							
								Andrew Gauger 
							
						 
					 
					
						
						
							
						
						c8d03dd8b9 
					 
					
						
						
							
							Examples for Error Documentation ( #144 )  
						
						
						
						
					 
					
						2017-06-11 09:55:12 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						0759f43ecb 
					 
					
						
						
							
							change error.cause() to return error.get_ref().cause()  
						
						... 
						
						
						
						Also note, this has a functional breaking change:
IO, URL, and TLS errors reported by hyper are promoted internally.
That means you shouldn't downcast `get_ref` to a `hyper::Error` to
look for those errors.
Closes  #140  
						
						
					 
					
						2017-06-09 17:49:10 -07:00 
						 
				 
			
				
					
						
							
							
								theduke 
							
						 
					 
					
						
						
							
						
						583fceb51f 
					 
					
						
						
							
							Move try_ macro to error.rs.  
						
						... 
						
						
						
						Fixes  #109 . 
					
						2017-06-07 18:07:22 -07:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						83c71d4465 
					 
					
						
						
							
							Hide internal conversions to reqwest::Error.  
						
						
						
						
					 
					
						2017-06-01 14:10:59 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						0f37eb0ce0 
					 
					
						
						
							
							Make Error::get_ref return a Send+Sync error.  
						
						
						
						
					 
					
						2017-05-31 23:16:44 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						a36ed4a87a 
					 
					
						
						
							
							Add a conversion from native_tls::Error.  
						
						
						
						
					 
					
						2017-05-31 19:27:45 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						a2c24a4009 
					 
					
						
						
							
							Some slightly less trivial rustfmt changes.  
						
						
						
						
					 
					
						2017-05-31 14:50:32 -06:00 
						 
				 
			
				
					
						
							
							
								Tom Prince 
							
						 
					 
					
						
						
							
						
						4c60e6d35f 
					 
					
						
						
							
							Really trivial rustfmt changes.  
						
						
						
						
					 
					
						2017-05-31 14:50:32 -06:00 
						 
				 
			
				
					
						
							
							
								Corentin Henry 
							
						 
					 
					
						
						
							
						
						6cde2e538e 
					 
					
						
						
							
							Fix build for nightly-2017-05-22  
						
						... 
						
						
						
						Compilation fails with nightly-2017-05-22:
```
error: unused macro definition
   --> src/error.rs:188:1
    |
188 | / macro_rules! try_ {
189 | |     ($e:expr) => (
190 | |         match $e {
191 | |             Ok(v) => v,
...   |
204 | |     )
205 | | }
    | |_^
    |
    = note: #[deny(unused_macros)] implied by #[deny(warnings)]
note: lint level defined here
   --> src/lib.rs:1:9
    |
1   | #![deny(warnings)]
    |         ^^^^^^^^
```
Removing the duplicate (and unused) `try_!` macro in error.rs fixes the
warning. 
						
						
					 
					
						2017-05-23 17:11:01 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						5a078cd1be 
					 
					
						
						
							
							remove unintended export of private try_ macro  
						
						
						
						
					 
					
						2017-05-18 10:57:10 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						57359a6e2f 
					 
					
						
						
							
							remove unintended export of private try_ macro  
						
						
						
						
					 
					
						2017-05-18 09:22:00 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						b1f40b776d 
					 
					
						
						
							
							add Error::get_ref method with 'static bound  
						
						
						
						
					 
					
						2017-05-12 22:03:24 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						d514d4e6e8 
					 
					
						
						
							
							redirect and error reform  
						
						... 
						
						
						
						- `Error` has been made an opaque struct.
- `RedirectPolicy` now makes use of `RedirectAttempt` and `RedirectAction`. 
						
						
					 
					
						2017-05-08 11:38:48 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						b5475f6903 
					 
					
						
						
							
							tidy up some clippy warnings  
						
						
						
						
					 
					
						2017-05-05 14:13:54 -07:00 
						 
				 
			
				
					
						
							
							
								Sean McArthur 
							
						 
					 
					
						
						
							
						
						e92b3e862a 
					 
					
						
						
							
							add support for defining RedirectPolicy for a Client  
						
						
						
						
					 
					
						2016-12-10 11:36:22 -08:00