bool HttpVCTable::cleanup_entry(HttpVCEntry* e) Closes the associate vc for the entry, and the call remove_entry
| 112 | // and the call remove_entry |
| 113 | // |
| 114 | void |
| 115 | HttpVCTable::cleanup_entry(HttpVCTableEntry *e) |
| 116 | { |
| 117 | ink_assert(e->vc); |
| 118 | if (e->in_tunnel == false) { |
| 119 | if (e->vc_type == HTTP_SERVER_VC) { |
| 120 | Metrics::Counter::increment(http_rsb.origin_shutdown_cleanup_entry); |
| 121 | } |
| 122 | e->vc->do_io_close(); |
| 123 | e->vc = nullptr; |
| 124 | } |
| 125 | remove_entry(e); |
| 126 | } |
| 127 | |
| 128 | void |
| 129 | HttpVCTable::cleanup_all() |
no test coverage detected