Skip to content

Commit

Permalink
change to refraction
Browse files Browse the repository at this point in the history
  • Loading branch information
desperatee committed Nov 22, 2022
1 parent 59febbe commit 5032678
Show file tree
Hide file tree
Showing 27 changed files with 31 additions and 27 deletions.
2 changes: 1 addition & 1 deletion alpn_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"strings"
"testing"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

. "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/httptest"
Expand Down
2 changes: 1 addition & 1 deletion cgi/child.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (
"strconv"
"strings"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
)
Expand Down
3 changes: 2 additions & 1 deletion client.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ package http

import (
"context"
tls "github.com/desperatee/utls"
"encoding/base64"
"errors"
"fmt"
Expand All @@ -23,6 +22,8 @@ import (
"strings"
"sync"
"time"

tls "github.com/refraction-networking/utls"
)

// A Client is an HTTP client. Its zero value (DefaultClient) is a
Expand Down
2 changes: 1 addition & 1 deletion client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"testing"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

. "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/cookiejar"
Expand Down
2 changes: 1 addition & 1 deletion clientserver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"testing"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

. "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/httptest"
Expand Down
2 changes: 1 addition & 1 deletion example_client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"testing"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/http2"
Expand Down
2 changes: 1 addition & 1 deletion h2_bundle.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion http2/client_conn_pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ package http2
import (
"sync"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
)
Expand Down
2 changes: 1 addition & 1 deletion http2/fhttp_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (

"github.com/desperatee/fhttp/cookiejar"
"github.com/desperatee/fhttp/httptest"
tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"
"golang.org/x/net/publicsuffix"

http "github.com/desperatee/fhttp"
Expand Down
3 changes: 2 additions & 1 deletion http2/h2demo/h2demo.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ package main
import (
"bytes"
"context"
tls "github.com/desperatee/utls"
"flag"
"fmt"
"hash/crc32"
Expand All @@ -26,6 +25,8 @@ import (
"sync"
"time"

tls "github.com/refraction-networking/utls"

"cloud.google.com/go/storage"
"github.com/Carcraftz/fhttp/http2"
"go4.org/syncutil/singleflight"
Expand Down
2 changes: 1 addition & 1 deletion http2/h2i/h2i.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
"strconv"
"strings"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

"github.com/desperatee/fhttp/http2"
"github.com/desperatee/fhttp/http2/hpack"
Expand Down
2 changes: 1 addition & 1 deletion http2/http2.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import (
"strings"
"sync"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"

Expand Down
2 changes: 1 addition & 1 deletion http2/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ import (
"sync"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/http2/hpack"
Expand Down
2 changes: 1 addition & 1 deletion http2/server_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"testing"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/httptest"
Expand Down
2 changes: 1 addition & 1 deletion http2/transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ import (
"sync/atomic"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/httptrace"
Expand Down
2 changes: 1 addition & 1 deletion http2/transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import (
"testing"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/http2/hpack"
Expand Down
2 changes: 1 addition & 1 deletion httptest/httptest.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"io"
"strings"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
)
Expand Down
2 changes: 1 addition & 1 deletion httptest/httptest_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"testing"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
)
Expand Down
2 changes: 1 addition & 1 deletion httptest/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import (
"sync"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

http "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/internal"
Expand Down
2 changes: 1 addition & 1 deletion httptrace/trace.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"reflect"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

"github.com/desperatee/fhttp/internal/nettrace"
)
Expand Down
2 changes: 1 addition & 1 deletion request.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import (
"strings"
"sync"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

"github.com/desperatee/fhttp/httptrace"

Expand Down
3 changes: 2 additions & 1 deletion response.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ package http
import (
"bufio"
"bytes"
tls "github.com/desperatee/utls"
"errors"
"fmt"
"io"
Expand All @@ -18,6 +17,8 @@ import (
"strconv"
"strings"

tls "github.com/refraction-networking/utls"

"golang.org/x/net/http/httpguts"
)

Expand Down
2 changes: 1 addition & 1 deletion serve_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import (
"testing"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

. "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/httptest"
Expand Down
3 changes: 2 additions & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import (
"bufio"
"bytes"
"context"
tls "github.com/desperatee/utls"
"errors"
"fmt"
"io"
Expand All @@ -30,6 +29,8 @@ import (
"sync/atomic"
"time"

tls "github.com/refraction-networking/utls"

"golang.org/x/net/http/httpguts"
)

Expand Down
2 changes: 1 addition & 1 deletion transport.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
"sync/atomic"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

"github.com/desperatee/fhttp/httptrace"

Expand Down
2 changes: 1 addition & 1 deletion transport_internal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
"strings"
"testing"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

"github.com/desperatee/fhttp/internal"
)
Expand Down
2 changes: 1 addition & 1 deletion transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ import (
"testing/iotest"
"time"

tls "github.com/desperatee/utls"
tls "github.com/refraction-networking/utls"

. "github.com/desperatee/fhttp"
"github.com/desperatee/fhttp/httptest"
Expand Down

0 comments on commit 5032678

Please sign in to comment.