Rob Ede
68a3acb9c2
bump zstd dep
2021-11-16 23:22:29 +00:00
Rob Ede
84c6d25fd3
bump env logger dep
2021-11-16 23:07:08 +00:00
Rob Ede
0a135c7dc9
bump actix-codec to 0.4.1
2021-11-16 22:41:24 +00:00
Rob Ede
d8cbb879dd
make AnyBody
generic on Body
type ( #2448 )
2021-11-16 21:41:35 +00:00
Rob Ede
a2f59c02f7
bump actix-server to beta 9 ( #2442 )
2021-11-15 04:03:33 +00:00
fakeshadow
be9530eb72
avoid building actix-tls with no-default-features ( #2426 )
2021-10-26 13:16:48 +01:00
fakeshadow
d13854505f
move actix_http::client module to awc ( #2425 )
2021-10-26 00:37:40 +01:00
fakeshadow
d40b6748bc
remove dead dep ( #2420 )
2021-10-22 00:22:58 +01:00
Rob Ede
9abe166d52
actix-web beta 10 releases ( #2417 )
2021-10-20 22:32:05 +01:00
Rob Ede
4f6f0b0137
chore: Bump rustls to 0.20.0 ( #2416 )
...
Co-authored-by: Kirill Mironov <vetrokm@gmail.com>
2021-10-20 02:00:11 +01:00
Rob Ede
46699e3429
remove time dep from actix-http ( #2383 )
2021-09-11 00:01:01 +01:00
Rob Ede
ba88d3b4bf
prepare actix-web beta.9 releases ( #2381 )
...
* prepare actix-router release 0.5.0-beta.2
* prepare actix-web-codegen release 0.5.0-beta.4
* prepare actix-http release 3.0.0-beta.10
* prepare awc release 3.0.0-beta.8
* prepare actix-web release 4.0.0-beta.9
* prepare actix-http-test release 3.0.0-beta.6
* prepare actix-test release 0.1.0-beta.4
* prepare actix-files release 0.6.0-beta.7
* prepare actix-multipart release 0.4.0-beta.6
* prepare actix-web-actors release 4.0.0-beta.7
* fix http test version
* re-add patch
* update router repo url
* fix http test readme version
2021-09-09 01:35:41 +01:00
Rob Ede
93112644d3
non exhaustive content encoding ( #2377 )
2021-09-01 09:53:26 +01:00
fakeshadow
ff07816b65
update httparse for uninit header parsing ( #2374 )
2021-08-29 01:42:22 +01:00
Rob Ede
e965d8298f
HRS security fixes ( #2363 )
2021-08-12 20:18:09 +01:00
Rob Ede
604be5495f
prepare beta.8 releases ( #2292 )
2021-06-26 16:33:36 +01:00
Arthur Le Moigne
baa5a663c4
Select compression algorithm using features flags ( #2250 )
...
Add compress-* feature flags in actix-http / actix-web / awc.
This allow enable / disable not wanted compression algorithm.
2021-06-19 20:21:13 +01:00
Rob Ede
c260fb1c48
beta.7 releases ( #2266 )
2021-06-19 11:51:20 +01:00
Rob Ede
532f7b9923
refined error model ( #2253 )
2021-06-17 17:57:58 +01:00
Victor Pirat
75f65fea4f
Extends Rustls ALPN protocols instead of replacing them when creating Rustls based services ( #2226 )
2021-06-10 16:25:21 +01:00
Arthur Le Moigne
3479293416
Add zstd ContentEncoding support ( #2244 )
...
Co-authored-by: Igor Aleksanov <popzxc@yandex.ru>
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-06-03 21:32:52 +01:00
Rob Ede
2a8c650f2c
move internalerror to actix web ( #2215 )
2021-05-14 16:40:00 +01:00
Voldracarno Draconor
1fcf92e11f
Update dependency "language-tags" ( #2188 )
2021-04-28 01:23:12 +01:00
Rob Ede
a7cd4e85cf
use stable codec 0.4.0
2021-04-21 11:14:22 +01:00
Rob Ede
f743e885a3
prepare http release 3.0.0-beta.6
2021-04-17 15:24:18 +01:00
Rob Ede
5747f84736
bump utils to stable v3
2021-04-17 02:07:33 +01:00
Rob Ede
d8f56eee3e
bump service to stable v2
2021-04-16 20:28:21 +01:00
Rob Ede
ff65f1d006
non exhaustive http errors ( #2161 )
2021-04-14 06:07:59 +01:00
Rob Ede
981c54432c
remove json and url encoded form support from -http ( #2148 )
2021-04-12 10:30:28 +01:00
Rob Ede
44c55dd036
remove cookie support from -http ( #2065 )
2021-04-09 18:07:10 +01:00
Rob Ede
e0b2246c68
prepare test release 0.1.0-beta.1
2021-04-02 10:03:01 +01:00
Rob Ede
6fb06a720a
prepare http release 3.0.0-beta.5
2021-04-02 09:27:11 +01:00
Rob Ede
c54a0713de
migrate integration testing to new crate ( #2112 )
2021-04-02 08:26:59 +01:00
Rob Ede
c8ed8dd1a4
migrate to -utils beta 4 ( #2127 )
2021-04-01 15:26:13 +01:00
fakeshadow
222acfd070
Fix build for next actix-tls-beta release ( #2122 )
2021-03-29 13:45:48 +01:00
fakeshadow
8c2ce2dedb
fix awc compress feature ( #2116 )
2021-03-25 22:47:37 +00:00
Rob Ede
983b6904a7
unvendor openssl
2021-03-17 00:38:54 +00:00
Rob Ede
18c3783a1c
prepare actix-http-test release 3.0.0-beta.3
2021-03-09 23:35:42 +00:00
Rob Ede
fc31b091e4
prepare http release 3.0.0-beta.4
2021-03-08 23:07:40 +00:00
Rob Ede
c1c4400c4a
fix h2 tests ( #2034 )
2021-03-04 13:27:54 +00:00
Rob Ede
cd652dca75
refactor websocket key hashing ( #2035 )
2021-02-28 19:55:34 +00:00
fakeshadow
badae2f8fd
add local_address bind for client builder ( #2024 )
2021-02-27 22:31:14 +00:00
fboulnois
1f34718ecd
Use once_cell instead of lazy_static ( #2029 )
2021-02-27 21:55:50 +00:00
Rob Ede
b95e1dda34
pin h2 to 0.3.0
2021-02-27 19:57:09 +00:00
fakeshadow
c065729468
rework client connection pool ( #1994 )
2021-02-16 08:27:14 +00:00
Rob Ede
7fa6333a0c
use rcgen for tls key generation ( #1989 )
2021-02-13 17:16:36 +00:00
Rob Ede
3279070f9f
optional cookies features ( #1981 )
2021-02-13 15:08:43 +00:00
Rob Ede
1e538bf73e
rework ci ( #1982 )
2021-02-12 21:53:21 +00:00
Rob Ede
ea5ce3befb
prepare actix-http 3.0.0-beta.3 release
2021-02-10 18:36:14 +00:00
Rob Ede
a290e58982
prepare beta 2 release set ( #1975 )
2021-02-10 12:10:03 +00:00
Rob Ede
949d14ae2b
clean up header map ( #1964 )
2021-02-09 22:59:17 +00:00
fakeshadow
519d7f2b8a
add trust-dns optional feature for actix-http and awc ( #1969 )
2021-02-09 10:41:20 +00:00
Rob Ede
9eaea6a2fd
tweak feature flags
2021-02-07 03:54:58 +00:00
fakeshadow
41bc04b1c4
Use immutable reference of service state. Update awc dns resolver. ( #1905 )
2021-02-07 01:00:40 +00:00
fakeshadow
20cf0094e5
fix master branch build. change web::block output type. ( #1957 )
2021-02-06 16:23:59 +00:00
Rob Ede
b1dd8d28bc
response header rework ( #1869 )
2021-01-15 02:11:10 +00:00
fakeshadow
fe392abeb4
remove actix-threadpool.use actix_rt::task::spawn_blocking ( #1878 )
2021-01-09 16:04:19 +00:00
fakeshadow
188ee44f81
remove copyless dependency ( #1884 )
2021-01-07 21:55:00 +00:00
Rob Ede
c09186a2c0
prepare v4 beta releases ( #1881 )
2021-01-07 20:02:08 +00:00
Rob Ede
7d632d0b7b
use ByteString as container for websocket text message ( #1864 )
2021-01-04 11:27:32 +00:00
fakeshadow
32de9f8840
Tokio 1.0 ( #1813 )
...
Co-authored-by: Rob Ede <robjtede@icloud.com>
2021-01-03 23:47:04 +00:00
Rob Ede
1f202d40e4
optimize write_camel_case in h1 encoder ( #1868 )
2021-01-03 16:53:01 +00:00
Logan Magee
4dccd092f3
Bump rand from 0.7.x to 0.8.x ( #1845 )
2020-12-22 23:45:31 +00:00
Rob Ede
efc317d3b0
prepare actix-http and awc releases
2020-11-25 00:07:56 +00:00
Yuki Okushi
4bfd5c2781
Upgrade serde_urlencoded
to 0.7
( #1773 )
2020-11-06 01:36:15 +09:00
Rob Ede
798d744eef
prepare http release 2.1.0
2020-10-30 02:19:56 +00:00
ghizzo01
20078fe603
Bump pin-project to 1.0 ( #1733 )
2020-10-25 19:41:44 +09:00
ghizzo01
f92742bdac
Bump base64 to 0.13 ( #1744 )
2020-10-19 18:24:22 +01: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
059d1671d7
prepare release beta 4 ( #1659 )
2020-09-09 22:14:11 +01:00
Rob Ede
9d0534999d
bump connect and tls versions ( #1655 )
2020-09-09 09:20:54 +01:00
Rob Ede
8497b5f490
integrate with updated actix-{codec, utils} ( #1634 )
2020-08-24 10:13:35 +01:00
Yuki Okushi
ff2ca0f420
Update rustls to 0.18 ( #1637 )
2020-08-18 00:28:39 +09:00
Yuki Okushi
aa2bd6fbfb
http: Bump up to 2.0.0-beta.3 ( #1630 )
2020-08-14 19:42:14 +09:00
Rob Ede
cf1c8abe62
prepare release http & awc ( #1617 )
2020-07-22 01:13:10 +01:00
Rob Ede
6dc47c4093
fix soundness concern in h1 decoder ( #1614 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-07-21 16:25:33 +01:00
Yuki Okushi
1382094c15
Avoid using deprecated /
in license field
2020-07-14 11:19:56 +09:00
Rob Ede
327e472e44
prepare http-2.0.0-beta.1 release ( #1596 )
2020-07-13 15:35:30 +01:00
Yuki Okushi
deab634247
actix-http: Update sha-1
to 0.9 ( #1586 )
2020-07-03 01:08:24 +01:00
Rob Ede
eb0eda69c6
migrate cookie handling to cookie crate ( #1558 )
2020-06-19 14:34:14 +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
4a955c425d
Update actix-http-test
dependency to 2.0.0-alpha.1
2020-05-23 12:14:17 +09:00
Nick Kolpinskiy
7d8fb631a0
Use itoa
in the content-length helper
2020-05-21 22:25:34 +03:00
Yuki Okushi
48fa78e182
http: Bump up to 2.0.0-alpha.4
2020-05-21 15:22:07 +09:00
Yuki Okushi
8391427905
http: Update base64
to 0.12
2020-05-21 09:51:32 +09:00
Yuki Okushi
292af145cb
http: Minimize futures
dependencies
2020-05-19 08:29:11 +09:00
Yuki Okushi
0bc4a5e703
http: Bump up to 2.0.0-alpha.3
2020-05-08 02:35:45 +09:00
Rob Ede
f37cb6dd0b
refactor h1 status line helper to remove unsafe usage ( #1484 )
...
Co-authored-by: Yuki Okushi <huyuumi.dev@gmail.com>
2020-05-03 17:37:40 +09:00
Yuki Okushi
54619cb680
actix-http: Remove failure
support ( #1449 )
2020-04-16 06:54:34 +09:00
Yuki Okushi
b93e1555ec
Update actix-connect
to 2.0.0-alpha.2
2020-03-08 15:27:40 +09:00
Yuki Okushi
6f63acaf01
Bump up to 2.0.0-alpha.2
2020-03-08 00:48:45 +09:00
Yuki Okushi
687dc609dd
Update rustls
to 0.17
2020-03-04 15:11:31 +09:00
Yuki Okushi
b9b52079e0
Update actix-tls
to 2.0.0-alpha.1
2020-03-04 15:10:23 +09:00
Yuki Okushi
117d28f7ba
Update actix-connect
to 2.0.0-alpha.1
2020-03-04 15:09:31 +09:00
Yuki Okushi
15a2587887
Bump up to 2.0.0-alpha.1
2020-02-27 12:39:04 +09:00
Yuki Okushi
903ae47baa
dev-deps: Update env_logger to 0.7
2020-02-27 11:08:45 +09:00
Maksym Vorobiov
78749a4b7e
rollback actix-http version change
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
eeebc653fd
change actix-http version to alpha
2020-02-27 09:37:05 +09:00
Maksym Vorobiov
62aba424e2
Rollback actix-http-test dependency to show the issue
2020-02-27 09:37:05 +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
Maxim Vorobjov
48ef4d7a26
Add actix-http support for actix error messages ( #1379 )
...
* Moved actix-http for actix from actix crate
* remove resolver feature
* renamed actix feature to actor
* fixed doc attr for actors, add documentation
2020-02-27 09:34:49 +09:00
Yuki Okushi
2a72e8d119
Merge branch 'master' into replace-unsafe-content-length-helper
2020-02-25 14:30:04 +09:00
Yuki Okushi
c8ccc69b93
actix-http: update time
to 0.2.7
2020-02-23 07:09:00 +09:00
Rob Ede
31a3515e90
add safe vs unsafe benchmarks
2020-02-16 14:31:06 +00:00
kevinpoitra
e634e64847
Upgrade time
to 0.2.5 ( #1254 )
...
* Use `OffsetDateTime` instead of `PrimitiveDateTime`
* Parse time strings with `PrimitiveDateTime::parse` instead of `OffsetDateTime::parse`
* Remove unused `time` dependency from actix-multipart
* Fix a few errors with time related tests from the `time` upgrade
* Implement logic to convert a RFC 850 two-digit year into a full length year, and organize time parsing related functions
* Upgrade `time` to 0.2.2
* Correctly parse C's asctime time format using time 0.2's new format patterns
* Update CHANGES.md
* Use `time` without any of its deprecated functions
* Enforce a UTC time offset when converting an `OffsetDateTime` into a Header value
* Use the more readable version of `Duration::seconds(0)`, `Duration::zero()`
* Remove unneeded conversion of time::Duration to std::time::Duration
* Use `OffsetDateTime::as_seconds_f64` instead of manually calculating the amount of seconds from nanoseconds
* Replace a few additional instances of `Duration::seconds(0)` with `Duration::zero()`
* Truncate any nanoseconds from a supplied `Duration` within `Cookie::set_max_age` to ensure two Cookies with the same amount whole seconds equate to one another
* Fix the actix-http:🍪 :do_not_panic_on_large_max_ages test
* Convert `Cookie::max_age` and `Cookie::expires` examples to `time` 0.2
Mainly minor changes. Type inference can be used alongside the new
`time::parse` method, such that the type doesn't need to be specified.
This will be useful if a refactoring takes place that changes the type.
There are also new macros, which are used where possible.
One change that is not immediately obvious, in `HttpDate`, there was an
unnecessary conditional. As the time crate allows for negative durations
(and can perform arithmetic with such), the if/else can be removed
entirely.
Time v0.2.3 also has some bug fixes, which is why I am not using a more
general v0.2 in Cargo.toml.
v0.2.3 has been yanked, as it was backwards imcompatible. This version
reverts the breaking change, while still supporting rustc back to
1.34.0.
* Add missing `time::offset` macro import
* Fix type confusion when using `time::parse` followed by `using_offset`
* Update `time` to 0.2.5
* Update CHANGES.md
Co-authored-by: Jacob Pratt <the.z.cuber@gmail.com>
2020-01-28 20:44:22 +09:00
linkmauve
abb462ef85
Replace sha1 dependency with sha-1 ( #1258 )
...
* Replace sha1 dependency with sha-1
This other crate is being maintained, and it offers better performances
when using the `asm` feature (especially [on
AArch64](https://github.com/RustCrypto/hashes/pull/97 )).
* Update CHANGES.md with the sha-1 migration
* Add a test for hash_key()
2020-01-11 02:34:31 +09:00
Nikolay Kim
c7f3915779
update actix-service dep
2019-12-22 16:39:25 +04:00
Nikolay Kim
1d12ba9d5f
Replace brotli with brotli2 #1224
2019-12-20 13:50:07 +06:00
Nikolay Kim
cb705317b8
compile with default-features off
2019-12-15 13:28:54 +06:00
Nikolay Kim
e8e0f98f96
fix docs.rs features list
2019-12-13 12:41:48 +06:00
Nikolay Kim
fac6dec3c9
update deps
2019-12-13 12:36:15 +06:00
Nikolay Kim
3d64d565d9
fix warnings
2019-12-13 11:46:02 +06:00
Nikolay Kim
c1deaaeb2f
cleanup imports
2019-12-13 11:24:57 +06:00
Nikolay Kim
4937c9f9c2
refactor http-test server
2019-12-12 23:08:38 +06:00
Nikolay Kim
fa07415721
Replace flate2-xxx features with compress
2019-12-12 15:08:08 +06:00
Nikolay Kim
b4b3350b3e
Add websockets continuation frame support
2019-12-12 14:06:54 +06:00
Nikolay Kim
131c897099
upgrade to actix-net release
2019-12-11 19:20:20 +06:00
Nikolay Kim
5132257b0d
Fix buffer remaining capacity calcualtion
2019-12-09 21:55:22 +06:00
Nikolay Kim
b92eafb839
prepare actix-http release
2019-12-08 20:15:51 +06:00
daxpedda
e5f3d88a4e
Switch brotli compressor to rust. ( #1197 )
...
* Switch to a rustified version of brotli.
* Some memory optimizations.
* Make brotli not optional anymore.
2019-12-07 21:55:41 +06:00
Nikolay Kim
1729a52f8b
prepare alpha.3 release
2019-12-07 13:00:03 +06:00
Nikolay Kim
205a964d8f
upgrade to tokio 0.2
2019-12-05 23:35:43 +06:00
Nikolay Kim
b45c6cd66b
replace hashbrown with std hashmap
2019-12-04 18:33:43 +06:00
Nikolay Kim
14075ebf7f
use released versions of actix-net
2019-12-02 23:33:39 +06:00
Nikolay Kim
f4c01384ec
update to latest actix-net
2019-12-02 17:33:11 +06:00
Nikolay Kim
56b9f11c98
disable rustls
2019-11-27 21:07:49 +06:00
Nikolay Kim
4dc31aac93
use actix_rt::test for test setup
2019-11-26 11:25:50 +06:00
Nikolay Kim
c1c44a7dd6
upgrade derive_more
2019-11-25 17:59:14 +06:00
Nikolay Kim
512dd2be63
disable rustls support
2019-11-22 07:01:05 +06:00
Nikolay Kim
3127dd4db6
migrate actix-web to std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
1ffa7d18d3
drop unpin constraint
2019-11-21 16:02:17 +06:00
Nikolay Kim
687884fb94
update test-server tests
2019-11-21 16:02:17 +06:00
Nikolay Kim
a6a2d2f444
update ssl impls
2019-11-21 16:02:17 +06:00
Nikolay Kim
8cba1170e6
make actix-http compile with std::future
2019-11-21 16:02:17 +06:00
Nikolay Kim
885ff7396e
prepare actox-http release
2019-11-06 10:35:13 -08:00
Nikolay Kim
60b7aebd0a
fmt & clippy
2019-09-12 21:52:46 +06:00
Nikolay Kim
043f763c51
prepare actix-http release
2019-09-11 20:07:39 +06:00
Nikolay Kim
c9400456f6
update actix-connect ver
2019-09-02 15:20:28 -07:00
Nikolay Kim
55179d6ab2
update dependencies
2019-08-13 10:48:11 -07:00
Armin Ronacher
192dfff680
prepare actix-http 0.2.9 release
2019-08-13 15:20:29 +02:00
Lukas Lueg
0b9e692298
Remove byteorder-dependency
2019-08-06 18:32:36 +02:00
Nikolay Kim
cf1a60cb3a
prepare awc release
2019-08-01 15:41:14 -07:00
Nikolay Kim
0d15861e23
prepare actix-http release
2019-08-01 15:26:30 -07:00
Marat Safin
cb19ebfe0c
add rustls support for actix-http and awc ( #998 )
...
* add rustls support for actix-http and awc
* fix features conflict
* remove unnecessary duplication
* test server with rust-tls
* fix
* test rustls
* awc rustls test
* format
* tests
* fix dependencies
* fixes and add changes
* remove test-server and Cargo.toml dev-dependencies changes
* cargo fmt
2019-07-31 13:02:56 -07:00
Nikolay Kim
b6ff786ed3
update dependencies
2019-07-18 17:50:10 +06:00
Nikolay Kim
ef3e1037a8
bump version
2019-07-17 14:18:26 +06:00
Nikolay Kim
baaa7b3fbb
Replace ClonableService with local copy
2019-07-17 13:55:44 +06:00
Jeff Muizelaar
e1fcd203f8
Update the copyless version to 0.1.4 ( #956 )
...
< 0.1.4 failed to check for null when doing allocations which could lead to null dereferences.
2019-07-08 15:48:20 +06:00
messense
dbab55dd6b
Bump rand crate version to 0.7 ( #951 )
2019-07-01 09:37:03 +06:00