Open purpleidea opened 1 year ago
https://github.com/pin/tftp/blob/90a06610acdd87d99706c4ea8328b60a04d9a8e7/server.go#L144
As an aside, we should test the latest version since there is some new cancellation code in Shutdown().
But if a client was reading a super huge file, we'd want them to get disconnected perhaps... That should be something we should check to see if it occurs. Otherwise a malicious client could slow read for a long time to block us.
See here: https://github.com/pin/tftp/issues/41
@vpaprots commented: