-
Notifications
You must be signed in to change notification settings - Fork 223
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
client: add new functions to specify options #266
base: master
Are you sure you want to change the base?
Conversation
Expose a new set of functions to create a client with custom options. Signed-off-by: Robin Jarry <[email protected]>
Hi @emersion, do you have any remarks? Since the 0.21 release, it is not possible to connect with STARTTLS and a custom local name other than
If this PR could be applied and included in a tagged release it would be awesome :) Thanks! |
This commit should already fix your issue: 75e52af This PR adds a more convenient way to set client options but doesn't add any new functionality - I'm not 100% sure it's a good idea to have 2 ways of doing the same thing... |
Ok, this should do fine. However 75e52af it is still on master, not included in any tag yet. Could you cut a Thanks! |
This was more tricky than just releasing a new bugfix release, because master also has another commit with breaking changes. I've established a branch for v0.21.x and released 0.21.3. |
Thanks! Should I close this PR or are you considering taking it in? |
Yeah, please keep it open. If I had to design an API from scratch, I'd probably only expose options and not expose public fields in |
the default timeout toooooo long, we need this PR or something like this |
Expose a new set of functions to create a client with custom options.