1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00
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
..
2018-12-20 11:32:55 +01:00
2016-10-18 13:59:54 +02:00
2018-09-23 22:24:02 +00:00
2018-12-03 23:13:40 +01:00
2018-09-23 22:24:02 +00:00
2018-01-05 23:34:30 -05:00
2018-10-19 09:23:14 +02:00
2018-12-13 09:57:58 +01:00
2018-06-03 12:14:45 +00:00
2018-09-23 22:24:02 +00:00
2017-03-26 23:56:23 +02:00
2018-10-26 00:04:02 +02:00
2018-06-11 11:14:48 +02:00
2018-09-23 22:24:02 +00:00
2018-11-01 10:29:53 +01:00
2018-09-22 11:58:10 +02:00
2018-12-06 09:52:38 +01:00
2018-11-25 11:25:43 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-22 11:58:10 +02:00
2018-06-11 11:14:48 +02:00
2017-04-22 11:25:27 +02:00
2018-09-06 09:17:17 +02:00
2018-11-01 10:29:53 +01:00
2018-09-23 22:24:02 +00:00
2018-12-27 14:23:53 +01:00
2018-09-06 09:17:17 +02:00
2018-09-23 22:24:02 +00:00
2016-12-21 11:07:26 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-12-11 13:20:12 +01:00
2018-12-10 00:10:04 +01:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-11-01 10:29:53 +01:00
2018-09-23 22:24:02 +00:00
2018-12-03 23:13:40 +01:00
2018-11-01 10:29:53 +01:00
2018-06-27 13:49:18 +02:00
2018-07-28 22:36:15 +02:00
2018-02-23 23:29:01 +00:00
2017-09-02 17:47:10 +01:00
2018-09-23 22:24:02 +00:00
2018-02-23 23:29:01 +00:00
2018-03-19 19:22:42 +01:00
2018-09-23 22:24:02 +00:00
2018-07-20 22:58:42 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-06-11 11:14:48 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-07-30 17:59:36 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-01 10:40:42 +02:00
2018-08-21 18:53:43 +02:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2018-12-27 00:05:12 +01:00
2018-12-11 15:02:24 +01:00
2018-12-27 14:23:53 +01:00