重写http客户端异常处理机制

This commit is contained in:
ziyue
2022-01-20 14:48:45 +08:00
parent 0f905b7333
commit 88dc8d0a73
20 changed files with 300 additions and 560 deletions

View File

@@ -13,12 +13,11 @@
namespace mediakit {
void HttpClientImp::onConnect(const SockException &ex) {
if(!isHttps()){
if (!isHttps()) {
HttpClient::onConnect(ex);
} else {
TcpClientWithSSL<HttpClient>::onConnect(ex);
}
}
} /* namespace mediakit */