diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-03-13 12:05:04 -0800 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-03-13 12:05:04 -0800 |
| commit | 22ef015cfffb3217f25bf3901b6af53c07bb74da (patch) | |
| tree | 5a3d20ca13304933eee398ed76e5117b82ffdf28 /weed/server/volume_server_udp_handlers.go | |
| parent | 56953b207d771a0bf8b799576d8a6e50bc2cd5af (diff) | |
| download | seaweedfs-22ef015cfffb3217f25bf3901b6af53c07bb74da.tar.xz seaweedfs-22ef015cfffb3217f25bf3901b6af53c07bb74da.zip | |
this performs poorly and unstable
Diffstat (limited to 'weed/server/volume_server_udp_handlers.go')
| -rw-r--r-- | weed/server/volume_server_udp_handlers.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/server/volume_server_udp_handlers.go b/weed/server/volume_server_udp_handlers.go index e0dc94310..2f7563f4c 100644 --- a/weed/server/volume_server_udp_handlers.go +++ b/weed/server/volume_server_udp_handlers.go @@ -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) + } |
