aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/net
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2017-04-17 22:10:58 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2017-04-17 22:10:58 +0000
commitea250f561291c184423c4372041c067f5233fa5c (patch)
treea190311458c423b71ed9f800fd5bd43faa7dccc3 /libgo/go/net
parent1adb82e11762ce349eeaee1051ea3c379a453b2e (diff)
downloadgcc-ea250f561291c184423c4372041c067f5233fa5c.zip
gcc-ea250f561291c184423c4372041c067f5233fa5c.tar.gz
gcc-ea250f561291c184423c4372041c067f5233fa5c.tar.bz2
libgo: update to Go 1.8.1 release
Reviewed-on: https://go-review.googlesource.com/40775 From-SVN: r246957
Diffstat (limited to 'libgo/go/net')
-rw-r--r--libgo/go/net/http/http.go2
-rw-r--r--libgo/go/net/net.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/libgo/go/net/http/http.go b/libgo/go/net/http/http.go
index 826f7ff..b95ca89 100644
--- a/libgo/go/net/http/http.go
+++ b/libgo/go/net/http/http.go
@@ -20,7 +20,7 @@ const maxInt64 = 1<<63 - 1
// aLongTimeAgo is a non-zero time, far in the past, used for
// immediate cancelation of network operations.
-var aLongTimeAgo = time.Unix(233431200, 0)
+var aLongTimeAgo = time.Unix(1, 0)
// TODO(bradfitz): move common stuff here. The other files have accumulated
// generic http stuff in random places.
diff --git a/libgo/go/net/net.go b/libgo/go/net/net.go
index 81206ea..a8b5736 100644
--- a/libgo/go/net/net.go
+++ b/libgo/go/net/net.go
@@ -468,7 +468,7 @@ func (e *OpError) Error() string {
var (
// aLongTimeAgo is a non-zero time, far in the past, used for
// immediate cancelation of dials.
- aLongTimeAgo = time.Unix(233431200, 0)
+ aLongTimeAgo = time.Unix(1, 0)
// nonDeadline and noCancel are just zero values for
// readability with functions taking too many parameters.