/////////////////////////////////////////////////////////////////////
| 1267 | |
| 1268 | ////////////////////////////////////////////////////////////////////////// |
| 1269 | void AbortOnFailedRequest(TUdpHttpResponse* answer) { |
| 1270 | if (answer && answer->Ok == TUdpHttpResponse::FAILED) { |
| 1271 | fprintf(stderr, "Failed request to host %s\n", GetAddressAsString(answer->PeerAddress).data()); |
| 1272 | fprintf(stderr, "Error description: %s\n", answer->Error.data()); |
| 1273 | fflush(nullptr); |
| 1274 | Y_ASSERT(0); |
| 1275 | abort(); |
| 1276 | } |
| 1277 | } |
| 1278 | |
| 1279 | TString GetDebugInfo(const TUdpAddress& addr, double timeout) { |
| 1280 | NHPTimer::STime start; |
no test coverage detected