Merge pull request #11206 from unknownbrackets/debugger

http: Don't crash on unclean client disconnect
This commit is contained in:
Henrik Rydgård 2018-06-23 09:00:28 +02:00 committed by GitHub
commit 82b14e0dd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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_;
}