aboutsummaryrefslogtreecommitdiff
path: root/src/compress
diff options
context:
space:
mode:
authorTim Cooper <tim.cooper@layeh.com>2018-06-01 17:29:59 -0300
committerIan Lance Taylor <iant@golang.org>2018-06-01 21:52:00 +0000
commit161874da2ab6d5372043a1f3938a81a19d1165ad (patch)
tree6662b46b3a1216501e2d37d71f3521e049e87b79 /src/compress
parent7cb1810fe8117d4c5112ecea7a65f28f03009ef7 (diff)
downloadgo-161874da2ab6d5372043a1f3938a81a19d1165ad.tar.gz
go-161874da2ab6d5372043a1f3938a81a19d1165ad.zip
all: update comment URLs from HTTP to HTTPS, where possible
Each URL was manually verified to ensure it did not serve up incorrect content. Change-Id: I4dc846227af95a73ee9a3074d0c379ff0fa955df Reviewed-on: https://go-review.googlesource.com/115798 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/compress')
-rw-r--r--src/compress/bzip2/bzip2.go2
-rw-r--r--src/compress/flate/deflate.go2
-rw-r--r--src/compress/lzw/reader_test.go2
-rw-r--r--src/compress/zlib/reader_test.go2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/compress/bzip2/bzip2.go b/src/compress/bzip2/bzip2.go
index f07c7e81e8..c40129b982 100644
--- a/src/compress/bzip2/bzip2.go
+++ b/src/compress/bzip2/bzip2.go
@@ -8,7 +8,7 @@ package bzip2
import "io"
// There's no RFC for bzip2. I used the Wikipedia page for reference and a lot
-// of guessing: http://en.wikipedia.org/wiki/Bzip2
+// of guessing: https://en.wikipedia.org/wiki/Bzip2
// The source code to pyflate was useful for debugging:
// http://www.paul.sladen.org/projects/pyflate
diff --git a/src/compress/flate/deflate.go b/src/compress/flate/deflate.go
index 4d6a5357d8..8b92f1586d 100644
--- a/src/compress/flate/deflate.go
+++ b/src/compress/flate/deflate.go
@@ -720,7 +720,7 @@ func (w *Writer) Write(data []byte) (n int, err error) {
// In the terminology of the zlib library, Flush is equivalent to Z_SYNC_FLUSH.
func (w *Writer) Flush() error {
// For more about flushing:
- // http://www.bolet.org/~pornin/deflate-flush.html
+ // https://www.bolet.org/~pornin/deflate-flush.html
return w.d.syncFlush()
}
diff --git a/src/compress/lzw/reader_test.go b/src/compress/lzw/reader_test.go
index f8974de28f..98bbfbb763 100644
--- a/src/compress/lzw/reader_test.go
+++ b/src/compress/lzw/reader_test.go
@@ -66,7 +66,7 @@ var lzwTests = []lzwTest{
"\x54\x9e\x08\x29\xf2\x44\x8a\x93\x27\x54\x04",
io.ErrUnexpectedEOF,
},
- // This example comes from http://en.wikipedia.org/wiki/Graphics_Interchange_Format.
+ // This example comes from https://en.wikipedia.org/wiki/Graphics_Interchange_Format.
{
"gif;LSB;8",
"\x28\xff\xff\xff\x28\xff\xff\xff\xff\xff\xff\xff\xff\xff\xff",
diff --git a/src/compress/zlib/reader_test.go b/src/compress/zlib/reader_test.go
index 7e27aecb47..70e33babd1 100644
--- a/src/compress/zlib/reader_test.go
+++ b/src/compress/zlib/reader_test.go
@@ -19,7 +19,7 @@ type zlibTest struct {
}
// Compare-to-golden test data was generated by the ZLIB example program at
-// http://www.zlib.net/zpipe.c
+// https://www.zlib.net/zpipe.c
var zlibTests = []zlibTest{
{