Skip to content
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

Golang 1.8 - Use ClientTrace.TLSHandshakeStart and TLSHandshakeDone #114

Merged
merged 1 commit into from
Apr 28, 2018
Merged

Conversation

wendigo
Copy link

@wendigo wendigo commented Oct 22, 2016

Use ClientTrace.TLSHandshakeStart/HandshakeDone from incoming go 1.8: golang/go@abdd73c

This PR probably should be blocked until 1.8 is released

@davecheney
Copy link
Owner

Thanks for sending this. TBH I'm not going to look at this until 1.8 is out at the end of the year, and even then might ask you for a solution to keep backwards compat with go 1.7.

@davecheney
Copy link
Owner

Also, please raise an issue before slinging code. Thank you.

@wendigo
Copy link
Author

wendigo commented Oct 23, 2016

Off-topic question @davecheney: what's your recommended approach to using version-specific golang APIs? Should it be avoided and support for previous golang versions must be provided or is it ok to use the most recent version when building and distributing open source software?

@davecheney
Copy link
Owner

Generally you have to break out the affected function and then implement it
twice with // +build tags

On Sun, Oct 23, 2016 at 9:11 PM, Mateusz Gajewski [email protected]
wrote:

Off-topic question @davecheney https://github.com/davecheney: what's
your recommended approach to using version-specific golang APIs? Should it
be avoided and support for previous golang versions must be provided or is
it ok to use the most recent version when building and distributing open
source software?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#114 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA2TnLUNcEOfPQfpH7ONVEnCIj6Jxks5q2zLsgaJpZM4Kd6bM
.

@davecheney
Copy link
Owner

As for the question about should you use the latest version of Go -- yes,
you should always use the latest version of Go; previous ones have more
bugs and are not supported.

On Sun, Oct 23, 2016 at 9:27 PM, Dave Cheney [email protected] wrote:

Generally you have to break out the affected function and then implement
it twice with // +build tags

On Sun, Oct 23, 2016 at 9:11 PM, Mateusz Gajewski <
[email protected]> wrote:

Off-topic question @davecheney https://github.com/davecheney: what's
your recommended approach to using version-specific golang APIs? Should it
be avoided and support for previous golang versions must be provided or is
it ok to use the most recent version when building and distributing open
source software?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#114 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA2TnLUNcEOfPQfpH7ONVEnCIj6Jxks5q2zLsgaJpZM4Kd6bM
.

@wendigo
Copy link
Author

wendigo commented Mar 1, 2017

Related to #113

Copy link
Contributor

@inkel inkel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that Go 1.8 is out, this would be nice to have merged.

@rs
Copy link

rs commented Apr 27, 2018

The .travis needs to be updated to use Go 1.8 so the CI don't fail. Then I guess @davecheney should be able to merge this.

@davecheney
Copy link
Owner

davecheney commented Apr 27, 2018 via email

@rs rs mentioned this pull request Apr 27, 2018
@davecheney davecheney merged commit 0bb58fd into davecheney:master Apr 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants