simple-http: Implement ThreadPool cleanup
authorMartin Pitt <martin@piware.de>
Sun, 19 Sep 2021 09:48:51 +0000 (11:48 +0200)
committerMartin Pitt <martin@piware.de>
Sun, 19 Sep 2021 09:48:51 +0000 (11:48 +0200)
commit4b27e7395888e450ce52e74bf259715105f3071c
tree5f7172e115494fec95d02a43c116a00d9a5d9ddc
parent769d09958d7078847879f96b00c018c93c073072
simple-http: Implement ThreadPool cleanup

Introduce Terminate message. Test this by only accepting two requests
and then letting `pool` go out of scope.
simple-http/src/bin/main.rs
simple-http/src/lib.rs