Skip to content

Commit

Permalink
fix bug 网页进行 gzip 压缩问题
Browse files Browse the repository at this point in the history
  • Loading branch information
link1st committed Jan 30, 2021
1 parent e29aacf commit c2f8730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/statistics/statistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func table(successNum, failureNum uint64, errCode map[int]int, qps, averageTime,
speedStr string
)
// 判断获取下载字节长度是否是未知
if receivedBytes == -1 {
if receivedBytes <= 0 {
receivedBytesStr = ""
speedStr = ""
} else {
Expand Down

0 comments on commit c2f8730

Please sign in to comment.