1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 09:21:50 -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-03-12 00:34:33 +01:00
2018-12-03 23:13:40 +01:00
2018-10-08 19:37:40 +00:00
2017-12-06 00:12:48 +01:00
2018-11-01 10:29:53 +01:00
2018-11-09 17:46:05 +01:00
2018-09-23 22:24:02 +00:00
2018-11-01 10:29:53 +01:00
2018-11-01 10:29:53 +01:00
2018-06-03 12:14:45 +00:00
2018-09-23 22:24:02 +00:00
2018-10-01 07:54:58 +02:00
2011-12-30 03:53:25 +01:00
2018-10-12 21:04:37 +00:00
2018-09-23 22:24:02 +00:00
2018-09-23 22:24:02 +00:00
2017-12-04 09:15:39 +01:00
2017-10-28 10:54:20 +02:00
2018-12-12 08:12:27 +01:00
2018-10-30 17:53:59 +01:00
2018-09-23 22:24:02 +00:00
2015-06-10 00:21:06 +02:00

curl logo

Documentation

You'll find a mix of various documentation in this directory and subdirectories, using several different formats. Some of them are not ideal for reading directly in your browser.

If you'd rather see the rendered version of the documentation, check out the curl web site's documentation section for general curl stuff or the libcurl section for libcurl related documentation.