rename module, adjust import paths to quic-go/quic-go (#3680)

This commit is contained in:
Marten Seemann 2023-01-21 19:53:57 -08:00 committed by GitHub
parent 9488539a49
commit 58cedf7a4f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
316 changed files with 865 additions and 849 deletions

View file

@ -101,8 +101,8 @@
- Add a `quic.Config` option to configure keep-alive - Add a `quic.Config` option to configure keep-alive
- Rename the STK to Cookie - Rename the STK to Cookie
- Implement `net.Conn`-style deadlines for streams - Implement `net.Conn`-style deadlines for streams
- Remove the `tls.Config` from the `quic.Config`. The `tls.Config` must now be passed to the `Dial` and `Listen` functions as a separate parameter. See the [Godoc](https://godoc.org/github.com/lucas-clemente/quic-go) for details. - Remove the `tls.Config` from the `quic.Config`. The `tls.Config` must now be passed to the `Dial` and `Listen` functions as a separate parameter. See the [Godoc](https://godoc.org/github.com/quic-go/quic-go) for details.
- Changed the log level environment variable to only accept strings ("DEBUG", "INFO", "ERROR"), see [the wiki](https://github.com/lucas-clemente/quic-go/wiki/Logging) for more details. - Changed the log level environment variable to only accept strings ("DEBUG", "INFO", "ERROR"), see [the wiki](https://github.com/quic-go/quic-go/wiki/Logging) for more details.
- Rename the `h2quic.QuicRoundTripper` to `h2quic.RoundTripper` - Rename the `h2quic.QuicRoundTripper` to `h2quic.RoundTripper`
- Changed `h2quic.Server.Serve()` to accept a `net.PacketConn` - Changed `h2quic.Server.Serve()` to accept a `net.PacketConn`
- Drop support for Go 1.7 and 1.8. - Drop support for Go 1.7 and 1.8.

View file

@ -2,8 +2,8 @@
<img src="docs/quic.png" width=303 height=124> <img src="docs/quic.png" width=303 height=124>
[![PkgGoDev](https://pkg.go.dev/badge/github.com/lucas-clemente/quic-go)](https://pkg.go.dev/github.com/lucas-clemente/quic-go) [![PkgGoDev](https://pkg.go.dev/badge/github.com/quic-go/quic-go)](https://pkg.go.dev/github.com/quic-go/quic-go)
[![Code Coverage](https://img.shields.io/codecov/c/github/lucas-clemente/quic-go/master.svg?style=flat-square)](https://codecov.io/gh/lucas-clemente/quic-go/) [![Code Coverage](https://img.shields.io/codecov/c/github/quic-go/quic-go/master.svg?style=flat-square)](https://codecov.io/gh/quic-go/quic-go/)
quic-go is an implementation of the QUIC protocol ([RFC 9000](https://datatracker.ietf.org/doc/html/rfc9000), [RFC 9001](https://datatracker.ietf.org/doc/html/rfc9001), [RFC 9002](https://datatracker.ietf.org/doc/html/rfc9002)) in Go, including the Unreliable Datagram Extension ([RFC 9221](https://datatracker.ietf.org/doc/html/rfc9221)) and Datagram Packetization Layer Path MTU quic-go is an implementation of the QUIC protocol ([RFC 9000](https://datatracker.ietf.org/doc/html/rfc9000), [RFC 9001](https://datatracker.ietf.org/doc/html/rfc9001), [RFC 9002](https://datatracker.ietf.org/doc/html/rfc9002)) in Go, including the Unreliable Datagram Extension ([RFC 9221](https://datatracker.ietf.org/doc/html/rfc9221)) and Datagram Packetization Layer Path MTU
Discovery (DPLPMTUD, [RFC 8899](https://datatracker.ietf.org/doc/html/rfc8899)). It has support for HTTP/3 ([RFC 9114](https://datatracker.ietf.org/doc/html/rfc9114)), including QPACK ([RFC 9204](https://datatracker.ietf.org/doc/html/rfc9204)). Discovery (DPLPMTUD, [RFC 8899](https://datatracker.ietf.org/doc/html/rfc8899)). It has support for HTTP/3 ([RFC 9114](https://datatracker.ietf.org/doc/html/rfc9114)), including QPACK ([RFC 9204](https://datatracker.ietf.org/doc/html/rfc9204)).
@ -59,4 +59,4 @@ http.Client{
## Contributing ## Contributing
We are always happy to welcome new contributors! We have a number of self-contained issues that are suitable for first-time contributors, they are tagged with [help wanted](https://github.com/lucas-clemente/quic-go/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). If you have any questions, please feel free to reach out by opening an issue or leaving a comment. We are always happy to welcome new contributors! We have a number of self-contained issues that are suitable for first-time contributors, they are tagged with [help wanted](https://github.com/quic-go/quic-go/issues?q=is%3Aissue+is%3Aopen+label%3A%22help+wanted%22). If you have any questions, please feel free to reach out by opening an issue or leaving a comment.

View file

@ -3,7 +3,7 @@ package quic
import ( import (
"sync" "sync"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
) )
type packetBuffer struct { type packetBuffer struct {

View file

@ -1,7 +1,7 @@
package quic package quic
import ( import (
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,9 +7,9 @@ import (
"fmt" "fmt"
"net" "net"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
) )
type client struct { type client struct {

View file

@ -8,10 +8,10 @@ import (
"os" "os"
"time" "time"
mocklogging "github.com/lucas-clemente/quic-go/internal/mocks/logging" mocklogging "github.com/quic-go/quic-go/internal/mocks/logging"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"

View file

@ -4,8 +4,8 @@ import (
"math/bits" "math/bits"
"net" "net"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
) )
// A closedLocalConn is a connection that we closed locally. // A closedLocalConn is a connection that we closed locally.

View file

@ -3,8 +3,8 @@ package quic
import ( import (
"net" "net"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -5,8 +5,8 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
) )
// Clone clones a Config // Clone clones a Config

View file

@ -6,8 +6,8 @@ import (
"reflect" "reflect"
"time" "time"
mocklogging "github.com/lucas-clemente/quic-go/internal/mocks/logging" mocklogging "github.com/quic-go/quic-go/internal/mocks/logging"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -3,10 +3,10 @@ package quic
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type connIDGenerator struct { type connIDGenerator struct {

View file

@ -3,9 +3,9 @@ package quic
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -3,11 +3,11 @@ package quic
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
list "github.com/lucas-clemente/quic-go/internal/utils/linkedlist" list "github.com/quic-go/quic-go/internal/utils/linkedlist"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type newConnID struct { type newConnID struct {

View file

@ -1,9 +1,9 @@
package quic package quic
import ( import (
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -13,15 +13,15 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/ackhandler" "github.com/quic-go/quic-go/internal/ackhandler"
"github.com/lucas-clemente/quic-go/internal/flowcontrol" "github.com/quic-go/quic-go/internal/flowcontrol"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/logutils" "github.com/quic-go/quic-go/internal/logutils"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
) )
type unpacker interface { type unpacker interface {

View file

@ -13,17 +13,17 @@ import (
"strings" "strings"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/ackhandler" "github.com/quic-go/quic-go/internal/ackhandler"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/mocks" "github.com/quic-go/quic-go/internal/mocks"
mockackhandler "github.com/lucas-clemente/quic-go/internal/mocks/ackhandler" mockackhandler "github.com/quic-go/quic-go/internal/mocks/ackhandler"
mocklogging "github.com/lucas-clemente/quic-go/internal/mocks/logging" mocklogging "github.com/quic-go/quic-go/internal/mocks/logging"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/testutils" "github.com/quic-go/quic-go/internal/testutils"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"

View file

@ -3,7 +3,7 @@ package quic
import ( import (
"time" "time"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
) )
var deadlineSendImmediately = time.Time{}.Add(42 * time.Millisecond) // any value > time.Time{} and before time.Now() is fine var deadlineSendImmediately = time.Time{}.Add(42 * time.Millisecond) // any value > time.Time{} and before time.Now() is fine

View file

@ -4,10 +4,10 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type cryptoStream interface { type cryptoStream interface {

View file

@ -3,8 +3,8 @@ package quic
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type cryptoDataHandler interface { type cryptoDataHandler interface {

View file

@ -3,10 +3,10 @@ package quic
import ( import (
"errors" "errors"
"github.com/golang/mock/gomock" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/internal/wire"
"github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )

View file

@ -4,9 +4,9 @@ import (
"crypto/rand" "crypto/rand"
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -1,9 +1,9 @@
package quic package quic
import ( import (
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type datagramQueue struct { type datagramQueue struct {

View file

@ -3,8 +3,8 @@ package quic
import ( import (
"errors" "errors"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -3,7 +3,7 @@ package quic
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
) )
type ( type (

View file

@ -13,12 +13,12 @@ import (
"os" "os"
"sync" "sync"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/http3" "github.com/quic-go/quic-go/http3"
"github.com/lucas-clemente/quic-go/internal/testdata" "github.com/quic-go/quic-go/internal/testdata"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
"github.com/lucas-clemente/quic-go/qlog" "github.com/quic-go/quic-go/qlog"
) )
func main() { func main() {

View file

@ -12,7 +12,7 @@ import (
"log" "log"
"math/big" "math/big"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
) )
const addr = "localhost:4242" const addr = "localhost:4242"

View file

@ -17,12 +17,12 @@ import (
_ "net/http/pprof" _ "net/http/pprof"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/http3" "github.com/quic-go/quic-go/http3"
"github.com/lucas-clemente/quic-go/internal/testdata" "github.com/quic-go/quic-go/internal/testdata"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
"github.com/lucas-clemente/quic-go/qlog" "github.com/quic-go/quic-go/qlog"
) )
type binds []string type binds []string

View file

@ -4,8 +4,8 @@ import (
"errors" "errors"
"sync" "sync"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
list "github.com/lucas-clemente/quic-go/internal/utils/linkedlist" list "github.com/quic-go/quic-go/internal/utils/linkedlist"
) )
// byteInterval is an interval from one ByteCount to the other // byteInterval is an interval from one ByteCount to the other

View file

@ -7,7 +7,8 @@ import (
"math/rand" "math/rand"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )

View file

@ -4,10 +4,10 @@ import (
"errors" "errors"
"sync" "sync"
"github.com/lucas-clemente/quic-go/internal/ackhandler" "github.com/quic-go/quic-go/internal/ackhandler"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
) )
type framer interface { type framer interface {

View file

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"math/rand" "math/rand"
"github.com/lucas-clemente/quic-go/internal/ackhandler" "github.com/quic-go/quic-go/internal/ackhandler"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"

View file

@ -5,10 +5,10 @@ import (
"math/rand" "math/rand"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/fuzzing/internal/helper" "github.com/quic-go/quic-go/fuzzing/internal/helper"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
const version = protocol.VersionTLS const version = protocol.VersionTLS

View file

@ -3,8 +3,8 @@ package frames
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
const version = protocol.VersionTLS const version = protocol.VersionTLS

View file

@ -4,13 +4,13 @@ import (
"crypto/tls" "crypto/tls"
"log" "log"
fuzzhandshake "github.com/lucas-clemente/quic-go/fuzzing/handshake" fuzzhandshake "github.com/quic-go/quic-go/fuzzing/handshake"
"github.com/lucas-clemente/quic-go/fuzzing/internal/helper" "github.com/quic-go/quic-go/fuzzing/internal/helper"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/testdata" "github.com/quic-go/quic-go/internal/testdata"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type chunk struct { type chunk struct {

View file

@ -14,11 +14,11 @@ import (
"sync" "sync"
"time" "time"
"github.com/lucas-clemente/quic-go/fuzzing/internal/helper" "github.com/quic-go/quic-go/fuzzing/internal/helper"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
var ( var (

View file

@ -4,10 +4,10 @@ import (
"log" "log"
"math/rand" "math/rand"
"github.com/lucas-clemente/quic-go/fuzzing/header" "github.com/quic-go/quic-go/fuzzing/header"
"github.com/lucas-clemente/quic-go/fuzzing/internal/helper" "github.com/quic-go/quic-go/fuzzing/internal/helper"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
const version = protocol.Version1 const version = protocol.Version1

View file

@ -4,8 +4,8 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
const version = protocol.VersionTLS const version = protocol.VersionTLS

View file

@ -6,8 +6,8 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
) )
func Fuzz(data []byte) int { func Fuzz(data []byte) int {

View file

@ -7,11 +7,10 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go/fuzzing/internal/helper" "github.com/quic-go/quic-go/fuzzing/internal/helper"
"github.com/lucas-clemente/quic-go/fuzzing/transportparameters" "github.com/quic-go/quic-go/fuzzing/transportparameters"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/internal/wire"
) )
func getRandomData(l int) []byte { func getRandomData(l int) []byte {

View file

@ -4,9 +4,9 @@ import (
"bytes" "bytes"
"fmt" "fmt"
"github.com/lucas-clemente/quic-go/fuzzing/internal/helper" "github.com/quic-go/quic-go/fuzzing/internal/helper"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
// PrefixLen is the number of bytes used for configuration // PrefixLen is the number of bytes used for configuration

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/lucas-clemente/quic-go module github.com/quic-go/quic-go
go 1.18 go 1.18

View file

@ -5,7 +5,7 @@ import (
"io" "io"
"net" "net"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
) )
// The HTTPStreamer allows taking over a HTTP/3 stream. The interface is implemented by: // The HTTPStreamer allows taking over a HTTP/3 stream. The interface is implemented by:

View file

@ -3,8 +3,8 @@ package http3
import ( import (
"errors" "errors"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"

View file

@ -3,7 +3,7 @@ package http3
import ( import (
"io" "io"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
) )
// CapsuleType is the type of the capsule. // CapsuleType is the type of the capsule.

View file

@ -4,7 +4,8 @@ import (
"bytes" "bytes"
"io" "io"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )

View file

@ -11,11 +11,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qtls" "github.com/quic-go/quic-go/internal/qtls"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"
) )

View file

@ -11,11 +11,11 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"

View file

@ -3,7 +3,7 @@ package http3
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
) )
type errorCode quic.ApplicationErrorCode type errorCode quic.ApplicationErrorCode

View file

@ -6,8 +6,8 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
) )
// FrameType is the frame type of a HTTP/3 frame // FrameType is the frame type of a HTTP/3 frame

View file

@ -6,7 +6,7 @@ import (
"fmt" "fmt"
"io" "io"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -3,7 +3,7 @@ package http3
import ( import (
"fmt" "fmt"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
) )
// A Stream is a HTTP/3 stream. // A Stream is a HTTP/3 stream.

View file

@ -4,7 +4,7 @@ import (
"bytes" "bytes"
"io" "io"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"

View file

@ -10,12 +10,13 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/lucas-clemente/quic-go"
"github.com/lucas-clemente/quic-go/internal/utils"
"github.com/quic-go/qpack"
"golang.org/x/net/http/httpguts" "golang.org/x/net/http/httpguts"
"golang.org/x/net/http2/hpack" "golang.org/x/net/http2/hpack"
"golang.org/x/net/idna" "golang.org/x/net/idna"
"github.com/quic-go/qpack"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/utils"
) )
const bodyCopyBufferSize = 8 * 1024 const bodyCopyBufferSize = 8 * 1024

View file

@ -5,8 +5,8 @@ import (
"io" "io"
"net/http" "net/http"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"

View file

@ -7,8 +7,9 @@ import (
"strconv" "strconv"
"strings" "strings"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"
) )

View file

@ -5,8 +5,8 @@ import (
"io" "io"
"net/http" "net/http"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"

View file

@ -10,9 +10,9 @@ import (
"strings" "strings"
"sync" "sync"
"github.com/lucas-clemente/quic-go"
"golang.org/x/net/http/httpguts" "golang.org/x/net/http/httpguts"
"github.com/quic-go/quic-go"
) )
type roundTripCloser interface { type roundTripCloser interface {

View file

@ -9,10 +9,10 @@ import (
"net/http" "net/http"
"time" "time"
"github.com/golang/mock/gomock" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic"
"github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )

View file

@ -13,11 +13,12 @@ import (
"sync" "sync"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"
) )

View file

@ -13,12 +13,12 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
mockquic "github.com/lucas-clemente/quic-go/internal/mocks/quic" mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/testdata" "github.com/quic-go/quic-go/internal/testdata"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/quicvarint" "github.com/quic-go/quic-go/quicvarint"
"github.com/golang/mock/gomock" "github.com/golang/mock/gomock"
"github.com/quic-go/qpack" "github.com/quic-go/qpack"

View file

@ -3,6 +3,6 @@ module test
go 1.16 go 1.16
// The version doesn't matter here, as we're replacing it with the currently checked out code anyway. // The version doesn't matter here, as we're replacing it with the currently checked out code anyway.
require github.com/lucas-clemente/quic-go v0.21.0 require github.com/quic-go/quic-go v0.21.0
replace github.com/lucas-clemente/quic-go => ../../ replace github.com/quic-go/quic-go => ../../

View file

@ -1,6 +1,6 @@
package main package main
import "github.com/lucas-clemente/quic-go/http3" import "github.com/quic-go/quic-go/http3"
// The contents of this script don't matter. // The contents of this script don't matter.
// We just need to make sure that quic-go is imported. // We just need to make sure that quic-go is imported.

View file

@ -10,7 +10,7 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
@ -162,7 +162,7 @@ var _ = Describe("Stream Cancelations", func() {
It("allows concurrent Read and CancelRead calls", func() { It("allows concurrent Read and CancelRead calls", func() {
// This test is especially valuable when run with race detector, // This test is especially valuable when run with race detector,
// see https://github.com/lucas-clemente/quic-go/issues/3239. // see https://github.com/quic-go/quic-go/issues/3239.
serverCanceledCounterChan := runServer(make([]byte, 100)) // make sure the FIN is sent with the STREAM frame serverCanceledCounterChan := runServer(make([]byte, 100)) // make sure the FIN is sent with the STREAM frame
conn, err := quic.DialAddr( conn, err := quic.DialAddr(

View file

@ -6,12 +6,10 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go"
quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/utils"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/utils"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -8,8 +8,8 @@ import (
mrand "math/rand" mrand "math/rand"
"net" "net"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -10,10 +10,10 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,7 +7,7 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -8,9 +8,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,9 +7,9 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -11,9 +11,9 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -8,9 +8,9 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -9,11 +9,11 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/integrationtests/tools/israce" "github.com/quic-go/quic-go/integrationtests/tools/israce"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/qerr" "github.com/quic-go/quic-go/internal/qerr"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -11,10 +11,10 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/http3" "github.com/quic-go/quic-go/http3"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/testdata" "github.com/quic-go/quic-go/internal/testdata"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -14,10 +14,10 @@ import (
"strconv" "strconv"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/http3" "github.com/quic-go/quic-go/http3"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/testdata" "github.com/quic-go/quic-go/internal/testdata"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -6,10 +6,10 @@ import (
"io" "io"
"net" "net"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -11,11 +11,12 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/testutils" "github.com/quic-go/quic-go/internal/testutils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )

View file

@ -8,8 +8,8 @@ import (
"runtime" "runtime"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -6,9 +6,9 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,7 +7,7 @@ import (
"net" "net"
"sync" "sync"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,9 +7,9 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -26,11 +26,11 @@ import (
"golang.org/x/crypto/ed25519" "golang.org/x/crypto/ed25519"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
"github.com/lucas-clemente/quic-go/qlog" "github.com/quic-go/quic-go/qlog"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -8,9 +8,9 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,8 +7,8 @@ import (
"net" "net"
"sync" "sync"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -9,10 +9,10 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -9,11 +9,11 @@ import (
mrand "math/rand" mrand "math/rand"
"net" "net"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
"github.com/lucas-clemente/quic-go/qlog" "github.com/quic-go/quic-go/qlog"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,8 +7,8 @@ import (
"net" "net"
"sync" "sync"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -12,11 +12,11 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go" "github.com/quic-go/quic-go"
quicproxy "github.com/lucas-clemente/quic-go/integrationtests/tools/proxy" quicproxy "github.com/quic-go/quic-go/integrationtests/tools/proxy"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -6,8 +6,8 @@ import (
"sync" "sync"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
) )
// Connection is a UDP connection // Connection is a UDP connection

View file

@ -10,8 +10,8 @@ import (
"sync/atomic" "sync/atomic"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

View file

@ -7,9 +7,9 @@ import (
"net" "net"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/handshake" "github.com/quic-go/quic-go/internal/handshake"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
) )
// The StreamID is the ID of a QUIC stream. // The StreamID is the ID of a QUIC stream.

View file

@ -1,6 +1,6 @@
package ackhandler package ackhandler
import "github.com/lucas-clemente/quic-go/internal/wire" import "github.com/quic-go/quic-go/internal/wire"
// IsFrameAckEliciting returns true if the frame is ack-eliciting. // IsFrameAckEliciting returns true if the frame is ack-eliciting.
func IsFrameAckEliciting(f wire.Frame) bool { func IsFrameAckEliciting(f wire.Frame) bool {

View file

@ -3,7 +3,8 @@ package ackhandler
import ( import (
"reflect" "reflect"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"
) )

View file

@ -1,9 +1,9 @@
package ackhandler package ackhandler
import ( import (
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
"github.com/lucas-clemente/quic-go/logging" "github.com/quic-go/quic-go/logging"
) )
// NewAckHandler creates a new SentPacketHandler and a new ReceivedPacketHandler. // NewAckHandler creates a new SentPacketHandler and a new ReceivedPacketHandler.

View file

@ -3,7 +3,7 @@ package ackhandler
import ( import (
"sync" "sync"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
type Frame struct { type Frame struct {

View file

@ -3,8 +3,8 @@ package ackhandler
import ( import (
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/wire" "github.com/quic-go/quic-go/internal/wire"
) )
// SentPacketHandler handles ACKs received for outgoing packets // SentPacketHandler handles ACKs received for outgoing packets

View file

@ -8,7 +8,7 @@ import (
reflect "reflect" reflect "reflect"
gomock "github.com/golang/mock/gomock" gomock "github.com/golang/mock/gomock"
protocol "github.com/lucas-clemente/quic-go/internal/protocol" protocol "github.com/quic-go/quic-go/internal/protocol"
) )
// MockSentPacketTracker is a mock of SentPacketTracker interface. // MockSentPacketTracker is a mock of SentPacketTracker interface.

View file

@ -1,3 +1,3 @@
package ackhandler package ackhandler
//go:generate sh -c "../../mockgen_private.sh ackhandler mock_sent_packet_tracker_test.go github.com/lucas-clemente/quic-go/internal/ackhandler sentPacketTracker" //go:generate sh -c "../../mockgen_private.sh ackhandler mock_sent_packet_tracker_test.go github.com/quic-go/quic-go/internal/ackhandler sentPacketTracker"

View file

@ -4,7 +4,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
) )
// A Packet is a packet // A Packet is a packet

View file

@ -1,8 +1,8 @@
package ackhandler package ackhandler
import ( import (
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
"github.com/lucas-clemente/quic-go/internal/utils" "github.com/quic-go/quic-go/internal/utils"
) )
type packetNumberGenerator interface { type packetNumberGenerator interface {

View file

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"math" "math"
"github.com/lucas-clemente/quic-go/internal/protocol" "github.com/quic-go/quic-go/internal/protocol"
. "github.com/onsi/ginkgo/v2" . "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega" . "github.com/onsi/gomega"

Some files were not shown because too many files have changed in this diff Show more