feat(server): keep-alive!
Internals have been shuffled around such that Request and Reponse are now given only a mutable reference to the stream, instead of being allowed to consume it. This allows the server to re-use the streams if keep-alive is true. A task pool is used, and the number of the threads can currently be adjusted by using the `listen_threads()` method on Server. [breaking-change]
This commit is contained in:
@@ -16,9 +16,6 @@ git = "https://github.com/hyperium/mime.rs"
|
||||
[dependencies.unsafe-any]
|
||||
git = "https://github.com/reem/rust-unsafe-any"
|
||||
|
||||
[dependencies.move-acceptor]
|
||||
git = "https://github.com/reem/rust-move-acceptor"
|
||||
|
||||
[dependencies.typeable]
|
||||
git = "https://github.com/reem/rust-typeable"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user