devsisters / goquic

QUIC support for Go
http://devsisters.github.io/goquic/
BSD 3-Clause "New" or "Revised" License
942 stars 100 forks source link

Crash on go 1.6 #19

Closed hodduc closed 8 years ago

hodduc commented 8 years ago

GoQUIC is not currently not available in go 1.6. This is because of major change in go1.6. (https://tip.golang.org/doc/go1.6). Currently GoQuic's c-side structures retain and stores Go ptr, possibly causes a problem.

We have a plan to fix this by not retain Go ptr on cgo call, with a lot of changes. Meanwhile, disabling CGO check by setting the environment variable GODEBUG=cgocheck=0 should be work as a quick solution.

hodduc commented 8 years ago

Should work now (with slightly reduced performance)