| 710 | } |
| 711 | |
| 712 | void TClientRequest::ReleaseConnection() { |
| 713 | if (Conn_ && HttpConn_ && HttpServ()->Options().KeepAliveEnabled && HttpConn_->CanBeKeepAlive() && (!HttpServ()->Options().RejectExcessConnections || !HttpServ()->MaxRequestsReached())) { |
| 714 | Output().Finish(); |
| 715 | Conn_->DeActivate(); |
| 716 | Y_UNUSED(Conn_.Release()); |
| 717 | } |
| 718 | } |
| 719 | |
| 720 | void TClientRequest::ResetConnection() { |
| 721 | if (HttpConn_) { |
nothing calls this directly
no test coverage detected