Skip to content

Commit 0267b9a

Browse files
authored
Merge branch 'master' into srv-allow-compression
2 parents e0993e9 + 26ea817 commit 0267b9a

File tree

244 files changed

+5345
-1048
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

244 files changed

+5345
-1048
lines changed

context/context_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !go1.7
6-
// +build !go1.7
76

87
package context
98

context/ctxhttp/ctxhttp_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !plan9
6-
// +build !plan9
76

87
package ctxhttp
98

context/go17.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.7
6-
// +build go1.7
76

87
package context
98

context/go19.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.9
6-
// +build go1.9
76

87
package context
98

context/pre_go17.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !go1.7
6-
// +build !go1.7
76

87
package context
98

context/pre_go19.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build !go1.9
6-
// +build !go1.9
76

87
package context
98

dns/dnsmessage/message.go

+29-20
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ func (r *Resource) GoString() string {
491491
// A ResourceBody is a DNS resource record minus the header.
492492
type ResourceBody interface {
493493
// pack packs a Resource except for its header.
494-
pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error)
494+
pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error)
495495

496496
// realType returns the actual type of the Resource. This is used to
497497
// fill in the header Type field.
@@ -502,7 +502,7 @@ type ResourceBody interface {
502502
}
503503

504504
// pack appends the wire format of the Resource to msg.
505-
func (r *Resource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
505+
func (r *Resource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
506506
if r.Body == nil {
507507
return msg, errNilResouceBody
508508
}
@@ -750,6 +750,9 @@ func (p *Parser) AllAnswers() ([]Resource, error) {
750750
}
751751

752752
// SkipAnswer skips a single Answer Resource.
753+
//
754+
// It does not perform a complete validation of the resource header, which means
755+
// it may return a nil error when the [AnswerHeader] would actually return an error.
753756
func (p *Parser) SkipAnswer() error {
754757
return p.skipResource(sectionAnswers)
755758
}
@@ -800,6 +803,9 @@ func (p *Parser) AllAuthorities() ([]Resource, error) {
800803
}
801804

802805
// SkipAuthority skips a single Authority Resource.
806+
//
807+
// It does not perform a complete validation of the resource header, which means
808+
// it may return a nil error when the [AuthorityHeader] would actually return an error.
803809
func (p *Parser) SkipAuthority() error {
804810
return p.skipResource(sectionAuthorities)
805811
}
@@ -850,6 +856,9 @@ func (p *Parser) AllAdditionals() ([]Resource, error) {
850856
}
851857

852858
// SkipAdditional skips a single Additional Resource.
859+
//
860+
// It does not perform a complete validation of the resource header, which means
861+
// it may return a nil error when the [AdditionalHeader] would actually return an error.
853862
func (p *Parser) SkipAdditional() error {
854863
return p.skipResource(sectionAdditionals)
855864
}
@@ -1128,7 +1137,7 @@ func (m *Message) AppendPack(b []byte) ([]byte, error) {
11281137
// DNS messages can be a maximum of 512 bytes long. Without compression,
11291138
// many DNS response messages are over this limit, so enabling
11301139
// compression will help ensure compliance.
1131-
compression := map[string]int{}
1140+
compression := map[string]uint16{}
11321141

11331142
for i := range m.Questions {
11341143
var err error
@@ -1219,7 +1228,7 @@ type Builder struct {
12191228

12201229
// compression is a mapping from name suffixes to their starting index
12211230
// in msg.
1222-
compression map[string]int
1231+
compression map[string]uint16
12231232
}
12241233

12251234
// NewBuilder creates a new builder with compression disabled.
@@ -1256,7 +1265,7 @@ func NewBuilder(buf []byte, h Header) Builder {
12561265
//
12571266
// Compression should be enabled before any sections are added for best results.
12581267
func (b *Builder) EnableCompression() {
1259-
b.compression = map[string]int{}
1268+
b.compression = map[string]uint16{}
12601269
}
12611270

12621271
func (b *Builder) startCheck(s section) error {
@@ -1672,7 +1681,7 @@ func (h *ResourceHeader) GoString() string {
16721681
// pack appends the wire format of the ResourceHeader to oldMsg.
16731682
//
16741683
// lenOff is the offset in msg where the Length field was packed.
1675-
func (h *ResourceHeader) pack(oldMsg []byte, compression map[string]int, compressionOff int) (msg []byte, lenOff int, err error) {
1684+
func (h *ResourceHeader) pack(oldMsg []byte, compression map[string]uint16, compressionOff int) (msg []byte, lenOff int, err error) {
16761685
msg = oldMsg
16771686
if msg, err = h.Name.pack(msg, compression, compressionOff); err != nil {
16781687
return oldMsg, 0, &nestedError{"Name", err}
@@ -1945,7 +1954,7 @@ func (n *Name) GoString() string {
19451954
//
19461955
// The compression map will be updated with new domain suffixes. If compression
19471956
// is nil, compression will not be used.
1948-
func (n *Name) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
1957+
func (n *Name) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
19491958
oldMsg := msg
19501959

19511960
if n.Length > nonEncodedNameMax {
@@ -2009,7 +2018,7 @@ func (n *Name) pack(msg []byte, compression map[string]int, compressionOff int)
20092018
// multiple times (for next labels).
20102019
nameAsStr = string(n.Data[:n.Length])
20112020
}
2012-
compression[nameAsStr[i:]] = newPtr
2021+
compression[nameAsStr[i:]] = uint16(newPtr)
20132022
}
20142023
}
20152024
}
@@ -2142,7 +2151,7 @@ type Question struct {
21422151
}
21432152

21442153
// pack appends the wire format of the Question to msg.
2145-
func (q *Question) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2154+
func (q *Question) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
21462155
msg, err := q.Name.pack(msg, compression, compressionOff)
21472156
if err != nil {
21482157
return msg, &nestedError{"Name", err}
@@ -2238,7 +2247,7 @@ func (r *CNAMEResource) realType() Type {
22382247
}
22392248

22402249
// pack appends the wire format of the CNAMEResource to msg.
2241-
func (r *CNAMEResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2250+
func (r *CNAMEResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
22422251
return r.CNAME.pack(msg, compression, compressionOff)
22432252
}
22442253

@@ -2266,7 +2275,7 @@ func (r *MXResource) realType() Type {
22662275
}
22672276

22682277
// pack appends the wire format of the MXResource to msg.
2269-
func (r *MXResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2278+
func (r *MXResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
22702279
oldMsg := msg
22712280
msg = packUint16(msg, r.Pref)
22722281
msg, err := r.MX.pack(msg, compression, compressionOff)
@@ -2305,7 +2314,7 @@ func (r *NSResource) realType() Type {
23052314
}
23062315

23072316
// pack appends the wire format of the NSResource to msg.
2308-
func (r *NSResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2317+
func (r *NSResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
23092318
return r.NS.pack(msg, compression, compressionOff)
23102319
}
23112320

@@ -2332,7 +2341,7 @@ func (r *PTRResource) realType() Type {
23322341
}
23332342

23342343
// pack appends the wire format of the PTRResource to msg.
2335-
func (r *PTRResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2344+
func (r *PTRResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
23362345
return r.PTR.pack(msg, compression, compressionOff)
23372346
}
23382347

@@ -2369,7 +2378,7 @@ func (r *SOAResource) realType() Type {
23692378
}
23702379

23712380
// pack appends the wire format of the SOAResource to msg.
2372-
func (r *SOAResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2381+
func (r *SOAResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
23732382
oldMsg := msg
23742383
msg, err := r.NS.pack(msg, compression, compressionOff)
23752384
if err != nil {
@@ -2441,7 +2450,7 @@ func (r *TXTResource) realType() Type {
24412450
}
24422451

24432452
// pack appends the wire format of the TXTResource to msg.
2444-
func (r *TXTResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2453+
func (r *TXTResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
24452454
oldMsg := msg
24462455
for _, s := range r.TXT {
24472456
var err error
@@ -2497,7 +2506,7 @@ func (r *SRVResource) realType() Type {
24972506
}
24982507

24992508
// pack appends the wire format of the SRVResource to msg.
2500-
func (r *SRVResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2509+
func (r *SRVResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
25012510
oldMsg := msg
25022511
msg = packUint16(msg, r.Priority)
25032512
msg = packUint16(msg, r.Weight)
@@ -2548,7 +2557,7 @@ func (r *AResource) realType() Type {
25482557
}
25492558

25502559
// pack appends the wire format of the AResource to msg.
2551-
func (r *AResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2560+
func (r *AResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
25522561
return packBytes(msg, r.A[:]), nil
25532562
}
25542563

@@ -2582,7 +2591,7 @@ func (r *AAAAResource) GoString() string {
25822591
}
25832592

25842593
// pack appends the wire format of the AAAAResource to msg.
2585-
func (r *AAAAResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2594+
func (r *AAAAResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
25862595
return packBytes(msg, r.AAAA[:]), nil
25872596
}
25882597

@@ -2622,7 +2631,7 @@ func (r *OPTResource) realType() Type {
26222631
return TypeOPT
26232632
}
26242633

2625-
func (r *OPTResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2634+
func (r *OPTResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
26262635
for _, opt := range r.Options {
26272636
msg = packUint16(msg, opt.Code)
26282637
l := uint16(len(opt.Data))
@@ -2680,7 +2689,7 @@ func (r *UnknownResource) realType() Type {
26802689
}
26812690

26822691
// pack appends the wire format of the UnknownResource to msg.
2683-
func (r *UnknownResource) pack(msg []byte, compression map[string]int, compressionOff int) ([]byte, error) {
2692+
func (r *UnknownResource) pack(msg []byte, compression map[string]uint16, compressionOff int) ([]byte, error) {
26842693
return packBytes(msg, r.Data[:]), nil
26852694
}
26862695

dns/dnsmessage/message_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ func TestQuestionPackUnpack(t *testing.T) {
164164
Type: TypeA,
165165
Class: ClassINET,
166166
}
167-
buf, err := want.pack(make([]byte, 1, 50), map[string]int{}, 1)
167+
buf, err := want.pack(make([]byte, 1, 50), map[string]uint16{}, 1)
168168
if err != nil {
169169
t.Fatal("Question.pack() =", err)
170170
}
@@ -243,7 +243,7 @@ func TestNamePackUnpack(t *testing.T) {
243243

244244
for _, test := range tests {
245245
in := MustNewName(test.in)
246-
buf, err := in.pack(make([]byte, 0, 30), map[string]int{}, 0)
246+
buf, err := in.pack(make([]byte, 0, 30), map[string]uint16{}, 0)
247247
if err != test.err {
248248
t.Errorf("got %q.pack() = %v, want = %v", test.in, err, test.err)
249249
continue
@@ -601,7 +601,7 @@ func TestVeryLongTxt(t *testing.T) {
601601
strings.Repeat(".", 255),
602602
}},
603603
}
604-
buf, err := want.pack(make([]byte, 0, 8000), map[string]int{}, 0)
604+
buf, err := want.pack(make([]byte, 0, 8000), map[string]uint16{}, 0)
605605
if err != nil {
606606
t.Fatal("Resource.pack() =", err)
607607
}
@@ -625,7 +625,7 @@ func TestVeryLongTxt(t *testing.T) {
625625

626626
func TestTooLongTxt(t *testing.T) {
627627
rb := TXTResource{[]string{strings.Repeat(".", 256)}}
628-
if _, err := rb.pack(make([]byte, 0, 8000), map[string]int{}, 0); err != errStringTooLong {
628+
if _, err := rb.pack(make([]byte, 0, 8000), map[string]uint16{}, 0); err != errStringTooLong {
629629
t.Errorf("packing TXTResource with 256 character string: got err = %v, want = %v", err, errStringTooLong)
630630
}
631631
}

go.mod

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
module golang.org/x/net
22

3-
go 1.17
3+
go 1.18
44

55
require (
6-
golang.org/x/crypto v0.13.0
7-
golang.org/x/sys v0.12.0
8-
golang.org/x/term v0.12.0
6+
golang.org/x/crypto v0.14.0
7+
golang.org/x/sys v0.13.0
8+
golang.org/x/term v0.13.0
99
golang.org/x/text v0.13.0
1010
)

go.sum

+6-40
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,8 @@
1-
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
2-
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
3-
golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5ydBHafDWAxML/pGHZbMvKqRZ5+Abc=
4-
golang.org/x/crypto v0.13.0 h1:mvySKfSWJ+UKUii46M40LOvyWfN0s2U+46/jDd0e6Ck=
5-
golang.org/x/crypto v0.13.0/go.mod h1:y6Z2r+Rw4iayiXXAIxJIDAJ1zMW4yaTpebo8fPOliYc=
6-
golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4=
7-
golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
8-
golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s=
9-
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
10-
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
11-
golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs=
12-
golang.org/x/net v0.10.0/go.mod h1:0qNGK6F8kojg2nk9dLZ2mShWaEBan6FAoqfSigmmuDg=
13-
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
14-
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
15-
golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
16-
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
17-
golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
18-
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
19-
golang.org/x/sys v0.0.0-20220520151302-bc2c85ada10a/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
20-
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
21-
golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
22-
golang.org/x/sys v0.8.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
23-
golang.org/x/sys v0.12.0 h1:CM0HF96J0hcLAwsHPJZjfdNzs0gftsLfgKt57wWHJ0o=
24-
golang.org/x/sys v0.12.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
25-
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
26-
golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8=
27-
golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k=
28-
golang.org/x/term v0.8.0/go.mod h1:xPskH00ivmX89bAKVGSKKtLOWNx2+17Eiy94tnKShWo=
29-
golang.org/x/term v0.12.0 h1:/ZfYdc3zq+q02Rv9vGqTeSItdzZTSNDmfTi0mBAuidU=
30-
golang.org/x/term v0.12.0/go.mod h1:owVbMEjm3cBLCHdkQu9b1opXd4ETQWc3BhuQGKgXgvU=
31-
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
32-
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
33-
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
34-
golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8=
35-
golang.org/x/text v0.9.0/go.mod h1:e1OnstbJyHTd6l/uOt8jFFHp6TRDWZR/bV3emEE/zU8=
1+
golang.org/x/crypto v0.14.0 h1:wBqGXzWJW6m1XrIKlAH0Hs1JJ7+9KBwnIO8v66Q9cHc=
2+
golang.org/x/crypto v0.14.0/go.mod h1:MVFd36DqK4CsrnJYDkBA3VC4m2GkXAM0PvzMCn4JQf4=
3+
golang.org/x/sys v0.13.0 h1:Af8nKPmuFypiUBjVoU9V20FiaFXOcuZI21p0ycVYYGE=
4+
golang.org/x/sys v0.13.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
5+
golang.org/x/term v0.13.0 h1:bb+I9cTfFazGW51MZqBVmZy7+JEJMouUHTUSKVQLBek=
6+
golang.org/x/term v0.13.0/go.mod h1:LTmsnFJwVN6bCy1rVCoS+qHT1HhALEFxKncY3WNNh4U=
367
golang.org/x/text v0.13.0 h1:ablQoSUd0tRdKxZewP80B+BaqeKJuVhuRxj/dkrun3k=
378
golang.org/x/text v0.13.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE=
38-
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
39-
golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
40-
golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc=
41-
golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU=
42-
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=

html/atom/gen.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build ignore
6-
// +build ignore
76

87
//go:generate go run gen.go
98
//go:generate go run gen.go -test

http/httpproxy/go19_test.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.9
6-
// +build go1.9
76

87
package httpproxy_test
98

http2/go111.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.11
6-
// +build go1.11
76

87
package http2
98

http2/go115.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.15
6-
// +build go1.15
76

87
package http2
98

http2/go118.go

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
// license that can be found in the LICENSE file.
44

55
//go:build go1.18
6-
// +build go1.18
76

87
package http2
98

0 commit comments

Comments
 (0)