Skip to content

Commit 6d10a0c

Browse files
committed
http2: update copyright headers
Change-Id: I043b392053bdf61ef863dfcb083ff6034d9322e7 Reviewed-on: https://go-review.googlesource.com/15840 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
1 parent 59e870b commit 6d10a0c

30 files changed

+54
-108
lines changed

http2/buffer.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/buffer_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/errors.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/errors_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/flow.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
// Flow control
76

http2/flow_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/frame.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/gotrack.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
// Defensive debug-only utility to track that functions run on the
96
// goroutine that they're supposed to.

http2/gotrack_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/h2demo/h2demo.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
// +build h2demo
76

http2/h2i/h2i.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2015 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
/*
96
The h2i command is an interactive HTTP/2 console.

http2/headermap.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/hpack/encode.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package hpack
76

http2/hpack/encode_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package hpack
76

http2/hpack/hpack.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
// Package hpack implements HPACK, a compression format for
76
// efficiently representing HTTP header fields in the context of HTTP/2.

http2/hpack/hpack_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package hpack
76

http2/hpack/huffman.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package hpack
76

http2/hpack/tables.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package hpack
76

http2/http2.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
// Package http2 implements the HTTP/2 protocol.
96
//

http2/http2_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/pipe.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/pipe_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/priority_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/server.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
// TODO: replace all <-sc.doneServing with reads from the stream's cw
96
// instead, and make sure that on close we close all open

http2/server_test.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/transport.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2015 The Go Authors.
2-
// See https://go.googlesource.com/go/+/master/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://go.googlesource.com/go/+/master/LICENSE
1+
// Copyright 2015 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/transport_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2015 The Go Authors.
2-
// See https://go.googlesource.com/go/+/master/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://go.googlesource.com/go/+/master/LICENSE
1+
// Copyright 2015 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

http2/write.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/writesched.go

-3
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
// Copyright 2014 The Go Authors. All rights reserved.
22
// Use of this source code is governed by a BSD-style
33
// license that can be found in the LICENSE file.
4-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
5-
// Licensed under the same terms as Go itself:
6-
// https://code.google.com/p/go/source/browse/LICENSE
74

85
package http2
96

http2/z_spec_test.go

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
1-
// Copyright 2014 The Go Authors.
2-
// See https://code.google.com/p/go/source/browse/CONTRIBUTORS
3-
// Licensed under the same terms as Go itself:
4-
// https://code.google.com/p/go/source/browse/LICENSE
1+
// Copyright 2014 The Go Authors. All rights reserved.
2+
// Use of this source code is governed by a BSD-style
3+
// license that can be found in the LICENSE file.
54

65
package http2
76

0 commit comments

Comments
 (0)