Commit Graph

93 Commits

Author SHA1 Message Date
Sean McArthur
38d08e0213 v0.6.7 2015-08-03 12:06:15 -07:00
Sean McArthur
5ca84f1666 chore(cargo): update mime dependency to 0.1 2015-08-03 12:06:15 -07:00
Sean McArthur
7d1f154cb7 feat(net): add socket timeouts to Server and Client
While these methods are marked unstable in libstd, this is behind a
feature flag, `timeouts`. The Client and Server both have
`set_read_timeout` and `set_write_timeout` methods, that will affect all
connections with that entity.

BREAKING CHANGE: Any custom implementation of NetworkStream must now
  implement `set_read_timeout` and `set_write_timeout`, so those will
  break. Most users who only use the provided streams should work with
  no changes needed.

Closes #315
2015-07-27 09:57:59 -07:00
Jonathan Reem
421422b620 v.0.6.6 2015-07-25 11:09:59 -07:00
Sean McArthur
aaf7995b43 v0.6.5 2015-07-23 13:43:42 -07:00
Sean McArthur
71db6a46c0 refactor(ssl): use openssl::DirectStreams 2015-07-23 13:13:43 -07:00
Jonathan Reem
7b108466f6 v0.6.4 2015-07-10 20:43:51 -07:00
Patrick Walton
87de1b77bc feat(http): add optional serialization of common types via serde
This is behind a Cargo feature to avoid forcing downstream users to
depend on `serde`. It is needed for Servo IPC to work.
2015-07-10 17:45:08 -07:00
Sean McArthur
623824d8b2 v0.6.3 2015-07-08 10:33:37 -07:00
Sean McArthur
3964a6bd3e v0.6.2 2015-07-06 15:23:03 -07:00
Sean McArthur
990819a6d6 v0.6.1 2015-06-26 21:28:40 -07:00
Sean McArthur
31e5a91350 Merge pull request #582 from mlalic/issue-580
refactor(http2): move to solicit v0.4
2015-06-26 21:18:22 -07:00
Sebastian Thiel
9af2b66fe4 fix(cargo): fix linking on OSX 10.10
On OSX 10.10, attempting to run `cargo test` will yield a
[linker error](https://gist.github.com/Byron/b7a50cdcf7c60234335d).

Just removing the feature fixes the issue, even though I am not
sure if it is breaking something further down the line.
2015-06-26 15:39:17 +02:00
Marko Lalic
526ce994a3 refactor(http2): move to solicit v0.4
Only minor details in the internals of the `h2` module needed tweaking
for migrating onto the latest version -- `HttpConnect` implementations
are now required to return an error type that implements an
`HttpConnectError` trait.
2015-06-26 14:53:58 +02:00
Sean McArthur
5bf91f09ee v0.6.0 2015-06-25 10:21:44 -07:00
Pyfisch
99ff7e6257 feat(langtags): use true language tags in headers
Make hyper dependant on rust-language-tags providing complete parsing
and formatting of language tags. Remove builtin solution for simple
tags.

BREAKING CHANGE: AcceptLanguage and ContentLanguage use LanguageTag now,
Language removed from Hyper.
2015-06-23 20:15:47 +02:00
Sean McArthur
53bba6eb7f feat(ssl): redesign SSL usage
BREAKING CHANGE: Server::https was changed to allow any implementation
  of Ssl. Server in general was also changed. HttpConnector no longer
  uses SSL; using HttpsConnector instead.
2015-06-20 14:58:58 -07:00
Marko Lalic
3122ffefc2 feat(http2): add dependency on solicit 2015-06-02 14:34:13 +02:00
Sean McArthur
0cd7e9d91f v0.5.2 2015-06-01 11:42:58 -07:00
Sean McArthur
9dc85279ac v0.5.1 2015-05-25 08:58:44 -07:00
Sean McArthur
6803ef3956 v0.5.0 2015-05-12 18:25:33 -07:00
Sean McArthur
af2daac33b chore(cargo): set stricter versions for dependencies 2015-05-11 19:09:50 -07:00
Sean McArthur
38f40c7f6a v0.4.0 2015-05-07 13:47:57 -07:00
Sean McArthur
da62ed4226 v0.3.16 2015-05-01 17:38:43 -07:00
Sean McArthur
06d0091b6d v0.3.15 2015-04-29 14:10:09 -07:00
Sean McArthur
6fad307753 v0.3.14 2015-04-18 20:48:28 -07:00
Sean McArthur
d3b1c80bb5 v0.3.13 2015-04-17 14:45:32 -07:00
Sean McArthur
9a8ea4a267 v0.3.12 2015-04-15 21:40:19 -07:00
Sean McArthur
55b37f0148 test(beta): enable testing on beta rustc 2015-04-15 11:59:23 -07:00
Jonathan Reem
ad797b0200 v0.3.11 2015-04-08 17:22:35 -07:00
Sean McArthur
8f1c82901e v0.3.10 2015-04-06 11:14:31 -07:00
Sean McArthur
4fecd64c0f v0.3.9 2015-04-03 09:57:53 -07:00
Jonathan Reem
320d10d50d chore(all): Move downcasting to a stable implementation. 2015-04-02 13:30:41 -07:00
Sean McArthur
1b28515b6e v0.3.8 2015-04-02 12:57:45 -07:00
Sean McArthur
dc55ecf982 v0.3.7 2015-03-31 17:09:01 -07:00
Sean McArthur
5f67c2d79b v0.3.6 2015-03-30 10:01:54 -07:00
Sean McArthur
8e1cd5e6e2 v0.3.5 2015-03-28 11:38:38 -07:00
Sean McArthur
b04f6d8e7a v0.3.4 2015-03-26 14:04:25 -07:00
Sean McArthur
a10e7ded93 v0.3.3 2015-03-25 13:03:49 -07:00
Sean McArthur
db3e8874fd v0.3.2 2015-03-20 17:33:18 -07:00
Sean McArthur
7469e62d1e v0.3.1 2015-03-18 11:05:08 -07:00
Sean McArthur
4fd8a6a9dc fix(rustup): update to latest rustc 2015-03-16 12:01:38 -07:00
Sean McArthur
b87bb20f0c perf(http): changes http parsing to use httparse crate
httparse is a http1 stateless push parser. This not only speeds up
parsing right now with sync io, but will also be useful for when we get
async io, since it's push based instead of pull.

BREAKING CHANGE: Several public functions and types in the `http` module
  have been removed. They have been replaced with 2 methods that handle
  all of the http1 parsing.
2015-03-13 16:56:13 -07:00
Sean McArthur
003b6551cf v0.3.0 2015-03-03 21:09:45 -08:00
Sean McArthur
df756871ed feat(headers): adds re-parsing ability when getting typed headers
BREAKING CHANGE: added requirement that all HeaderFormat implementations
  must also be fmt::Debug. This likely as easy as slapping
  #[derive(Debug)] on to any custom headers.
2015-03-03 18:51:29 -08:00
Sean McArthur
b1b8bf1db7 v0.2.1 2015-02-27 06:01:44 -08:00
Sean McArthur
41fd8de243 v0.2.0 2015-02-21 15:15:09 -08:00
Sean McArthur
bdb4d0e56e v0.1.13 2015-02-17 15:31:11 -08:00
Sean McArthur
11f10ccdf2 v0.1.12 2015-02-13 12:28:43 -08:00
Sean McArthur
f836ee89c1 v0.1.11 2015-02-06 22:10:17 -08:00