server: Make Request.RemoteAddr a string

This commit is contained in:
Adnan Maolood
2021-02-20 13:31:55 -05:00
parent 0ab236c736
commit a7f958b20d
2 changed files with 2 additions and 3 deletions

View File

@@ -294,7 +294,7 @@ func (srv *Server) respond(conn net.Conn) {
}
// Store remote address
req.RemoteAddr = conn.RemoteAddr()
req.RemoteAddr = conn.RemoteAddr().String()
h := srv.Handler
if h == nil {