wget 在 cygwin 和 centos 上的行为不同

wget 在 cygwin 和 centos 上的行为不同

西格温该命令按预期工作并立即退出:

wget --post-file oryxblock.2018-10-10_20_40-07_591.204.txt --output-document - --header "Content-Type: text/csv"  http://htm-psycho-402.zxz.su:8080/ingest

--2018-10-11 11:51:09--  http://htm-psycho-402.zxz.su:8080/ingest
Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
HTTP request sent, awaiting response... 204
2018-10-11 11:51:09 (0.00 B/s) - written to stdout [0]

森托斯wget 等待 60 秒,然后继续使用相同的参数:

--2018-10-11 08:38:58--  http://htm-psycho-402.zxz.su:8080/ingest
Resolving htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)... 192.168.147.9
Connecting to htm-psycho-402.zxz.su (htm-psycho-402.zxz.su)|192.168.147.9|:8080... connected.
HTTP request sent, awaiting response... 204
Length: unspecified
Saving to: ‘STDOUT’

    [        <=>                            ] 0           --.-K/s   in 60s

2018-10-11 08:39:58 (0.00 B/s) - written to stdout [0]

为什么会发生这种情况?

相关内容