mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Optimize test coverage
This commit is contained in:
1 parent
3773ef45e7
commit
fdfad8462c
2 files changed
+3
-2
No files matched your search
+2
-1
@@ -1268,7 +1268,8 @@ static void test_http_client(void) {
|
||||
mg_mgr_poll(&mgr, 1);
|
||||
#if 0
|
||||
{
|
||||
// TODO(): Test failed host validation, mg_tls_init() is called on mg_connect() if url is https,
|
||||
// TODO(): Test failed host validation, mg_tls_init() is called on
|
||||
// mg_connect() if url is https,
|
||||
// hence we fake it and manually call it later with a wrong host name
|
||||
const char *furl = "http://cesanta.com:443";
|
||||
struct mg_str srvname;
|
||||
|
||||
Reference in new issue
Block a user