mirror of
https://github.com/cesanta/mongoose.git
synced 2026-11-02 13:20:51 +00:00
Tiny refactoring - move clearance of the c->is_resolving flag to the mg_connect_resolved()
This commit is contained in:
1 parent
c579b73f75
commit
507935d067
5 files changed
+7
-6
No files matched your search
+2
-2
@@ -760,7 +760,7 @@ static void test_http_server(void) {
|
||||
|
||||
#if MG_ENABLE_IPV6
|
||||
{
|
||||
const char *url6 = "http://[::1]:12346";
|
||||
const char *url6 = "http://[::1]:12366";
|
||||
ASSERT(mg_http_listen(&mgr, url6, eh1, NULL) != NULL);
|
||||
ASSERT(fetch(&mgr, buf, url6, "GET /a.txt HTTP/1.0\n\n") == 200);
|
||||
ASSERT(cmpbody(buf, "hello\n") == 0);
|
||||
@@ -1787,8 +1787,8 @@ int main(void) {
|
||||
test_tls();
|
||||
test_ws();
|
||||
test_ws_fragmentation();
|
||||
test_http_server();
|
||||
test_http_client();
|
||||
test_http_server();
|
||||
test_http_no_content_length();
|
||||
test_http_pipeline();
|
||||
test_http_range();
|
||||
|
||||
Reference in new issue
Block a user