Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for disconnecting (0.05 sec)

  1. cmd/admin-handlers.go

    				if err := enc.Encode(prevResult); err != nil {
    					return
    				}
    			} else {
    				// first result is not yet obtained, keep writing
    				// empty entry to prevent client from disconnecting.
    				if err := enc.Encode(madmin.SpeedTestResult{}); err != nil {
    					return
    				}
    			}
    			w.(http.Flusher).Flush()
    		case result, ok := <-ch:
    			if !ok {
    				return
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 04 11:32:32 UTC 2024
    - 99.7K bytes
    - Viewed (0)
Back to top