| 595 | } |
| 596 | |
| 597 | void Cancel() { //throw std::bad_alloc |
| 598 | if (!Canceled_) { |
| 599 | Canceled_ = true; |
| 600 | Finalized_ = true; |
| 601 | OnCancel(); |
| 602 | AS_.AsyncCancel(); |
| 603 | } |
| 604 | } |
| 605 | |
| 606 | void OnCancel() { |
| 607 | THttpRequestRef r(ReleaseRequest()); |
nothing calls this directly
no test coverage detected