qdeconinck / mp-quic

Please read https://multipath-quic.org/2017/12/09/artifacts-available.html to figure out how to setup the code.
MIT License
176 stars 71 forks source link

How install MPQuic with quic-go? #4

Closed thomaswpp closed 4 years ago

thomaswpp commented 5 years ago

I tried different ways to install MPQuic, but were not successful. How can I install MPQuic? and what version of quic-go is compatible?

I tried this tutorial https://multipath-quic.org/2017/12/09/artifacts-available.html but when I try "go get -t -u ./..." I get error

package golang.org/x/net/lex/httplex: cannot find package "golang.org/x/net/lex/httplex" in any of: /usr/local/go/src/golang.org/x/net/lex/httplex (from $GOROOT) /home/thomas/go/src/golang.org/x/net/lex/httplex (from $GOPATH) So, I change this files request_writer.go and roundtrip.go "golang.org/x/net/lex/httplex" ==> "golang.org/x/net/http/httpguts"

And when I try again "go get -t -u ./..." I got this error:

github.com/lucas-clemente/quic-go/internal/crypto internal/crypto/key_derivation.go:47:60: cs.KeyLen undefined (type mint.CipherSuiteParams has no field or method KeyLen) internal/crypto/key_derivation.go:48:58: cs.IvLen undefined (type mint.CipherSuiteParams has no field or method IvLen)

0xVikas commented 4 years ago

@thomaswpp you can try to git reset mint to an earlier commit, as given in the tutorial you mentioned. Also, use the latest version of golang. It should work.

thomaswpp commented 4 years ago

Hi @0xVikas, I managed to run mpquic, at the moment I am making modifications to a research project, thanks for your answer. At this time, I had no idea how to start the project.

cutecollege commented 4 years ago

Hi,my dear friend. I also got the same error when run my MPQUIC,and How to reset git? Thanks.