Commit Graph

1037 Commits

Author SHA1 Message Date
Sean McArthur
d35992d019 feat(lib): switch to non-blocking (asynchronous) IO
BREAKING CHANGE: This breaks a lot of the Client and Server APIs.
  Check the documentation for how Handlers can be used for asynchronous
  events.
2016-05-16 09:51:18 -07:00
Sean McArthur
1ec56fe6b6 v0.9.4 2016-05-09 15:09:26 -07:00
Sean McArthur
55f2468e4e Merge pull request #787 from hyperium/openssl-ciphers
fix(ssl): use secure ciphers by default in openssl
2016-05-09 13:15:36 -07:00
Sean McArthur
54bf6adeee fix(ssl): use secure ciphers by default in openssl 2016-05-09 12:47:09 -07:00
Sean McArthur
1a0be10629 Merge pull request #788 from hyperium/nightly-fixes
fix(warnings): remove unused_code warnings from newest nightlies
2016-05-09 12:46:09 -07:00
Sean McArthur
e7229480ea fix(warnings): remove unused_code warnings from newest nightlies 2016-05-09 11:51:51 -07:00
Sean McArthur
6a21901f46 Merge pull request #784 from hyperium/openssl-verify
feat(ssl): enable hostname verification by default for OpenSSL
2016-05-08 10:52:22 -07:00
Sean McArthur
01160abd92 feat(ssl): enable hostname verification by default for OpenSSL
Additionally disables SSLv2 and SSLv3, as those are universally considered
unsafe.

Closes #472
2016-05-08 10:04:37 -07:00
Sean McArthur
eab289b7d2 v0.9.3 2016-05-05 14:30:34 -07:00
Sean McArthur
17f818e5c1 Merge pull request #781 from hyperium/pool-mutex-race
fix(client): fix panic in Pool::connect
2016-05-05 12:16:47 -07:00
Sean McArthur
6d8fc2e7b0 Merge pull request #779 from Manishearth/doc-md
Clippy fixes with markdown docs
2016-05-05 11:06:40 -07:00
Sean McArthur
e51bafe2e4 fix(client): fix panic in Pool::connect
Closes #780
2016-05-05 10:45:16 -07:00
Manish Goregaokar
b840963629 docs(*): Clippy fixes with markdown docs 2016-05-05 22:50:23 +05:30
Sean McArthur
1d936fee90 v0.9.2 2016-05-04 11:16:13 -07:00
Sean McArthur
283b1cace1 Merge pull request #775 from hyperium/774-proxy-host
fix(client): fix Host header when using a Proxy
2016-05-04 10:53:24 -07:00
Sean McArthur
f36c6b255f feat(client): proper proxy and tunneling in Client
Closes #774
2016-05-02 12:33:49 -07:00
Sean McArthur
3a3e08687b Merge pull request #771 from hyperium/allow-proxy
feat(client): add Proxy support
2016-04-26 12:19:42 -07:00
Sean McArthur
25010fc1fc feat(client): add Proxy support
This works by configuring proxy options on a `Client`, such as
`client.set_proxy("http", "127.0.0.1", "8018")`.

