sklv
9928559067
Make SOCKS5 connection respect timeout_connect.
2020-04-18 11:47:37 +02:00
sklv
05ce690ebd
Add initial SOCKS5 support.
2020-04-18 11:47:30 +02:00
Martin Algesten
12110bd6a5
0.12.1
2020-04-12 09:46:01 +02:00
Koga Kazuo
e5fa36f98e
Fix panic on invalid authority
2020-04-12 09:41:35 +02:00
Koga Kazuo
661853b95d
Check status code that has no response body
2020-04-12 09:10:39 +02:00
Nicolas Viennot
31ae90e614
Use platform certificates when target "native-certs" is set
...
This is useful in Entreprise configurations.
2020-04-12 09:08:52 +02:00
Nicolas Viennot
652500f5a8
Improve chunked transfer upload performance
...
This implementation improves over chunked_transfer's Encoder + io::copy
with the following performance optimizations:
1) It avoid copying memory
2) chunked_transfer's Encoder issues 4 separate write() per chunk.
This is costly overhead. Instead, we do a single write() per chunk
The measured benefit on a Linux machine is a 50% reduction in CPU usage
on a https connection.
2020-04-06 09:15:41 +02:00
Martin Algesten
b62db974f0
0.12.0
2020-03-14 10:42:11 +01:00
rustysec
bb498ce699
added basic authentication method
2020-03-14 09:54:54 +01:00
rustysec
3b0df412ef
initial proxy impl
2020-03-14 09:54:54 +01:00
Martin Algesten
2956683870
bump deps, fix clippy warnings
2020-03-14 09:54:54 +01:00
Nick Babcock
3ef304f290
Bump rustls + co
2020-03-14 09:43:00 +01:00
Martin Algesten
f61ef77f7f
0.11.4
2020-02-06 08:19:12 +01:00
Martin Algesten
662d001c79
update readme about ureqs future
2020-02-06 08:18:45 +01:00
Rob Young
28bdb89175
Set a default content type for JSON requests
...
When sending a JSON request a Content-Type of application/json is
usually wanted. This is often set as a default for JSON methods by HTTP
clients so can be confusing when it is not set. However, we do not want
to prevent the user from setting their own Content-Type.
2020-02-06 07:57:00 +01:00
Waldir Pimenta
fb158ca73a
Add missing license files ( #34 )
...
Follow-up of commit ee40b2c , which included relative links in the README
to files that don't exist in the repository.
2020-01-26 23:18:22 +01:00
Michael Aquilina
5365e6eeaa
Add README badges for crates.io and documentation ( #36 )
2020-01-26 23:17:05 +01:00
Razvan Rotari
09dabbdd49
Disable the native system timeout for socket
2020-01-17 23:15:26 +01:00
Martin Algesten
daaf84a41c
0.11.3
2020-01-07 08:13:56 +01:00
Martin Algesten
a4bae72fcb
cargo fmt
2020-01-07 08:08:12 +01:00
Martin Algesten
63cfcfb23e
doc format
2020-01-07 08:07:51 +01:00
Martin Algesten
cba5b2d078
fix workflow
2020-01-07 08:06:51 +01:00
Martin Algesten
4b9cfe2b67
fix clippy lints
2020-01-07 07:59:29 +01:00
Martin Algesten
a6f64188dc
update serde_macros from origin
2020-01-07 07:59:29 +01:00
Martin Algesten
10fb4a1649
bump deps
2020-01-07 07:59:29 +01:00
Tom Forbes
594340a096
Fix compilation errors with the cookies feature ( #22 )
...
* Fix compilation errors with the cookies feature
2019-10-30 11:51:06 +01:00
Tom Forbes
e9ca3b26d5
Test pull requests
2019-10-20 21:38:03 +02:00
Martin Algesten
753d61b454
Retry some pooled connections failing when server closes. Close #10
...
This is not a perfect solution. It works as long as we are not sending
any body bytes. We discover the error first when attempting to read
the response status line. That means we discover the error after
sending body bytes. To be able to re-send the body, we would need to
introduce a buffer to be able to replay the body on the next
request. We don't currently do that.
2019-10-20 21:36:38 +02:00
Tom Forbes
1264213ca6
Test features individually
2019-10-20 20:17:35 +02:00
Tom Forbes
da42f2ed8f
Make cookies conditional
2019-10-20 20:17:35 +02:00
Martin Algesten
9afbb834af
Correctness doc comment
2019-10-20 19:32:18 +02:00
Martin Algesten
3642e27a26
CI badge
2019-10-20 19:31:48 +02:00
Martin Algesten
e0da4bc2d6
nop
2019-10-20 19:16:06 +02:00
Martin Algesten
d9b8fef9a0
Code comment on *mut Stream effect on thread safety
2019-10-20 14:08:21 +02:00
Martin Algesten
8871183df0
0.11.2
2019-10-20 13:32:09 +02:00
Martin Algesten
4c490ed7f1
bump deps
2019-10-20 13:31:30 +02:00
scOwez
8d8e1481d4
Added JetBrains-based and VSCode metadata folders to .gitignore
2019-10-20 12:42:30 +02:00
scOwez
f8d45714f6
Removed .vscode/ folder
2019-10-20 12:42:30 +02:00
Martin Algesten
acffc5fe13
Rename YoloRead -> ReclaimingRead
...
To better reflect why this is necessary. Also provide a doc comment why this is needed.
2019-10-20 12:31:55 +02:00
Martin Algesten
27be8117b8
Avoid tuple to describe response status line
2019-10-20 12:25:54 +02:00
Martin Algesten
d8f8220c3c
clippy fix warning
2019-10-20 11:49:20 +02:00
Martin Algesten
acb40cc1a3
Fail if PoolKey::new() cant find port
2019-10-20 11:45:37 +02:00
Martin Algesten
f58ecac620
Simpler comparison for retaining x- headers
2019-10-20 11:19:16 +02:00
Martin Algesten
999653e7f3
handle header with spaces before value
2019-10-20 10:58:16 +02:00
Martin Algesten
e936d5ea74
cargo fmt
2019-10-20 10:41:35 +02:00
Martin Algesten
ed999b579d
Removing AsciiString dep and one unsafe
...
This library is not about enforcing standards, so the internal use of
AsciiString for headers and status lines is not necessary.
2019-10-20 10:40:30 +02:00
Martin Algesten
ee40b2cff0
Clarify license. Close #19
2019-10-20 10:26:05 +02:00
Tom Forbes
ed29d3feb5
Add --all-features
2019-10-20 10:24:04 +02:00
Tom Forbes
e693dec7a8
Add github actions to the project
2019-10-20 10:24:04 +02:00
Martin Algesten
c307da1fc0
qstring 0.7
2019-09-15 10:43:49 +02:00