| 251 | HttpSM::HttpSM() : Continuation(nullptr), vc_table(this) {} |
| 252 | |
| 253 | HttpSM::~HttpSM() |
| 254 | { |
| 255 | http_parser_clear(&http_parser); |
| 256 | |
| 257 | HttpConfig::release(t_state.http_config_param); |
| 258 | m_remap->release(); |
| 259 | |
| 260 | cache_sm.cancel_pending_action(); |
| 261 | |
| 262 | mutex.clear(); |
| 263 | tunnel.mutex.clear(); |
| 264 | cache_sm.mutex.clear(); |
| 265 | transform_cache_sm.mutex.clear(); |
| 266 | magic = HTTP_SM_MAGIC_DEAD; |
| 267 | debug_on = false; |
| 268 | |
| 269 | if (_prewarm_sm) { |
| 270 | _prewarm_sm->destroy(); |
| 271 | THREAD_FREE(_prewarm_sm, preWarmSMAllocator, this_ethread()); |
| 272 | _prewarm_sm = nullptr; |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | void |
| 277 | HttpSM::destroy() |
nothing calls this directly
no test coverage detected