--- parser3/tests/450-curl.html 2026/07/19 19:07:57 1.1
+++ parser3/tests/450-curl.html 2026/09/27 22:56:23 1.3
@@ -8,7 +8,8 @@
#either via explicit resolve entries or via the 'parser' resolve mode
$ip[^inet:name2ip[www.parser.ru]]
-$status:limit-nproc(1)
+
+^try-catch{ $status:limit-nproc(1) }
1.2. parser resolve exception:
^try-catch{ ^curl:load[ $.url[https://no-such-domain] $.resolve[parser] ] }
@@ -32,8 +33,10 @@ $status:limit-nproc(1)
5. explicit entries have priority over 'parser' mode:
^curl:session{
- ^curl:options[ $.resolve[ $.[www.parser.ru:56423][127.0.0.1] ] ]
- ^try-catch-filtered{ ^load[ $.port[56423] ] }
+ ^curl:options[ $.resolve[ $.[www.parser.ru][195.218.200.197] ] ]
+ connects to rol8: ^try-catch-filtered{ ^load[] }
+ ^curl:options[ $.resolve[^hash::create[]] ]
+ parser resolves to real IP: ^load[]
}
6. revert to 'curl' mode: