最新文章列表

去掉 CURL的控制台信息——CURL和libcurl

% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 404 100 284 100 120 9775 ...
lvdccyb 评论(0) 有1585人浏览 2015-01-19 17:56

使用CURL不当,导致的CLOSE_WAIT.

今天,系统日志里显示 Too many open files,于是使用lsof命令查看文件句柄数。发现是网络连接太多(CLOSE_WAIT).   linux平台下:使用下面命令 lsof -nl|grep CLOSE_WAIT|awk '{print $9,$10}'|wc -l 发现 CLOSE_WAIT|太多 展示片段如下: 192.168.10.32:52727->19 ...
lvdccyb 评论(0) 有7776人浏览 2015-01-14 16:29

curl本机(52) Empty reply from server

linux环境 登录本机使用curl访问本机IP可以正常返回信息, curl访问本机的域名却返回:curl: (52) Empty reply from server 为虾米啊,有空再看吧=。=
hugh.wang 评论(0) 有14210人浏览 2014-12-12 22:39

curl用法

curl使用方法:    -o <filename> = -O    -x <proxyip:port>    -b <incookiefile> -D <outcookiefile>    -A <useragentinfo> 例如"Mozilla/4.0 (compatible; MSIE 6.0; Windows NT ...
chuqingq 评论(0) 有670人浏览 2014-11-14 15:24

linux curl命令详解

一、参数详解  -M/--manual  显示全手动  -n/--netrc  从netrc文件中读取用户名和密码  --netrc-optional  使用 .netrc 或者 URL来覆盖-n  --ntlm  使用 H ...
top5 评论(0) 有1073人浏览 2014-11-06 14:58

在centos 下,php 开启pathinfo

1、查看是否开启了 curl 和pathinfo函数 在网站根目录下,写test.php <?php Echo phpinfo(); ?> 访问 www.XXXX.com/test.php ,打印出相关的php信息。如下图所示,是开启了curl 和pathinfo的截图: 2、如果pathinfo 的Local Value 和 Master Value 为0的话,那 ...
wolfboy-dlq 评论(0) 有3037人浏览 2014-11-04 11:13

Java中使用多线程、curl及代理IP模拟post提交和get访问

