Embrace single-threading it

This commit is contained in:
Emi Simpson 2021-11-09 11:33:22 -05:00
parent bd6c08a194
commit fbc49bcf69
Signed by: Emi
GPG key ID: A12F2C2FFDC3D847

View file

@ -1,7 +1,6 @@
use std::borrow::Cow;
use std::io::Cursor;
use std::ops::Deref;
use std::sync::Arc;
use tiny_http::Header;
use tiny_http::Request;
@ -11,7 +10,6 @@ use tiny_http::StatusCode;
pub fn go(domains: &[&str]) {
let server = Server::http("0.0.0.0:3243").unwrap();
let server = Arc::new(server);
for req in server.incoming_requests() {
let route = Route::parse_request(&req);