Permalink
Browse files

http: Don't crash on unclean client disconnect.

This happens even when doing http ISO streaming.
  • Loading branch information...
unknownbrackets committed Jun 18, 2018
1 parent da5f0f7 commit 495a6359c833af6370c691b8758bf860c13453d9
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 495a635

Please sign in to comment.