diff options
author | tjpcc <tjp@ctrl-c.club> | 2023-05-22 09:03:35 -0600 |
---|---|---|
committer | tjpcc <tjp@ctrl-c.club> | 2023-05-22 09:03:35 -0600 |
commit | eee03adc1b4ed1545da059613c4cff12b14d6306 (patch) | |
tree | 0b8c0253d5d230cea80e9c2c166948cc5eef3b72 /finger/serve.go | |
parent | d7ffcc43d12c58afdcd5f8498d8016bd35ed4823 (diff) |
fix panic on bad finger requests
Diffstat (limited to 'finger/serve.go')
-rw-r--r-- | finger/serve.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/finger/serve.go b/finger/serve.go index 1bc69b8..6456763 100644 --- a/finger/serve.go +++ b/finger/serve.go @@ -45,6 +45,7 @@ func (fs *fingerServer) handleConn(conn net.Conn) { request, err := ParseRequest(conn) if err != nil { _, _ = fmt.Fprint(conn, err.Error()+"\r\n") + return } request.Server = fs |