aboutsummaryrefslogtreecommitdiff
path: root/request.go
diff options
context:
space:
mode:
authorAdnan Maolood <[email protected]>2021-02-08 12:32:47 -0500
committerAdnan Maolood <[email protected]>2021-02-08 12:32:49 -0500
commit29f2b3738d14b01f3902d6d06a672c8347954d7b (patch)
treec348c4fb874103ff2a303801872c2e62228206a2 /request.go
parentRemove unused field (diff)
downloadarchived-go-gemini-29f2b3738d14b01f3902d6d06a672c8347954d7b.tar.xz
archived-go-gemini-29f2b3738d14b01f3902d6d06a672c8347954d7b.zip
Make TLS field nil for unencrypted connections
Diffstat (limited to 'request.go')
-rw-r--r--request.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/request.go b/request.go
index 32cd1ab..ae4ebfd 100644
--- a/request.go
+++ b/request.go
@@ -36,7 +36,7 @@ type Request struct {
// connection on which the request was received.
//
// This field is ignored by the client.
- TLS tls.ConnectionState
+ TLS *tls.ConnectionState
// Context specifies the context to use for client requests.
// If Context is nil, the background context will be used.