-
Notifications
You must be signed in to change notification settings - Fork 18k
syscall: Syscall breaks when https request has been sent before (after upgrading to OS X Mavericks) #6649
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
Labels
Comments
https uses cgo to get the root CA set. but http uses cgo to translate www.apple.com so it's not cgo specifically that's the problem. On earlier versions of OS X, syscall.Exec was disallowed if the program had created any threads. Nearly all Go programs create threads very early on, so syscall.Exec almost always failed on OS X. Perhaps now instead of returning an error it kills the program. Either way, I think you'd be better off using os/exec to start and wait for a subprocess. |
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
by tobstarr:
Attachments:
The text was updated successfully, but these errors were encountered: