diff options
| author | Adnan Maolood <[email protected]> | 2021-02-08 12:32:47 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-08 12:32:49 -0500 |
| commit | 29f2b3738d14b01f3902d6d06a672c8347954d7b (patch) | |
| tree | c348c4fb874103ff2a303801872c2e62228206a2 /request.go | |
| parent | Remove unused field (diff) | |
| download | archived-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.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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. |