| 947 | } |
| 948 | |
| 949 | inline void CheckLimits() { |
| 950 | if (ExceedSoftLimit()) { |
| 951 | SuggestPurgeCache(); |
| 952 | |
| 953 | if (ExceedHardLimit()) { |
| 954 | Y_ABORT("neh::http2 output connections limit reached"); |
| 955 | //ythrow yexception() << "neh::http2 output connections limit reached"; |
| 956 | } |
| 957 | } |
| 958 | } |
| 959 | |
| 960 | inline bool Get(THttpConnRef& conn, size_t addrId) { |
| 961 | #ifdef DEBUG_STAT |