| 1731 | } |
| 1732 | |
| 1733 | void OnAcceptFull(const TAcceptFull& a) override { |
| 1734 | try { |
| 1735 | TSocketRef s(new TSharedSocket(*a.S)); |
| 1736 | |
| 1737 | if (InputConnections()->ExceedHardLimit()) { |
| 1738 | s->Close(); |
| 1739 | return; |
| 1740 | } |
| 1741 | |
| 1742 | THolder<TRead> read(new TRead(new TSslServerIOStream(SslCtx_, s), this, /* selfRemove */ true)); |
| 1743 | E_.Create(*read, "https-response"); |
| 1744 | Y_UNUSED(read.Release()); |
| 1745 | E_.Running()->Yield(); |
| 1746 | } catch (...) { |
| 1747 | } |
| 1748 | } |
| 1749 | |
| 1750 | void OnError() override { |
| 1751 | try { |
nothing calls this directly
no test coverage detected