Mikubill / transfer

🍭 集合多个API的大文件传输工具.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

上传到奶牛快传时流量空跑的 BUG

Pandaft opened this issue · comments

在上传到奶牛快传时如果填入错误的 -a-c 参数,正常情况下会报以下错误:

0 B / 173.89 MiB [________________________________________________________________] 0.00% ? p/s ?
Error occurred during upload ./*****.exe:
upload error: getUploadConfig error: Post "https://upload.qiniup.com/buckets/cftransfer/objects/***************==/uploads": context deadline exceeded (Client.Timeout exceeded while awaiting headers)

但是偶尔会始终阻塞在这里:

0 B / 173.89 MiB [________________________________________________________________] 0.00% ? p/s ?

这时候是会一直在上传数据,并且超出了文件大小本身,进度也一直为 0。

这里提供一下调用命令,可以尝试调用多几次来触发这个 BUG:

./transfer cow -a "None" -c "None" ./******.exe

今晚这个 BUG 让我的服务器跑了 400+GB 的流量,要是没发现的话,服务器现在可能已经被停机了 o(╥﹏╥)o

希望看看这个是什么问题,感谢大佬!