* build(deps): update derive_more to v1.0
* chore: remove overspecified deps
* chore: use from the derive module
* chore: restore unrelated version reqs
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
* Add compatibility of `deadpool-redis` for the storage `redis_rs`.
* Keep up-to-date the `actix-redis` version.
* Format the project issued by command `cargo +nightly fmt`.
* Add `deadpool-redis` into the documentation and tests.
* Update CHANGES.md.
* Update the documentation of `Deadpool Redis` section on `redis_rs`.
* Replace `no_run` with `ignore` attribute on "Deadpool Redis" example to skip the doc tests failure.
* Rollback the renaming `redis::cmd` to `cmd` for better reading and avoid shadowing, fix the wrong return type on builder function comment.
* Format the project issued by command `cargo +nightly fmt`.
* Format.
* Fix feature naming from the last merge.
* Fix feature missing from the last merge.
* Format the project issued by command `cargo +nightly fmt`.
* Re-import `cookie-session` feature. (Maybe was removed accidentally from the last merge?)
* tmp
* chore: bump deadpool-redis to 0.16
* chore: fixup rest of redis code for pool
* fix: add missing cfg guard
* docs: fix pool docs
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
* Complete the missing TLS feature.
* Make the `cfg` attributes more clear.
* Format the project issued by command `cargo +nightly fmt`.
* Small changes on cargo file.
* Update CHANGES.md.
* Add documentation for `Tls::get_ssl_acceptor_builder()` and remove unused imports.
* Add the `cfg` macro with required feature on `TLS` tests.
* Update actix-settings/src/settings/tls.rs
Co-authored-by: Rob Ede <robjtede@icloud.com>
* Copy the workflow steps related to OpenSSL for windows from [actix-web workflow](a7375b6876/.github/workflows/ci.yml (L38-L45)).
* ci: install openssl 1.1.1
* Replaced `apply_settings` with `try_apply_settings` for a better error handling.
* Updated the example.
* Add `OpenSSL` error.
* Restrict `OpenSSL` error only for `tls` feature.
* Rename feature `tls` to `openssl`.
* Add doc feature `broken_intra_doc_links` to `get_ssl_acceptor_builder` function.
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
* make generate_session_key() public and change impl to use DistString
* add changelong and use nightly fmt
* Add better support for receiving larger payloads (#430)
* Add better support for receiving larger payloads
This change enables the maximum frame size to be configured when receiving websocket frames. It also
adds a new stream time that aggregates continuation frames together into their proper collected
representation. It provides no mechanism yet for sending continuations.
* actix-ws: Add continuation & size config to changelog
* actix-ws: Add Debug, Eq to AggregatedMessage
* actix-ws: Add a configurable maximum size to aggregated continuations
* refactor: move aggregate types to own module
* test: fix chat example
* docs: update changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
* docs(ws): update readme
* chore(actix-ws): prepare release 0.3.0
* chore(ws): remove unused dev dep
* chore: expose generate_session_key
* chore: fix import
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
Co-authored-by: asonix <asonix@asonix.dog>
* Add better support for receiving larger payloads
This change enables the maximum frame size to be configured when receiving websocket frames. It also
adds a new stream time that aggregates continuation frames together into their proper collected
representation. It provides no mechanism yet for sending continuations.
* actix-ws: Add continuation & size config to changelog
* actix-ws: Add Debug, Eq to AggregatedMessage
* actix-ws: Add a configurable maximum size to aggregated continuations
* refactor: move aggregate types to own module
* test: fix chat example
* docs: update changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>
* actix-ws: take the encoded buffer when yielding rather than split it
* actix-ws: add memory reduction to changelog
---------
Co-authored-by: Rob Ede <robjtede@icloud.com>