You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.
When a client (properly) closes the connection, the server will take 100% CPU spinning in an endless loop. That's because in this case EOF is read which should cause the server to stop listening (break) but instead it goes back to listening (continue) and does that in a tight loop.
When a client (properly) closes the connection, the server will take 100% CPU spinning in an endless loop. That's because in this case EOF is read which should cause the server to stop listening (
break
) but instead it goes back to listening (continue
) and does that in a tight loop.I believe https://github.com/goftp/server/blob/master/conn.go#L67 should be
break
instead ofcontinue
The text was updated successfully, but these errors were encountered: