break: update repo url [ci skip]

uTLS is not yet bumped to the new version, so this commit breaks the dependencies relationship by getting rid of the local replace.
This commit is contained in:
Gaukas Wang 2023-08-03 18:58:52 -06:00
parent a72582e6aa
commit 95575f5fe7
No known key found for this signature in database
GPG key ID: 9E2F8986D76F8B5D
336 changed files with 928 additions and 1032 deletions

View file

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

View file

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

View file

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

View file

@ -4,7 +4,7 @@ import (
"bytes"
"io"
"github.com/quic-go/quic-go/quicvarint"
"github.com/refraction-networking/uquic/quicvarint"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

View file

@ -16,10 +16,10 @@ import (
tls "github.com/refraction-networking/utls"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/utils"
"github.com/quic-go/quic-go/quicvarint"
quic "github.com/refraction-networking/uquic"
"github.com/refraction-networking/uquic/internal/protocol"
"github.com/refraction-networking/uquic/internal/utils"
"github.com/refraction-networking/uquic/quicvarint"
"github.com/quic-go/qpack"
)

View file

@ -11,13 +11,13 @@ import (
"sync"
"time"
quic "github.com/refraction-networking/uquic"
tls "github.com/refraction-networking/utls"
"github.com/quic-go/quic-go"
mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/utils"
"github.com/quic-go/quic-go/quicvarint"
mockquic "github.com/refraction-networking/uquic/internal/mocks/quic"
"github.com/refraction-networking/uquic/internal/protocol"
"github.com/refraction-networking/uquic/internal/utils"
"github.com/refraction-networking/uquic/quicvarint"
"github.com/golang/mock/gomock"
"github.com/quic-go/qpack"

View file

@ -3,7 +3,7 @@ package http3
import (
"fmt"
"github.com/quic-go/quic-go"
quic "github.com/refraction-networking/uquic"
)
type ErrCode quic.ApplicationErrorCode

View file

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

View file

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

View file

@ -4,8 +4,8 @@ import (
"errors"
"fmt"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/utils"
quic "github.com/refraction-networking/uquic"
"github.com/refraction-networking/uquic/internal/utils"
)
// A Stream is a HTTP/3 stream.

View file

@ -4,8 +4,8 @@ import (
"bytes"
"io"
"github.com/quic-go/quic-go"
mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
quic "github.com/refraction-networking/uquic"
mockquic "github.com/refraction-networking/uquic/internal/mocks/quic"
"github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2"

View file

@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/quic-go/quic-go/http3 (interfaces: QUICEarlyListener)
// Source: github.com/refraction-networking/uquic/http3 (interfaces: QUICEarlyListener)
// Package http3 is a generated GoMock package.
package http3
@ -10,7 +10,7 @@ import (
reflect "reflect"
gomock "github.com/golang/mock/gomock"
quic "github.com/quic-go/quic-go"
quic "github.com/refraction-networking/uquic"
)
// MockQUICEarlyListener is a mock of QUICEarlyListener interface.

View file

@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/quic-go/quic-go/http3 (interfaces: RoundTripCloser)
// Source: github.com/refraction-networking/uquic/http3 (interfaces: RoundTripCloser)
// Package http3 is a generated GoMock package.
package http3

View file

@ -2,7 +2,7 @@
package http3
//go:generate sh -c "go run github.com/golang/mock/mockgen -build_flags=\"-tags=gomock\" -package http3 -destination mock_roundtripcloser_test.go github.com/quic-go/quic-go/http3 RoundTripCloser"
//go:generate sh -c "go run github.com/golang/mock/mockgen -build_flags=\"-tags=gomock\" -package http3 -destination mock_roundtripcloser_test.go github.com/refraction-networking/uquic/http3 RoundTripCloser"
type RoundTripCloser = roundTripCloser
//go:generate sh -c "go run github.com/golang/mock/mockgen -package http3 -destination mock_quic_early_listener_test.go github.com/quic-go/quic-go/http3 QUICEarlyListener"
//go:generate sh -c "go run github.com/golang/mock/mockgen -package http3 -destination mock_quic_early_listener_test.go github.com/refraction-networking/uquic/http3 QUICEarlyListener"

View file

@ -16,8 +16,8 @@ import (
"golang.org/x/net/idna"
"github.com/quic-go/qpack"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/utils"
quic "github.com/refraction-networking/uquic"
"github.com/refraction-networking/uquic/internal/utils"
)
const bodyCopyBufferSize = 8 * 1024

View file

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

View file

@ -9,8 +9,8 @@ import (
"strings"
"time"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/utils"
quic "github.com/refraction-networking/uquic"
"github.com/refraction-networking/uquic/internal/utils"
"github.com/quic-go/qpack"
)

View file

@ -6,8 +6,8 @@ import (
"net/http"
"time"
mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/quic-go/quic-go/internal/utils"
mockquic "github.com/refraction-networking/uquic/internal/mocks/quic"
"github.com/refraction-networking/uquic/internal/utils"
"github.com/golang/mock/gomock"
"github.com/quic-go/qpack"

View file

@ -11,11 +11,10 @@ import (
"sync"
"sync/atomic"
quic "github.com/refraction-networking/uquic"
tls "github.com/refraction-networking/utls"
"golang.org/x/net/http/httpguts"
"github.com/quic-go/quic-go"
)
type roundTripCloser interface {

View file

@ -9,10 +9,10 @@ import (
"sync/atomic"
"time"
quic "github.com/refraction-networking/uquic"
tls "github.com/refraction-networking/utls"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/qerr"
"github.com/refraction-networking/uquic/internal/qerr"
"github.com/golang/mock/gomock"
. "github.com/onsi/ginkgo/v2"

View file

@ -15,10 +15,10 @@ import (
tls "github.com/refraction-networking/utls"
"github.com/quic-go/quic-go"
"github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/utils"
"github.com/quic-go/quic-go/quicvarint"
quic "github.com/refraction-networking/uquic"
"github.com/refraction-networking/uquic/internal/protocol"
"github.com/refraction-networking/uquic/internal/utils"
"github.com/refraction-networking/uquic/quicvarint"
"github.com/quic-go/qpack"
)

View file

@ -14,12 +14,12 @@ import (
tls "github.com/refraction-networking/utls"
"github.com/quic-go/quic-go"
mockquic "github.com/quic-go/quic-go/internal/mocks/quic"
"github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/testdata"
"github.com/quic-go/quic-go/internal/utils"
"github.com/quic-go/quic-go/quicvarint"
quic "github.com/refraction-networking/uquic"
mockquic "github.com/refraction-networking/uquic/internal/mocks/quic"
"github.com/refraction-networking/uquic/internal/protocol"
"github.com/refraction-networking/uquic/internal/testdata"
"github.com/refraction-networking/uquic/internal/utils"
"github.com/refraction-networking/uquic/quicvarint"
"github.com/golang/mock/gomock"
"github.com/quic-go/qpack"

View file

@ -7,7 +7,7 @@ import (
"net"
"net/http"
"github.com/quic-go/quic-go"
quic "github.com/refraction-networking/uquic"
tls "github.com/refraction-networking/utls"
"golang.org/x/net/http/httpguts"
)