index : static-web-server.git

ascending towards madness

author Jose Quintana <joseluisquintana20@gmail.com> 2023-06-08 21:21:24.0 +00:00:00
committer Jose Quintana <joseluisquintana20@gmail.com> 2023-06-08 21:21:24.0 +00:00:00
commit
911a1c2d9ff4013daf6ca7261de6fc26e541c7c4 [patch]
tree
02a4960b81b86ffd353fbf46592d11a1fd1d72bc
parent
3e4bd471da6943ea6fa78c64234854b3bb00846c
download
911a1c2d9ff4013daf6ca7261de6fc26e541c7c4.tar.gz

fix: several typos



Diff

 .github/workflows/config/typos.toml | 1 +
 CHANGELOG.md                        | 2 +-
 src/service.rs                      | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/config/typos.toml b/.github/workflows/config/typos.toml
index 0217a0f..10cd677 100644
--- a/.github/workflows/config/typos.toml
+++ b/.github/workflows/config/typos.toml
@@ -1,5 +1,6 @@
[default.extend-words]
Compressable = "Compressable"
ba = "ba"
caf = "caf"
flate = "flate"
prefered = "prefered"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 1e7d296..92e37c9 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -112,7 +112,7 @@ __Docs__

## v2.15.0 - 2023-03-13

This new `v2.15.0` release brings several dependency updates, one bug fix for the `compression-static`, new features like  Tokio's `--max-blocking-threads` or `.html` prefixing for directory requests, the possibity to build SWS on non-Unix/Windows platforms and performance optimizations and improvements across several modules including `static_file` which [speeds up]https://gist.github.com/joseluisq/cb0962474210e56e768ff5671b3ddd11 SWS around `~4.37%` (req/sec) for almost the same computing.
This new `v2.15.0` release brings several dependency updates, one bug fix for the `compression-static`, new features like  Tokio's `--max-blocking-threads` or `.html` prefixing for directory requests, the possibility to build SWS on non-Unix/Windows platforms and performance optimizations and improvements across several modules including `static_file` which [speeds up]https://gist.github.com/joseluisq/cb0962474210e56e768ff5671b3ddd11 SWS around `~4.37%` (req/sec) for almost the same computing.

__Fixes__

diff --git a/src/service.rs b/src/service.rs
index 38a051e..f8aeb05 100644
--- a/src/service.rs
+++ b/src/service.rs
@@ -72,7 +72,7 @@ pub struct RequestServiceBuilder {
}

impl RequestServiceBuilder {
    /// Initializes a new request service buider.
    /// Initializes a new request service builder.
    pub fn new(handler: RequestHandler) -> Self {
        Self {
            handler: Arc::new(handler),