diff options
| author | Adnan Maolood <[email protected]> | 2020-11-01 16:25:59 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2020-11-01 16:25:59 -0500 |
| commit | b6475aa7d997a680742d2d8285cb8d95e2437989 (patch) | |
| tree | 7bb004919473385a4b772f46e3e5c7601c5ce146 /request.go | |
| parent | Prevent infinite loop in client requests (diff) | |
| download | go-gemini-b6475aa7d997a680742d2d8285cb8d95e2437989.tar.xz go-gemini-b6475aa7d997a680742d2d8285cb8d95e2437989.zip | |
server: Populate (*Request).Certificate fieldv0.1.5
Diffstat (limited to 'request.go')
| -rw-r--r-- | request.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -19,7 +19,9 @@ type Request struct { // Certificate specifies the TLS certificate to use for the request. // Request certificates take precedence over client certificates. - // This field is ignored by the server. + // + // On the server side, if the client provided a certificate then + // Certificate.Leaf is guaranteed to be non-nil. Certificate *tls.Certificate // RemoteAddr allows servers and other software to record the network |