| 178 | }; |
| 179 | |
| 180 | struct TInRequestState { |
| 181 | enum EState { |
| 182 | S_WAITING, |
| 183 | S_RESPONSE_SENDING, |
| 184 | S_CANCELED, |
| 185 | }; |
| 186 | EState State; |
| 187 | TIntrusivePtr<IConnection> Connection; |
| 188 | ui64 ResponseTransferId; |
| 189 | |
| 190 | TInRequestState() |
| 191 | : State(S_WAITING) |
| 192 | , ResponseTransferId(0) |
| 193 | { |
| 194 | } |
| 195 | TInRequestState(const TIntrusivePtr<IConnection>& connection) |
| 196 | : State(S_WAITING) |
| 197 | , Connection(connection) |
| 198 | , ResponseTransferId(0) |
| 199 | { |
| 200 | } |
| 201 | }; |
| 202 | |
| 203 | enum EHttpPacket { |
| 204 | PKT_REQUEST, |
no outgoing calls
no test coverage detected