Rob Ede
2a7f2c1d59
dispatcher internals testing ( #1840 )
2020-12-23 01:28:17 +00:00
Rob Ede
e563025b16
always construct shortslice using debug checked new constructor ( #1741 )
2020-10-19 12:51:30 +01:00
Rob Ede
9a9d4b182e
document all remaining unsafe usages ( #1642 )
...
adds some debug assertions where appropriate
2020-09-03 10:00:24 +01:00
Rob Ede
8497b5f490
integrate with updated actix-{codec, utils} ( #1634 )
2020-08-24 10:13:35 +01:00
Yuki Okushi
92b5bcd13f
Check format and tweak CI config ( #1619 )
2020-07-22 00:28:33 +01:00
Rob Ede
0ec335a39c
bump MSRV to 1.42 ( #1616 )
2020-07-21 16:40:30 +09:00
Yuki Okushi
deab634247
actix-http: Update sha-1
to 0.9 ( #1586 )
2020-07-03 01:08:24 +01:00
Huston Bokinsky
b047413b39
Small ws codec fix ( #1465 )
...
* Small ws codec fix
* Update actix-http/Changes.md
Co-authored-by: Huston Bokinsky <huston@deepgram.com>
2020-04-29 11:13:09 +09:00
Rob Ede
5b0f7fff69
fix spelling errors in doc comments
2020-04-21 04:09:35 +01:00
Otavio Salvador
146ae4da18
Implement std::error::Error
for our custom errors
...
For allowing a more ergonomic use and better integration on the
ecosystem, this adds the `std::error::Error` `impl` for our custom
errors.
We intent to drop this hand made code once `derive_more` finishes the
addition of the Error derive support[1]. Until that is available, we
need to live with that.
1. https://github.com/JelteF/derive_more/issues/92
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2020-03-18 00:22:18 -03:00
Yuki Okushi
f27dd19093
Fix Clippy warnings
2020-02-27 12:39:04 +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
8c54054844
Use .advance() intead of .split_to()
2019-12-19 09:56:14 +06:00
Nikolay Kim
3d64d565d9
fix warnings
2019-12-13 11:46:02 +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
Sameer Dhar
e4382e4fc1
Fix broken docs ( #1204 )
...
Fixed un escaped brackets in lib.rs, and reflowed links to ConnectionInfo in app, config, and server.rs
2019-12-09 10:02:43 +06:00
Nikolay Kim
a3ce371312
ws ping and pong uses bytes #1049
2019-12-09 07:01:22 +06:00
Nikolay Kim
6c9f9fff73
clippy warnings
2019-12-08 00:46:51 +06:00
Nikolay Kim
205a964d8f
upgrade to tokio 0.2
2019-12-05 23:35:43 +06:00
Nikolay Kim
1ffa7d18d3
drop unpin constraint
2019-11-21 16:02:17 +06:00
Nikolay Kim
9e95efcc16
migrate client to std::future
2019-11-21 16:02:17 +06:00
Lukas Lueg
0b9e692298
Remove byteorder-dependency
2019-08-06 18:32:36 +02:00
Nikolay Kim
2a2d7f5768
nightly clippy warnings
2019-07-17 15:53:51 +06:00
Nikolay Kim
baaa7b3fbb
Replace ClonableService with local copy
2019-07-17 13:55:44 +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
d115b3b3ed
ws verifyciation takes RequestHead; add SendError utility service
2019-04-11 14:00:32 -07:00
Nikolay Kim
e4b3f79458
allocate enough space
2019-03-31 17:05:02 -07:00
Nikolay Kim
3220777ff9
Added ws::Message::Nop, no-op websockets message
2019-03-29 18:22:49 -07:00
Nikolay Kim
c59937784e
add client websockets support
2019-03-27 18:53:19 -07:00
Nikolay Kim
3edc515bac
refactor RequestHead/ResponseHead
2019-03-27 10:38:01 -07:00
Nikolay Kim
faa3ea8e5b
rename BodyLength to BodySize
2019-03-27 09:24:55 -07:00
Nikolay Kim
c7ad677804
Merge actix-http project
2019-03-26 11:54:35 -07:00