1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -05:00
curl/docs/cmdline-opts
Claes Jakobsson d8cae791f4 hostip: support wildcard hosts
This adds support for wildcard hosts in CURLOPT_RESOLVE. These are
try-last so any non-wildcard entry is resolved first. If specified,
any host not matched by another CURLOPT_RESOLVE config will use this
as fallback.

Example send a.com to 10.0.0.1 and everything else to 10.0.0.2:
  curl --resolve *:443:10.0.0.2 --resolve a.com:443:10.0.0.1 \
       https://a.com https://b.com

This is probably quite similar to using:
  --connect-to a.com:443:10.0.0.1:443 --connect-to :443:10.0.0.2:443

Closes #3406
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
2018-12-27 14:23:53 +01:00
..
2017-08-12 17:36:12 +02:00
2018-09-06 09:17:25 +02:00
2016-12-17 23:56:50 +01:00
2017-03-31 22:36:46 -04:00
2018-04-17 15:32:51 -04:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2018-04-17 15:32:51 -04:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2018-09-23 22:24:02 +00:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2017-03-03 02:37:43 -05:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2017-01-16 08:34:15 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2018-02-23 23:29:01 +00:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2016-11-16 15:15:57 +01:00
2018-04-17 15:32:51 -04:00
2016-12-17 23:56:50 +01:00
2018-04-17 15:32:51 -04:00
2016-12-16 22:01:01 +01:00
2018-04-17 15:32:51 -04:00
2017-03-11 11:44:18 +01:00
2016-11-16 15:15:57 +01:00
2018-12-27 14:23:53 +01:00
2018-05-21 20:29:12 +02:00
2017-03-11 11:44:18 +01:00
2018-12-13 08:35:55 +01:00
2018-06-29 09:15:34 +02:00