diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 20:59:04 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 20:59:04 -0500 |
| commit | d35dd3d8676dba18986e2704316a77371bd4a002 (patch) | |
| tree | 34590f1801ced31ce5255855b4b6cbf2f996accc /server.go | |
| parent | request: Remove TLS and Conn methods (diff) | |
| download | go-gemini-d35dd3d8676dba18986e2704316a77371bd4a002.tar.xz go-gemini-d35dd3d8676dba18986e2704316a77371bd4a002.zip | |
ResponseWriter: Add TLS and Conn methods
Diffstat (limited to 'server.go')
| -rw-r--r-- | server.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -360,6 +360,7 @@ func (srv *Server) serveConn(ctx context.Context, conn net.Conn) error { } w := NewResponseWriter(cw) + w.conn = conn req, err := ReadRequest(r) if err != nil { |