Compare commits
No commits in common. "d89310bb2e9a167f622456fb0cc070aa83fe12b8" and "562678217842701d59e6ca5b8a95b7c98f092192" have entirely different histories.
d89310bb2e
...
5626782178
4
mod.ts
4
mod.ts
@ -102,7 +102,6 @@ export class HTTPServer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private async handleHttp(conn: Deno.Conn) {
|
private async handleHttp(conn: Deno.Conn) {
|
||||||
try {
|
|
||||||
const httpConn = Deno.serveHttp(conn);
|
const httpConn = Deno.serveHttp(conn);
|
||||||
for await (const requestEvent of httpConn) {
|
for await (const requestEvent of httpConn) {
|
||||||
const filepath = decodeURIComponent(
|
const filepath = decodeURIComponent(
|
||||||
@ -243,9 +242,6 @@ export class HTTPServer {
|
|||||||
}
|
}
|
||||||
this.handleNotFound(routeRequest, routeReply, requestEvent);
|
this.handleNotFound(routeRequest, routeReply, requestEvent);
|
||||||
}
|
}
|
||||||
} catch (_err) {
|
|
||||||
// Ignore http that where closed before reply was sent
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
close() {
|
close() {
|
||||||
|
Reference in New Issue
Block a user