this performs poorly and unstable

This commit is contained in:
Chris Lu committed 2021-03-13 12:05:04 -08:00
1 parent 56953b207d
commit 22ef015cff
2 files changed
+15 -3

No files matched your search

@@ -41,6 +41,7 @@ func (vs *VolumeServer) ServeTFTP(r tftp.ReadRequest) {
func (vs *VolumeServer) ReceiveTFTP(w tftp.WriteRequest) {
filename := w.Name()
println("+ ", filename)
// Get the file size
size, err := w.Size()
@@ -75,4 +76,6 @@ func (vs *VolumeServer) ReceiveTFTP(w tftp.WriteRequest) {
return
}
println("- ", filename)
}