linux – “服务器******未列入黑名单”是什么意思在curl verbos
发布时间:2020-12-13 18:23:32 所属栏目:Linux 来源:网络整理
导读:为什么要将服务器列入黑名单? 通过卷曲或其他程序? 服务器如何被列入黑名单? 是服务器还是程序依赖? 这是获取黑名单的IP地址,还是http答案中的服务器名称? PS:我不知道它是否相关,但我在Linux / Ubuntu上运行. 这是完整的输出(在localhost中测试龙卷风
为什么要将服务器列入黑名单?
通过卷曲或其他程序? 服务器如何被列入黑名单? 是服务器还是程序依赖? 这是获取黑名单的IP地址,还是http答案中的服务器名称? PS:我不知道它是否相关,但我在Linux / Ubuntu上运行. 这是完整的输出(在localhost中测试龙卷风) > * Rebuilt URL to: localhost:8888/ * Hostname was NOT found in DNS cache * Trying 127.0.0.1... * Connected to localhost (127.0.0.1) port 8888 (#0) > GET / HTTP/1.1 > User-Agent: curl/7.35.0 > Host: localhost:8888 > Accept: */* > < HTTP/1.1 200 OK < Date: Fri,16 May 2014 16:35:40 GMT < Content-Length: 12 < Etag: "e02aa1b106d5c7c6a98def2b13005d5b84fd8dc8" < Content-Type: text/html; charset=UTF-8 * Server TornadoServer/3.2 is not blacklisted < Server: TornadoServer/3.2 < * Connection #0 to host localhost left intact Hello,world 解决方法
这是来自curl的内部消息.
见:https://github.com/bagder/curl/blob/master/lib/pipeline.c 似乎是与流水线相关的卷曲功能的一部分. bool Curl_pipeline_server_blacklisted(struct SessionHandle *handle,char *server_name) { ... infof(handle,"Server %s is not blacklistedn",server_name); (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |