Re: Specify specific IP address?

2019-09-06 Thread Felipe Gasper via curl-library
Never mind, I think I have it w/ the open-socket callback.

Thank you--sorry for the noise.

-FG

> On Sep 6, 2019, at 5:12 PM, Felipe Gasper via curl-library 
>  wrote:
> 
> Hello,
> 
>   Is it possible for libcurl to use a specified peer IP address when 
> making a request?
> 
>   I tried using http://$ip/... with a custom Host header, but that makes 
> SSL verification fail.
> 
>   Thank you!
> 
> -Felipe Gasper
> Mississauga, Ontario
> ---
> Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
> Etiquette:   https://curl.haxx.se/mail/etiquette.html


---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html

Specify specific IP address?

2019-09-06 Thread Felipe Gasper via curl-library
Hello,

Is it possible for libcurl to use a specified peer IP address when 
making a request?

I tried using http://$ip/... with a custom Host header, but that makes 
SSL verification fail.

Thank you!

-Felipe Gasper
Mississauga, Ontario
---
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html