today I taught someone about --connect-to in #curl and they were like "wow that's sick" and it made my day
@elseweather !!! I've been using --resolve for years. You've saved me like, 5 minutes a year of typing domain names
@Apoque yw! In my case I needed to preserve the SNI, which I think isn't even possible with --resolve
@elseweather Resolve preserves SNI, it just overrides the connect IP. Noone would use it over the regular ghost otherwise. Ithink the design was made so you could do multiple resolves in an alias instead of editing /etc/hosts with your private hosts.
@Apoque Ah yeah you're right. My use case was something like I wanted to resolve example.com to specific-cdn-pop.example.com, and my coworkers were going through this extra step of finding the POP IPs