Closes #531
2016-04-25 15:49:57 -07:00
Sean McArthur
5fcc04a6cd perf(client): dont keep Pool mutex locked during getaddrinfo 2016-04-25 15:36:55 -07:00
Sean McArthur
4828437551 v0.9.1 2016-04-21 17:10:51 -07:00
Sean McArthur
b783ddf455 fix(Cargo.toml): update documentation link 2016-04-21 17:10:22 -07:00
Sean McArthur
eda5ca5b7f v0.9.0 2016-04-21 16:17:25 -07:00
Sean McArthur
9955f2e75c docs(README): update links to documentation for stable and master 2016-04-21 16:16:00 -07:00
Simon Sapin
8fa7a98968 refactor(hyper): Update to rust-url 1.0
BREAKING CHANGE: The re-exported Url type has breaking changes.
2016-04-21 16:14:08 -07:00
Sean McArthur
4bdf52a482 Merge pull request #764 from hyperium/readme-tests
test(readme): test readme code fences
2016-04-19 17:25:03 -07:00
Sean McArthur
b98662ab6d test(readme): test readme code fences 2016-04-19 15:58:50 -07:00
Sean McArthur
635622c37f Merge pull request #762 from sfackler/security-framework
Add SslClient and SslServer implementations for security-framework
2016-04-16 22:51:40 -07:00
Sean McArthur
71ca26d25d Merge pull request #760 from frewsxcv/patch-1
Enable Travis CI testing on OSX.
2016-04-16 22:50:26 -07:00
Corey Farwell
e8826917d1 chore(travis): Enable Travis CI testing on OSX.
In preparation for https://github.com/hyperium/hyper/issues/755.
2016-04-16 21:02:04 -04:00
Sean McArthur
bb5f17daef Merge pull request #761 from frewsxcv/patch-2
Remove now default 'sudo: false'.
2016-04-16 18:01:16 -07:00
Steven Fackler
f37315b270 feat(net): Add Ssl impls for security-framework
Cloese #755
2016-04-16 16:20:52 -07:00
Corey Farwell
c53b5b242d chore(travis): Remove now default 'sudo: false'.
'sudo: false' is now default on Travis CI.
2016-04-16 16:59:27 -04:00
Sean McArthur
caa796f98d v0.8.1 2016-04-13 15:12:40 -07:00
Sean McArthur
80f012321e Merge pull request #757 from sfackler/ssl-split
feat(net): Split Ssl into SslClient and SslServer
2016-04-06 13:51:13 -07:00
Steven Fackler
2c86e8078e feat(net): Split Ssl into SslClient and SslServer
SSL libraries other than OpenSSL don't necessarily have the ability to
easily create server and client side connections at the same time. This
is backwards compatible due to blanket impls.

Closes #756
2016-04-05 21:48:53 -07:00
Sean McArthur
bc3878de36 Merge pull request #750 from calebmer/feat/prefer
feat(header): add prefer and preference applied headers
2016-03-31 18:56:58 -07:00
calebmer
6f6493010a feat(header): add prefer and preference applied headers
Closes #747
2016-03-31 15:46:34 -04:00
Sean McArthur
c85b056cab chore(docs): fix docs.sh token usage 2016-03-24 20:24:18 -07:00
Sean McArthur
cbf83a4d5a Merge pull request #751 from hyperium/per-tag-docs
chore(docs): publish docs per version
2016-03-24 19:52:47 -07:00
Sean McArthur
905e0d2ff4 chore(docs): publish docs per version 2016-03-24 18:57:23 -07:00
Sean McArthur
2cb83b4271 Merge pull request #743 from Stebalien/repeated-header
Correctly handle repeated headers.
2016-03-24 17:25:34 -07:00
Steven Allen
70c6914217 fix(headers): correctly handle repeated headers
HeaderX: a
    HeaderX: b

MUST be interpreted as

    HeaderX: a, b

See: https://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2

Fixes #683
2016-03-24 14:19:15 -07:00
Sean McArthur
028f586432 Merge pull request #745 from dbrgn/json-comment
Remove "charset" from ContentType::json() docs
2016-03-15 09:04:39 -07:00
Danilo Bargen
eedd5b73ee docs(headers): Remove charset from json() docs
Leftover from ec568e9a55.
2016-03-15 12:33:32 +01:00
Sean McArthur
19c9a92595 v0.8.0 2016-03-14 09:57:05 -07:00
Sean McArthur
af78eab5e0 Merge pull request #744 from jongiddy/add-status-421-451
feat(status): add HTTP statuses 421 and 451
2016-03-14 09:53:00 -07:00
Jonathan Giddy
93fd5a87bd feat(status): add HTTP statuses 421 and 451
The official IANA list at
http://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml
has two new status codes that are missing from the hyper status list.
2016-03-14 10:31:54 +00:00
Sean McArthur
146df53caf chore(dependencies): update mime to 0.2
BREAKING CHANGE: mime 0.2 depends on serde 0.7, so any instances of
  using older versions of serde will need to upgrade.
2016-03-09 13:27:52 -08:00
Sean McArthur
d1f9f5f694 Merge pull request #736 from debris/serde_up
refactor(headers): updated serde to version 0.7
2016-03-09 11:01:18 -08:00
Sean McArthur
3dcb869d9e Merge pull request #742 from gsquire/json-charset-bug
JSON Charset patch
2016-03-09 09:04:55 -08:00