-
Notifications
You must be signed in to change notification settings - Fork 433
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
Allow merging of SSL opts #655
Allow merging of SSL opts #655
Conversation
wouldn't exposing the |
It would work, but then the client still needs to duplicate the full list of default opts when setting custom ones. |
What do you think @benoitc? |
don't worry about the syntax issue. It's one of these usual bugs of Travis... The issue with this change is that some people will still want maybe to use some other settings imo. Maybe instead of replacing ssl options we could merge them or provide a way to merge defaults and the one in options ? this could be done there: https://github.com/benoitc/hackney/blob/master/src/hackney_connection.erl#L125 Thoughts? |
Yeah, that would be a better solution. But that would either be a breaking change, or to introduce a new method there? |
This reverts commit e5bfbfd.
@benoitc would something like this be better maybe? |
Sorry to be a bother, have you had any time to look at this yet @benoitc? :) |
sorry for the late answer. That would probably work. I am doing a release today possibly including it :) |
@benoitc is the plan to get this out on the 14th of November like it says on the milestone date? :) |
@benoitc any plan for when the new release will be released? |
@spydon next release will happen next week on thursday. this feature should be part of it normally. |
that has been slightly delayed. It will happen this week, coming with a new documentation website. |
Any updates on the release? :) |
i will merge a minor release with it later today |
Related to #654
Since it isn't currently possible to merge your custom ssl opts with the default ones it could be a first step to expose the default ones so that the merging can be done client side.