Skip to content

Commit

Permalink
Attempt to ignore premature close errors for hack attempts
Browse files Browse the repository at this point in the history
  • Loading branch information
CarsonF committed Oct 23, 2024
1 parent 4613397 commit 39cf851
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/exception/exception.filter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ export class ExceptionFilter implements IExceptionFilter {
const hack = isFromHackAttempt(exception, args);
if (hack) {
hack.raw.destroy();
this.http.end(args.switchToHttp().getResponse());
return;
}

Expand Down

0 comments on commit 39cf851

Please sign in to comment.