请求同一个 URL: http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
ubuntu wget 返回期望结果(400 bad request):
ubuntu@10-23-194-231:~$ wget -d http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
DEBUG output created by Wget 1.19.4 on linux-gnu.
Reading HSTS entries from /home/ubuntu/.wget-hsts
URI encoding = ‘UTF-8’
Converted file name 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8) -> 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8)
--2019-11-26 11:35:21-- http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
Resolving www.ygsw6.com (www.ygsw6.com)... 103.71.50.207
Caching www.ygsw6.com => 103.71.50.207
Connecting to www.ygsw6.com (www.ygsw6.com)|103.71.50.207|:80... connected.
Created socket 3.
Releasing 0x000055c545103040 (new refcount 1).
---request begin---
GET /Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl HTTP/1.1
User-Agent: Wget/1.19.4 (linux-gnu)
Accept: */*
Accept-Encoding: identity
Host: www.ygsw6.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response...
---response begin---
HTTP/1.1 400 Bad Request
Content-Type: text/html; charset=us-ascii
Server: Microsoft-HTTPAPI/2.0
Date: Tue, 26 Nov 2019 03:38:16 GMT
Connection: close
Content-Length: 334
---response end---
400 Bad Request
URI content encoding = ‘us-ascii’
Closed fd 3
2019-11-26 11:35:22 ERROR 400: Bad Request.
centos wget 一直重试 retrying:
[root@10-23-103-1 ~]# wget -d http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
DEBUG output created by Wget 1.14 on linux-gnu.
URI encoding = ‘UTF-8’
Converted file name 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8) -> 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8)
Converted file name 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8) -> 'index.html?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl' (UTF-8)
--2019-11-26 11:42:30-- http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
Resolving www.ygsw6.com (www.ygsw6.com)... 103.71.50.207
Caching www.ygsw6.com => 103.71.50.207
Connecting to www.ygsw6.com (www.ygsw6.com)|103.71.50.207|:80... connected.
Created socket 3.
Releasing 0x0000000001ef6d30 (new refcount 1).
---request begin---
GET /Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl HTTP/1.1
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: www.ygsw6.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response... No data received.
Closed fd 3
Retrying.
--2019-11-26 11:42:32-- (try: 2) http://www.ygsw6.com/Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl
Found www.ygsw6.com in host_name_addresses_map (0x1ef6d30)
Connecting to www.ygsw6.com (www.ygsw6.com)|103.71.50.207|:80... connected.
Created socket 3.
Releasing 0x0000000001ef6d30 (new refcount 1).
---request begin---
GET /Meguihong/?7Ek3Nf1Gg7Al9El7Gt8Mu3Qr5Jj4Nl HTTP/1.1
User-Agent: Wget/1.14 (linux-gnu)
Accept: */*
Host: www.ygsw6.com
Connection: Keep-Alive
---request end---
HTTP request sent, awaiting response... No data received.
Closed fd 3
Retrying.
又分别 telnet 了该 url 的 host 的 80 端口
ubuntu telnet 保持连接:
ubuntu@10-23-194-231:~$ telnet www.ygsw6.com 80
Trying 103.71.50.207...
Connected to www.ygsw6.com.
Escape character is '^]'.
centos telnet 断开连接:
[root@10-23-103-1 ~]# telnet www.ygsw6.com 80
Trying 103.71.50.207...
Connected to www.ygsw6.com.
Escape character is '^]'.
Connection closed by foreign host.
想请教下各位有遇到类似问题么
1
imn1 2019-11-26 11:58:32 +08:00
1.14 没有处理 400 ?
|