Commit Graph

69 Commits

Author SHA1 Message Date
Sebastian Mayr 02b5dd121b Drop content length headers from 101 responses
After the refactor in 3901239128 101
responses started to be forced to emit `transfer-encoding: chunked`
headers. However, similarly to 100, 102 and 204, the HTTP standard says
101 MUST NOT contain either content-length or transfer-encoding.

This leads to incompatibilities in the ecosystem. While browsers just
ignore the header, envoy is unable to process responses like this.

This change goes a bit further than just restoring the old behaviour
and extends the skip_len flag to all of these status codes, meaning
even if they were user provided, they'll be ignored in the future to
better match the standard.

Reference: https://tools.ietf.org/html/rfc7230#section-3.3.1
2020-11-01 19:12:06 -05:00
ghizzo01 20078fe603
Bump pin-project to 1.0 (#1733) 2020-10-25 19:41:44 +09:00
Rob Ede 64a2c13cdf
the big three point oh (#1668) 2020-09-11 13:50:10 +01:00
Rob Ede bf53fe5a22
bump actix dependency to v0.10 (#1666) 2020-09-11 12:09:52 +01:00
Rob Ede 7787638f26
fix CI clippy warnings (#1664) 2020-09-10 14:46:35 +01:00
Rob Ede 2f6e9738c4
prepare multipart and actors releases (#1663) 2020-09-10 12:54:27 +01:00
Rob Ede 059d1671d7
prepare release beta 4 (#1659) 2020-09-09 22:14:11 +01:00
Rob Ede 8497b5f490
integrate with updated actix-{codec, utils} (#1634) 2020-08-24 10:13:35 +01:00
Yuki Okushi 5802eb797f
awc,web: Bump up to next beta releases (#1638) 2020-08-18 01:08:40 +09:00
Yuki Okushi 59ad1738e9
web: Bump up to 3.0.0-beta.2 (#1636) 2020-08-17 11:32:38 +01:00
Yuki Okushi aa2bd6fbfb
http: Bump up to 2.0.0-beta.3 (#1630) 2020-08-14 19:42:14 +09:00
Yuki Okushi 92b5bcd13f
Check format and tweak CI config (#1619) 2020-07-22 00:28:33 +01:00
Rob Ede 2fd96c03e5
prepare beta.1 release for multipart/files/actors (#1605) 2020-07-16 11:38:57 +01:00
Yuki Okushi 1382094c15
Avoid using deprecated `/` in license field 2020-07-14 11:19:56 +09:00
Rob Ede 0ba73fc44c
exclude default -web features on -actors (#1562) 2020-06-18 11:23:36 +01:00
Taiki Endo 6c5c4ea230 Remove uses of pin_project::project attribute
pin-project will deprecate the project attribute due to some unfixable
limitations.

Refs: https://github.com/taiki-e/pin-project/issues/225
2020-06-06 06:44:14 +09:00
Yuki Okushi fe89ba7027
Update `actix-web` dependency to 3.0.0-alpha.3 2020-05-21 17:32:36 +09:00
Yuki Okushi 9cfb32c780
Update `actix-http` to 2.0.0-alpha.4 2020-05-21 15:22:42 +09:00
Yuki Okushi fc8e07b947
actors: Minimize `futures` dependencies 2020-05-19 08:29:11 +09:00
Rob Ede 996f1d7eae
bump msrv in ci and readme 2020-05-13 01:57:37 +01:00
Yuki Okushi b66c3083a5
Update the `actix-web` dependency to 3.0.0-alpha.2 2020-05-08 06:46:42 +09:00
Yuki Okushi 54abf356d4
actors: Bump up to 3.0.0-alpha.1 2020-05-08 03:33:29 +09:00
Yuki Okushi 9d0c80b6ce
Update actix-http deps 2020-05-08 02:35:45 +09:00
Yuki Okushi 1b28a5d48b
Update `actix-web` dependency to 3.0.0-alpha.1 2020-03-12 03:03:50 +09:00
Yuki Okushi 7941594f94
Update `actix-http` dependency 2020-03-08 00:50:20 +09:00
Yuki Okushi c9fdcc596d Update actix to 0.10.0-alpha.1 2020-02-27 12:46:29 +09:00
Yuki Okushi 3b675c9125 Update actix-http to 2.0.0-alpha.1 2020-02-27 12:39:04 +09:00
Maksym Vorobiov 9d04b250f9 This is a squashed commit:
- Convert MessageBody to accept Pin in poll_next

- add CHANGES and increase versions aligned to semver

- update crates to accomodate MessageBody Pin change

- fix tests and dependencies
2020-02-27 09:37:05 +09:00
Nikolay Kim 48476362a3 update changes 2019-12-20 17:59:34 +06:00
Nikolay Kim 8b8a9a995d bump ver 2019-12-20 17:36:48 +06:00
Nikolay Kim a153374b61 migrate actix-web-actors 2019-12-15 22:45:38 +06:00
Nikolay Kim 6c226e47bd prepare actix-web-actors release 2019-12-07 20:10:36 +06:00
Vlad Frolov 8c3f58db9d Allow comma-separated websocket subprotocols without spaces (#1172)
* Allow comma-separated websocket subprotocols without spaces

* [CHANGES] Added an entry to CHANGES.md
2019-12-07 20:08:06 +06:00
Nikolay Kim 5cb2d500d1 update actix-web-actors 2019-11-14 08:58:24 +06:00
Nikolay Kim 3618a84164 update changes 2019-07-20 11:27:21 +06:00
jairinhohw 03ca408e94 add support for specifying protocols on websocket handshake (#835)
* add support for specifying protocols on websocket handshake

* separated the handshake function with and without protocols
changed protocols type from Vec<&str> to [&str]
2019-07-20 11:22:06 +06:00
naerbnic e53e9c8ba3 Add the start_with_addr() function, to obtain an addr to the target websocket actor (#988) 2019-07-20 11:17:58 +06:00
Nikolay Kim 4092c7f326 clippy warnings 2019-07-17 15:08:30 +06:00
Nikolay Kim 12b5174850 update deps 2019-06-28 14:46:26 +06:00
Nikolay Kim 596483ff55 prepare actix-web-actors release 2019-06-28 10:54:23 +06:00
anthonyjchriste 768859513a Expose the max limit for payload sizes in Websocket Actors. #925 (#933)
* Expose the max limit for payload sizes in Websocket Actors.

* Revert to previous not-formatted code.

* Implement WebsocketContext::with_codec and make Codec Copy and Clone.

* Fix formatting.

* Fix formatting.
2019-06-28 10:49:03 +06:00
Nikolay Kim 686e5f1595 update deps 2019-06-16 22:10:22 +06:00
Nikolay Kim a1b40f4314 add license files 2019-06-01 17:25:29 +06:00
Nikolay Kim c2d7db7e06 prepare actix-web-actors release 2019-05-29 16:22:57 -07:00
Nikolay Kim e1ff3bf8fa fix resource match with params #841 2019-05-15 10:31:40 -07:00
Nikolay Kim 5a90e33bcc update deps 2019-05-12 12:01:24 -07:00
Nikolay Kim 36d017dcc6 update deps 2019-05-12 11:41:43 -07:00
Nikolay Kim e9cbcbaf03 update dependencies 2019-05-12 10:18:02 -07:00
Nikolay Kim 24bd5b1344 update readmes 2019-04-29 20:47:21 -07:00
Nikolay Kim f0789aad05 update dep versions 2019-04-21 09:03:46 -07:00