-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redoing PR for Travis #133
Conversation
Why do we have the ipaddr to string commit? Seems like it's breaking compatibility. |
794ee1a
to
82c4032
Compare
The ability to use hostnames (that are resolved by Async) was negated by the old interface. The Ipaddr.t provided was anyway converted as a string. In practice, if you want to connect to an URL in text form, how do you get an IP address from it with Ipaddr.t with Async? This is indeed breaking API change but I think this is better. What do you think? If you don't, do you know any straightforward way to get an Ipaddr.t from a hostname (I'm not using Lwt) ? |
I see. That's indeed annoying. What about introducing a new set of Since this is a breaking change, I'd like to hear what other maintainers On 06/12, Vincent Bernardoff wrote:
|
@vbmithr OK I've thought over this more and without more feedback I'm in favor of this change. A couple of things still bug me however:
|
@rgrinberg Yes definitely we need the same constructor as in Async. I would even remove the existing one to leave only this one. For the Ipaddr.t not used, I don't see why it would be a problem. |
146d013
to
84179f7
Compare
@vbmithr