Java中使用多线程、curl及代理IP模拟post提交和get访问 菜鸟,多线程好玩就写着玩,大神可以路过指教,小弟在这受教,谢谢!   更多分享请关注微信公众号:lvxing1788 ~~~~~~ 分割线扭起来 ~~~~~~   /** * @组件名:javaDemo * @包名:javaDemo * @文件名:Jenny.java * @创建时间: ...
风尘之驿 评论(0) 有5946人浏览 2014-09-26 08:44

linux curl - curl 上传下载

【基本介绍】 curl  is  a  tool to transfer data from or to a server, using one of the supported protocols (HTTP, HTTPS, FTP, FTPS, SCP, SFTP, TFTP, DICT, TELNET, LDAP or FILE).  The command is designed to wo ...
飞奔的熊猫 评论(0) 有2082人浏览 2014-09-19 11:45

windows下curl的安装和简单使用

curl是利用URL语法在命令行方式下工作的开源文件传输工具。它支持很多协议:FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE 以及 LDAP。 一.windows下curl的安装 1.  ...
逆天子军少 评论(0) 有27338人浏览 2014-08-06 08:35

curl

link:http://curl.haxx.se/docs/manual.html LATEST VERSION   You always find news about what's going on as well as the latest versions   from the curl web pages, located at:         http://curl.haxx ...
gelongmei 评论(0) 有1185人浏览 2014-06-18 12:32

Fix “The program can’t start because MSVCR100.dll is missing from your com

Instead of installing MSVCR100.dll which you miss as other guys suggest, my solution is to find the required files from your computer, normally you may find out lots of such ddl files and then copy the ...
cute.spring 评论(0) 有2467人浏览 2014-04-17 22:49

Linux CURL的安装和使用

--获得安装包,从网上直接下载或者其他途径,这里直接wget # wget http://curl.haxx.se/download/curl-7.17.1.tar.gz --解压到当前目录 # tar -zxf curl-7.17.1.tar.gz --进入解压后的目录内 # cd curl-7.17.1 --配置,指定安装的目录,这里是“/usr/local/curl” # ./configur ...
zhq_zhq 评论(0) 有724人浏览 2014-03-30 17:36

PHP下的cURL库

PHP下的cURL库主要有两个Requests和Guzzle,两个都很复杂。   Requests优先使用cURL,没有cURL时会自动启用fsockets,除非你手工指定了Transport。   Guzzle有丰富的日志库支持和日志格式,用插件订阅的方式订阅,从代码上看采用事件机制,质量更高。 它只支持cURL(至少只v3版本是),并依赖于Symfony的EventEmitter, ...
ryan.liu 评论(0) 有1012人浏览 2014-03-29 11:49

shell-curl

curl:是利用URL语法在命令行方式下工作的开源文件传输工具. curl [options] [URL...] 常用参数: -i :header 和body 都会下载 -I: 只下载header头信息。 -v:看curl ...
王新春 评论(0) 有1687人浏览 2014-03-28 16:58

抓取代理IP遇到的javascript解析问题

1. 问题描述: 利用脚本去自动从下面的这个网站抓取一些proxy ip: [http://www.samair.ru/proxy/ip-address-01.htm] [http://www.samair.ru/proxy/ip-address-02.htm] [http://www.samair.ru/proxy/ip-address-03.htm] ... [http://ww ...
cncomkyle 评论(0) 有2052人浏览 2014-03-23 15:59

LINUX curl GET 掉参数解决方法

url 为 http://mywebsite.com/index.php?a=1&b=2&c=3 web形式下访问url地址,使用 $_GET是可以获取到所有的参数 curl  -s  http://mywebsite.com/index.php?a=1&b=2&c=3 然而在linux下,上面的例子 $_GET只能获取到参数 a 由于url中有&其他参数 ...
gelongmei 评论(0) 有714人浏览 2014-01-03 18:22

php模拟登录qq邮箱(curl命令详解)

<?php header("Content-type:text/html;charset=utf-8"); $cookie_file = dirname(__FILE__)."/cookie_".md5(basename(__FILE__)).".txt"; // 设置Cookie文件保存路径 ...
top5 评论(0) 有3117人浏览 2013-11-29 09:16

[转]libcurl 多线程使用注意事项

转自: http://gcoder.blogbus.com/logs/54871550.html http://blog.csdn.net/balderfan/article/details/7599554 (1), 超时(timeout) libcurl 是 一个很不错的库,支持http,ftp等很多的协 ...
balsampears 评论(0) 有2985人浏览 2013-11-18 13:57

《Linux命令行与shell脚本编程大全》 第二十四章 学习笔记

  第一部分:Linux命令行《Linux命令行与shell脚本编程大全》 第一章:初识Linux shell《Linux命令行与shell脚本编程大全》 第二章:走进shell《Linux命令行与 ...
su1216 评论(0) 有3118人浏览 2013-11-15 16:34

未注意Curl-library Post 1024以上字节时的HTTP/1.1特性导致 HessianPHP 传输数据失败

先列出 HessianPHP 的错误提示:       CURL transport error: transfer closed with outstanding read data remaining 基础知识背景: 1)“Expect: 100-continue”的来龙去脉:     HTTP/1.1 协议里设计 100 (Continue) HTTP 状态码的的目的是,在 ...
zhengyun_ustc 评论(0) 有2720人浏览 2013-09-02 14:10

最近博客热门TAG

Java(141744) C(73651) C++(68608) SQL(64571) C#(59609) XML(59133) HTML(59043) JavaScript(54919) .net(54785) Web(54514) 工作(54118) Linux(50905) Oracle(49875) 应用服务器(43289) Spring(40812) 编程(39454) Windows(39381) JSP(37542) MySQL(37267) 数据结构(36424)

博客人气排行榜

    博客电子书下载排行

      >>浏览更多下载

      相关资讯

      相关讨论

      Global site tag (gtag.js) - Google Analytics