Annotation of parser3/tests/results/450-curl.processed, revision 1.2
1.1 moko 1: Content-Type: text/html
1.2 ! moko 2: Content-Length: 1911
1.1 moko 3:
4: 1. curl resolve exception:
5: Exception type: curl.host,
6: Source: https://no-such-domain,
7: Comment: Could not resolve host: no-such-domain
8: 1.2. parser resolve exception:
9: Exception type: curl.host,
10: Source: load,
11: Comment: Can't resolve domain name 'no-such-domain': Name or service not known
12: 1.3. detailed resolver error message from CURLOPT_ERRORBUFFER:
13: Exception type: curl.host,
14: Source: https://no-such-domain,
15: Comment: getaddrinfo() thread failed to start
16: 2. explicit resolve entries populate DNS cache bypassing the resolver:
17: status: 200, size: 61
18: 2.1. port-less entry covers both http and https:
19: status: 200, size: 61
20: status: 200, size: 61
21: 3. 'parser' mode resolves synchronously and populates the resolve list automatically:
22: status: 200, size: 61
23: 4. 'parser' mode can be set outside of 'session' operator:
24: status: 200, size: 61
25: 5. explicit entries have priority over 'parser' mode:
1.2 ! moko 26: connects to rol8: Exception type: curl.connect,
1.1 moko 27: Source: http://www.parser.ru/_/tests/readme
1.2 ! moko 28: parser resolves to real IP: status: 200, size: 61
1.1 moko 29: 6. revert to 'curl' mode:
30: Exception type: curl.host,
31: Source: http://www.parser.ru/_/tests/readme,
32: Comment: getaddrinfo() thread failed to start
33: 7. second load finds the entry added by the first one:
34: status: 200, size: 61
35: 7.1. http OK: status: 200, size: 61
36: 7.2. https fails (OK): Exception type: curl.host,
37: Source: https://www.parser.ru/_/tests/readme,
38: Comment: getaddrinfo() thread failed to start
39: 8. port option is used instead of :port in url:
40: 8.1. Exception type: curl.connect,
41: Source: http://www.parser.ru/_/tests/readme
42: 8.2. status: 200, size: 61
43: 8.3. Exception type: curl.connect,
44: Source: http://www.parser.ru:80/_/tests/readme
45: 9. Exception type: curl,
46: Source: dns,
47: Comment: invalid resolve option value, must be 'parser' or 'curl'
48: 10. empty mode = 'curl' mode:
49: Exception type: curl.host,
50: Source: http://www.parser.ru/_/tests/readme,
51: Comment: getaddrinfo() thread failed to start
E-mail: