Compare commits

..

No commits in common. "d89310bb2e9a167f622456fb0cc070aa83fe12b8" and "562678217842701d59e6ca5b8a95b7c98f092192" have entirely different histories.

2 changed files with 129 additions and 133 deletions

4
mod.ts
View File

@ -102,7 +102,6 @@ export class HTTPServer {
}
private async handleHttp(conn: Deno.Conn) {
try {
const httpConn = Deno.serveHttp(conn);
for await (const requestEvent of httpConn) {
const filepath = decodeURIComponent(
@ -243,9 +242,6 @@ export class HTTPServer {
}
this.handleNotFound(routeRequest, routeReply, requestEvent);
}
} catch (_err) {
// Ignore http that where closed before reply was sent
}
}
close() {