Permalink
Browse files

Merge pull request #11206 from unknownbrackets/debugger

http: Don't crash on unclean client disconnect
  • Loading branch information...
hrydgard committed Jun 23, 2018
2 parents a9da002 + 495a635 commit 82b14e0dd5128298faca8124f48f3be2995a1d86
Showing with 3 additions and 1 deletion.
  1. +3 −1 ext/native/net/http_server.cpp
@@ -59,7 +59,9 @@ Request::~Request() {
CHECK(in_->Empty());
delete in_;
CHECK(out_->Empty());
if (!out_->Empty()) {
ELOG("Output not empty - connection abort?");
}
delete out_;
}

0 comments on commit 82b14e0

Please sign in to comment.