| 459 | void Finalize(THttpConn* skipConn = nullptr) noexcept; |
| 460 | |
| 461 | inline THandleRef ReleaseHandler() noexcept { |
| 462 | THandleRef h; |
| 463 | { |
| 464 | TGuard<TSpinLock> g(SL_); |
| 465 | h.Swap(Hndl_); |
| 466 | } |
| 467 | return h; |
| 468 | } |
| 469 | |
| 470 | inline THttpConnRef GetConn() noexcept { |
| 471 | TGuard<TSpinLock> g(SL_); |