1
0
mirror of https://github.com/moparisthebest/spdylay synced 2024-11-16 14:35:03 -05:00

shrpx: Fix resource leak

This commit is contained in:
Tatsuhiro Tsujikawa 2013-01-25 21:26:03 +09:00
parent cbb819aed7
commit 5774f8110d

View File

@ -179,6 +179,7 @@ int htp_hdrs_completecb(http_parser *htp)
if(bufferevent_write(upstream->get_client_handler()->get_bev(),
reply_100, sizeof(reply_100)-1) != 0) {
ULOG(FATAL, upstream) << "bufferevent_write() faild";
delete dconn;
return -1;
}
}