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
Garrett Squire
ec568e9a55
fix(headers): remove charset from ContentType::json() convenience method
...
since the JSON mime type does not accept a charset, this patch removes
it
closes https://github.com/hyperium/hyper/issues/737
2016-03-08 17:41:34 -08:00
Sean McArthur
45ec6fd884
Merge pull request #739 from OlegTsyba/fix_grow_zerofill
...
fix(buffer): prevent possible buffer overflow in `grow_zerofill`
2016-03-02 11:06:36 -08:00
OlegTsyba
c720295e99
fix(buffer): prevent possible buffer overflow in grow_zerofill
...
in `maybe_reserve` we have such code
```
let new = self.buf.capacity() - self.buf.len();
unsafe { grow_zerofill(&mut self.buf, new) }
```
the original behavior of `grow_zerofill` in such case cause
rewriting the memory behind the allocated vector.
2016-03-02 17:20:18 +02:00
debris
33d5da2136
refactor(headers): updated serde to version 0.7
2016-02-27 15:04:30 +01:00
Sean McArthur
63b2759e2f
docs(readme): remove warning from Server example
2016-02-22 11:14:34 -08:00
Sean McArthur
2b05fab85e
Merge pull request #732 from JohanLorenzo/update-listening-doc
...
docs(server): add a warning to Listening::close() in order to reflect #338
2016-02-19 14:07:08 -08:00
Johan Lorenzo
5c8b63028c
docs(server): add a warning to Listening::close() in order to reflect #338
2016-02-19 14:25:12 +01:00
Sean McArthur
a2ab168186
Merge pull request #731 from OlegTsyba/typo_in_set_write_timeout
...
fix(net): fix the typo in `set_write_timeout`
2016-02-17 09:51:56 -08:00
OlegTsyba
7c76fff3aa
fix(net): fix the typo in set_write_timeout
2016-02-17 19:13:40 +02:00
Sean McArthur
af944d784c
Merge pull request #729 from sfackler/client-debug
...
feat(client): Implement Debug for Client
2016-02-15 15:57:02 -08:00
Steven Fackler
8c7ef7fd93
feat(client): Implement Debug for Client
...
Protocol doesn't extend Debug so we have to leave that out of the
output unfortunately.
2016-02-15 14:43:50 -08:00
Sean McArthur
e8245aa7fb
v0.7.2
2016-01-04 15:24:31 -08:00
Sean McArthur
28b395d165
Merge pull request #718 from hyperium/715-buffer-grow-error
...
fix(buffer): fix incorrect resizing of BufReader
2016-01-04 15:22:00 -08:00
Sean McArthur
3a18e72be6
fix(buffer): fix incorrect resizing of BufReader
...
Closes #715
2016-01-04 15:00:37 -08:00
Sean McArthur
a4230eb510
Merge pull request #713 from malept/additional-extended-value-api
...
Additional ExtendedValue API
2015-12-31 12:50:48 -08:00