Add reformat for utls roundtripper

This commit is contained in:
Shelikhoo 2022-02-09 15:43:53 +00:00
parent 4447860661
commit c1b0f763ef
No known key found for this signature in database
GPG key ID: C4D5E79D22B25316

View file

@ -6,18 +6,19 @@ import (
"crypto/tls" "crypto/tls"
"crypto/x509" "crypto/x509"
"crypto/x509/pkix" "crypto/x509/pkix"
utls "github.com/refraction-networking/utls"
"golang.org/x/net/http2"
"math/big" "math/big"
"net/http" "net/http"
"testing" "testing"
"time" "time"
stdcontext "context"
utls "github.com/refraction-networking/utls"
"golang.org/x/net/http2"
. "github.com/smartystreets/goconvey/convey"
) )
import . "github.com/smartystreets/goconvey/convey"
import stdcontext "context"
func TestRoundTripper(t *testing.T) { func TestRoundTripper(t *testing.T) {
var selfSignedCert []byte var selfSignedCert []byte
var selfSignedPrivateKey *rsa.PrivateKey var selfSignedPrivateKey *rsa.PrivateKey