cesanta / mongoose

Embedded Web Server
https://mongoose.ws
Other
11.12k stars 2.73k forks source link

make error in ubuntu 16.04 #1318

Closed remainfox closed 3 years ago

remainfox commented 3 years ago

make error as follow os: ubuntu 16.04

root@brian:mongoose# 
root@brian:mongoose# make
clang  mongoose.c -O3 -g3 -W -Wall -Werror -Wshadow -Wdouble-promotion -fno-common -Wconversion -Isrc -I. -I../mbedtls/include   -DMG_MAX_HTTP_HEADERS=5 -DMG_ENABLE_LINES -DMG_ENABLE_DIRECTORY_LISTING=1 -DMG_ENABLE_SSI=1   -DMG_ENABLE_MBEDTLS=1 -I/usr/include -I/usr/include -c -o /tmp/x.o && nm /tmp/x.o | grep ' T' | grep -v 'mg_' ; test $? = 1
clang  mongoose.c test/unit_test.c -O3 -g3 -W -Wall -Werror -Wshadow -Wdouble-promotion -fno-common -Wconversion -Isrc -I. -I../mbedtls/include   -DMG_MAX_HTTP_HEADERS=5 -DMG_ENABLE_LINES -DMG_ENABLE_DIRECTORY_LISTING=1 -DMG_ENABLE_SSI=1   -DMG_ENABLE_MBEDTLS=1 -I/usr/include -I/usr/include -DMG_ENABLE_IPV6=1 -fsanitize=address -coverage -L/usr/lib -L../mbedtls/library -lmbedtls -lmbedcrypto -lmbedx509 -g -o unit_test
ASAN_OPTIONS=  ./unit_test
2021-07-19 06:50:07  I sock.c:474:mg_listen      1 accepting on http://127.0.0.1:12344
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> http://127.0.0.1:12344
2021-07-19 06:50:07    sock.c:402:accept_conn    3 accepted 127.0.0.1:32936
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     4 -> http://127.0.0.1:12344
2021-07-19 06:50:07    sock.c:229:read_conn      3   00100000000011       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     3 closed
2021-07-19 06:50:07    sock.c:402:accept_conn    5 accepted 127.0.0.1:32938
2021-07-19 06:50:07    sock.c:285:close_conn     4 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     6 -> http://127.0.0.1:12344
2021-07-19 06:50:07    sock.c:229:read_conn      5   00100000000011       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     5 closed
2021-07-19 06:50:07    sock.c:402:accept_conn    7 accepted 127.0.0.1:32940
2021-07-19 06:50:07    sock.c:285:close_conn     6 closed
2021-07-19 06:50:07    sock.c:285:close_conn     7 closed
2021-07-19 06:50:07    sock.c:285:close_conn     1 closed
2021-07-19 06:50:07  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:07    sock.c:369:mg_connect     1 -> udp://time.google.com:123
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> udp://8.8.8.8:53
2021-07-19 06:50:07  E sntp.c:53:mg_sntp_send    1 wait until resolved
2021-07-19 06:50:07    dns.c:165:dns_cb          1 time.google.com resolved to 216.239.35.12
2021-07-19 06:50:07    sntp.c:60:mg_sntp_send    0x4 request sent, ct 1626677407, next at 1626681007
2021-07-19 06:50:07    sntp.c:39:sntp_cb         1626677407.3162124933, next at 1626681007
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07    sock.c:285:close_conn     1 closed
2021-07-19 06:50:07  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:07  E sntp.c:18:mg_sntp_parse   wrong version
2021-07-19 06:50:07  E sntp.c:16:mg_sntp_parse   corrupt packet
2021-07-19 06:50:07    sock.c:369:mg_connect     1 -> http://google.com
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> udp://127.0.0.1:12345
2021-07-19 06:50:07  E event.c:18:mg_error       1 DNS timeout
2021-07-19 06:50:07    sock.c:285:close_conn     1 closed
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:07  I unit_test.c:939:test_time g_timers: (nil)
2021-07-19 06:50:07  I sock.c:474:mg_listen      1 accepting on http://127.0.0.1:12349
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> http://127.0.0.1:12349
2021-07-19 06:50:07    sock.c:402:accept_conn    3 accepted 127.0.0.1:40614
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07    sock.c:229:read_conn      3   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     3 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     4 -> http://127.0.0.1:12349
2021-07-19 06:50:07    sock.c:402:accept_conn    5 accepted 127.0.0.1:40616
2021-07-19 06:50:07  I http.c:496:getrange       bytes=5-10
2021-07-19 06:50:07    sock.c:285:close_conn     4 closed
2021-07-19 06:50:07    sock.c:229:read_conn      5   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     5 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     6 -> http://127.0.0.1:12349
2021-07-19 06:50:07    sock.c:402:accept_conn    7 accepted 127.0.0.1:40618
2021-07-19 06:50:07  I http.c:496:getrange       bytes=300-
2021-07-19 06:50:07    sock.c:285:close_conn     6 closed
2021-07-19 06:50:07    sock.c:229:read_conn      7   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     7 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     8 -> http://127.0.0.1:12349
2021-07-19 06:50:07    sock.c:402:accept_conn    9 accepted 127.0.0.1:40620
2021-07-19 06:50:07  I http.c:496:getrange       bytes=999-
2021-07-19 06:50:07    sock.c:285:close_conn     8 closed
2021-07-19 06:50:07    sock.c:229:read_conn      9   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     9 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     10 -> http://127.0.0.1:12349
2021-07-19 06:50:07    sock.c:402:accept_conn    11 accepted 127.0.0.1:40622
2021-07-19 06:50:07  I http.c:496:getrange       bytes=0-312
2021-07-19 06:50:07    sock.c:285:close_conn     10 closed
2021-07-19 06:50:07    sock.c:229:read_conn      11  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     11 closed
2021-07-19 06:50:07    sock.c:285:close_conn     1 closed
2021-07-19 06:50:07  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:07  I sock.c:474:mg_listen      1 accepting on https://127.0.0.1:12347
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> https://127.0.0.1:12347
2021-07-19 06:50:07    tls.c:95:mg_tls_init      2 Setting TLS, CA: ./test/data/ss_ca.pem, cert: ./test/data/ss_client.pem, key: -
2021-07-19 06:50:07    sock.c:402:accept_conn    3 accepted 127.0.0.1:49670
2021-07-19 06:50:07    tls.c:95:mg_tls_init      3 Setting TLS, CA: ./test/data/ss_ca.pem, cert: ./test/data/ss_server.pem, key: ./test/data/ss_server.pem
2021-07-19 06:50:07    tls.c:45:mg_tls_handshake 3 success
2021-07-19 06:50:07    tls.c:45:mg_tls_handshake 2 success
2021-07-19 06:50:07    sock.c:229:read_conn      3   00100100000010       0 0/512 err 11
2021-07-19 06:50:07    sock.c:229:read_conn      2   01000100000011       0 0/512 err 11
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /a.txt] message len 21
2021-07-19 06:50:07    sock.c:229:read_conn      2   01000100000010       0 0/512 err 11
2021-07-19 06:50:07    sock.c:229:read_conn      3   00100100000011       0 0/512 err 11
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07    sock.c:229:read_conn      3   00100100000010       0 -1/512 err 11
2021-07-19 06:50:07    sock.c:285:close_conn     3 closed
2021-07-19 06:50:07    sock.c:285:close_conn     1 closed
2021-07-19 06:50:07  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:07  I sock.c:474:mg_listen      1 accepting on ws://LOCALHOST:12345
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> ws://localhost:12345/ws
2021-07-19 06:50:07    sock.c:402:accept_conn    3 accepted 127.0.0.1:46034
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /ws] message len 150
2021-07-19 06:50:07    ws.c:142:mg_ws_cb         WS PONG
2021-07-19 06:50:07  E ws.c:154:mg_ws_cb         3 Got WS CLOSE
2021-07-19 06:50:07    sock.c:285:close_conn     3 closed
2021-07-19 06:50:07    sock.c:229:read_conn      2   01000000100010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07    sock.c:285:close_conn     1 closed
2021-07-19 06:50:07  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:07  I sock.c:474:mg_listen      1 accepting on http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:369:mg_connect     2 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    3 accepted 127.0.0.1:41508
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /a.txt] message len 21
2021-07-19 06:50:07    sock.c:285:close_conn     2 closed
2021-07-19 06:50:07    sock.c:229:read_conn      3   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     3 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     4 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    5 accepted 127.0.0.1:41510
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /%61.txt] message len 23
2021-07-19 06:50:07    sock.c:285:close_conn     4 closed
2021-07-19 06:50:07    sock.c:229:read_conn      5   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     5 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     6 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    7 accepted 127.0.0.1:41512
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /no_reason] message len 25
2021-07-19 06:50:07    sock.c:285:close_conn     6 closed
2021-07-19 06:50:07    sock.c:229:read_conn      7   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     7 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     8 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    9 accepted 127.0.0.1:41514
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /a.txt] message len 49
2021-07-19 06:50:07    sock.c:285:close_conn     8 closed
2021-07-19 06:50:07    sock.c:229:read_conn      9   00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     9 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     10 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    11 accepted 127.0.0.1:41516
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /foo/1] message len 22
2021-07-19 06:50:07    sock.c:285:close_conn     10 closed
2021-07-19 06:50:07    sock.c:229:read_conn      11  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     11 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     12 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    13 accepted 127.0.0.1:41518
2021-07-19 06:50:07  I unit_test.c:338:eh1       [POST /body] message len 46
2021-07-19 06:50:07    sock.c:285:close_conn     12 closed
2021-07-19 06:50:07    sock.c:229:read_conn      13  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     13 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     14 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    15 accepted 127.0.0.1:41520
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /ssi] message len 21
2021-07-19 06:50:07  E ssi.c:41:mg_ssi           /home/brian/rk3326/app/websocket/mongoose/test/data/ssi/nested.shtml: virtual=/notexist.txt error or too deep
2021-07-19 06:50:07  E ssi.c:31:mg_ssi           /home/brian/rk3326/app/websocket/mongoose/test/data/ssi/recurse.shtml: file=recurse.shtml error or too deep
2021-07-19 06:50:07    sock.c:285:close_conn     14 closed
2021-07-19 06:50:07    sock.c:229:read_conn      15  00100000000010       0 -1/512 err 2
2021-07-19 06:50:07    sock.c:285:close_conn     15 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     16 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    17 accepted 127.0.0.1:41522
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /badroot] message len 24
2021-07-19 06:50:07  E http.c:827:mg_http_serve_ realpath(/BAAADDD!): 2
2021-07-19 06:50:07    sock.c:285:close_conn     16 closed
2021-07-19 06:50:07    sock.c:229:read_conn      17  00100000000010       0 -1/512 err 2
2021-07-19 06:50:07    sock.c:285:close_conn     17 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     18 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    19 accepted 127.0.0.1:41524
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /ca.pem] message len 23
2021-07-19 06:50:07    sock.c:285:close_conn     18 closed
2021-07-19 06:50:07    sock.c:229:read_conn      19  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     19 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     20 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    21 accepted 127.0.0.1:41526
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /empty.js] message len 25
2021-07-19 06:50:07    sock.c:285:close_conn     20 closed
2021-07-19 06:50:07    sock.c:229:read_conn      21  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     21 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     22 -> tcp://127.0.0.1:55117
2021-07-19 06:50:07  E event.c:18:mg_error       22 error connecting to 127.0.0.1:55117
2021-07-19 06:50:07    sock.c:285:close_conn     22 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     23 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    24 accepted 127.0.0.1:41530
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /test/] message len 21
2021-07-19 06:50:07    sock.c:285:close_conn     23 closed
2021-07-19 06:50:07    sock.c:229:read_conn      24  00100000000010       0 -1/512 err 2
2021-07-19 06:50:07    sock.c:285:close_conn     24 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     25 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    26 accepted 127.0.0.1:41532
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /test/] message len 21
2021-07-19 06:50:07    sock.c:285:close_conn     25 closed
2021-07-19 06:50:07    sock.c:229:read_conn      26  00100000000010       0 -1/512 err 2
2021-07-19 06:50:07    sock.c:285:close_conn     26 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     27 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    28 accepted 127.0.0.1:41534
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /creds] message len 38
2021-07-19 06:50:07    sock.c:285:close_conn     27 closed
2021-07-19 06:50:07    sock.c:229:read_conn      28  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     28 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     29 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    30 accepted 127.0.0.1:41536
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /creds] message len 48
2021-07-19 06:50:07    sock.c:285:close_conn     29 closed
2021-07-19 06:50:07    sock.c:229:read_conn      30  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     30 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     31 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    32 accepted 127.0.0.1:41538
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /creds] message len 58
2021-07-19 06:50:07    sock.c:285:close_conn     31 closed
2021-07-19 06:50:07    sock.c:229:read_conn      32  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     32 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     33 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    34 accepted 127.0.0.1:41540
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /creds] message len 57
2021-07-19 06:50:07    sock.c:285:close_conn     33 closed
2021-07-19 06:50:07    sock.c:229:read_conn      34  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     34 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     35 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    36 accepted 127.0.0.1:41542
2021-07-19 06:50:07  I unit_test.c:338:eh1       [POST /upload] message len 42
2021-07-19 06:50:07    sock.c:285:close_conn     35 closed
2021-07-19 06:50:07    sock.c:229:read_conn      36  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     36 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     37 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    38 accepted 127.0.0.1:41544
2021-07-19 06:50:07  I unit_test.c:338:eh1       [POST /upload] message len 67
2021-07-19 06:50:07    http.c:395:mg_http_upload 0x5 5 bytes @ 0 [uploaded.txt]
2021-07-19 06:50:07    sock.c:285:close_conn     37 closed
2021-07-19 06:50:07    sock.c:229:read_conn      38  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     38 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     39 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    40 accepted 127.0.0.1:41546
2021-07-19 06:50:07  I unit_test.c:338:eh1       [POST /upload] message len 77
2021-07-19 06:50:07    http.c:395:mg_http_upload 0x5 6 bytes @ 5 [uploaded.txt]
2021-07-19 06:50:07    sock.c:285:close_conn     39 closed
2021-07-19 06:50:07    sock.c:229:read_conn      40  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     40 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     41 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    42 accepted 127.0.0.1:41548
2021-07-19 06:50:07  I unit_test.c:338:eh1       [GET /a.txt] message len 21
2021-07-19 06:50:07    sock.c:285:close_conn     41 closed
2021-07-19 06:50:07    sock.c:229:read_conn      42  00100000000010       0 -1/512 err 115
2021-07-19 06:50:07    sock.c:285:close_conn     42 closed
2021-07-19 06:50:07    sock.c:369:mg_connect     43 -> http://127.0.0.1:12346
2021-07-19 06:50:07    sock.c:402:accept_conn    44 accepted 127.0.0.1:41550
2021-07-19 06:50:07  I unit_test.c:338:eh1       [HEAD /a.txt] message len 22
2021-07-19 06:50:08    sock.c:285:close_conn     43 closed
2021-07-19 06:50:08  I sock.c:474:mg_listen      45 accepting on http://[::1]:12346
2021-07-19 06:50:08    sock.c:369:mg_connect     46 -> http://[::1]:12346
2021-07-19 06:50:08    sock.c:402:accept_conn    47 accepted [0:0:0:0:0:0:0:1]:35266
2021-07-19 06:50:08    sock.c:229:read_conn      44  00100000000010       0 -1/512 err 115
2021-07-19 06:50:08    sock.c:285:close_conn     44 closed
2021-07-19 06:50:08  I unit_test.c:338:eh1       [GET /a.txt] message len 21
2021-07-19 06:50:08    sock.c:285:close_conn     46 closed
2021-07-19 06:50:08    sock.c:229:read_conn      47  00100000000010       0 -1/512 err 115
2021-07-19 06:50:08    sock.c:285:close_conn     47 closed
2021-07-19 06:50:08    sock.c:285:close_conn     45 closed
2021-07-19 06:50:08    sock.c:285:close_conn     1 closed
2021-07-19 06:50:08  I net.c:122:mg_mgr_free     All connections closed
2021-07-19 06:50:08    sock.c:369:mg_connect     1 -> http://cesanta.com
2021-07-19 06:50:08    sock.c:369:mg_connect     2 -> udp://8.8.8.8:53
2021-07-19 06:50:08    dns.c:165:dns_cb          1 cesanta.com resolved to 148.251.54.236
2021-07-19 06:50:09    sock.c:285:close_conn     1 closed
2021-07-19 06:50:09    sock.c:369:mg_connect     3 -> https://cesanta.com
2021-07-19 06:50:09    tls.c:95:mg_tls_init      3 Setting TLS, CA: ./test/data/ca.pem, cert: -, key: -
2021-07-19 06:50:09    dns.c:165:dns_cb          3 cesanta.com resolved to 148.251.54.236
2021-07-19 06:50:11    tls.c:45:mg_tls_handshake 3 success
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000011       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:11    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010       0 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:12    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:13    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
2021-07-19 06:50:14    sock.c:229:read_conn      3   01000100000010   16384 0/512 err 11
FAILURE test/unit_test.c:677: ok == 200
Makefile:60: recipe for target 'test' failed
make: *** [test] Error 1
root@brian:mongoose# 
cpq commented 3 years ago

What if you increase the loop value on line 676 from 500 to a higher value, like 5000 ?

cpq commented 3 years ago

@remainfox did you manage to repeat the test with the increased count?

cpq commented 3 years ago

No response, closing this.

vrkansagara commented 2 years ago

@cpq #1437 has same issue.

I tried above solution with 500 to 5000 result will be the same

2021-12-27 04:07:47 3 sock.c:294:close_conn      3 closed
2021-12-27 04:07:47 3 sock.c:373:mg_connect      4 -> http://ipv6.google.com
2021-12-27 04:07:47 3 sock.c:373:mg_connect      5 -> udp://[2001:4860:4860::8888]:53
2021-12-27 04:07:50 1 event.c:21:mg_error        4 DNS timeout
2021-12-27 04:07:50 3 sock.c:294:close_conn      4 closed
FAILURE test/unit_test.c:788: ok == 200
make: *** [Makefile:65: test] Error 1

@cpq I think you have to use https://ipv6test.google.com/ for ipv6 testing