-
Notifications
You must be signed in to change notification settings - Fork 62
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.21 error #321
Comments
quic need update and seems routedns using old quic function |
I updated the library and can now build it with Go 1.21. Can you try out |
Hello,
it's ok for me
Thanks
Nicolas
Le dim. 20 août 2023 à 11:02, Frank Olbricht ***@***.***> a
écrit :
… I updated the library and can now build it with Go 1.21. Can you try out
issue-321 to confirm it works? I haven't tested the quic server
functionality, though it's probably fine since it only needed a very minor
change.
—
Reply to this email directly, view it on GitHub
<#321 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMCNUF22TBILDCHCJT5KBLXWHHDTANCNFSM6AAAAAA3UJXAY4>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hello,
does not compile with golang 1.21
../../dohclient.go:419:35: cannot use udpConn (variable of type *net.UDPConn) as context.Context value in argument to quic.DialEarly: *net.UDPConn does not implement context.Context (missing method Deadline)
../../dohclient.go:419:44: cannot use udpAddr (variable of type *net.UDPAddr) as net.PacketConn value in argument to quic.DialEarly: *net.UDPAddr does not implement net.PacketConn (missing method Close)
../../dohclient.go:419:53: cannot use hostname (variable of type string) as net.Addr value in argument to quic.DialEarly: string does not implement net.Addr (missing method Network)
../../doqlistener.go:79:14: cannot use quic.ListenAddr(s.addr, s.opt.TLSConfig, &quic.Config{}) (value of type *quic.Listener) as quic.Listener value in assignment
Regards,
Nicolas
The text was updated successfully, but these errors were encountered: