cURL上传速度

时间:2013-10-14 17:22:46

标签: php performance curl upload

我想知道为什么cURL上传需要这么长时间。

我调试了它并得到了这个......

[url] =>  [url] => http://srv644.ryushare.com/cgi-bin/upload.cgi?upload_id=26182539075&js_on=1&utype=reg&upload_type=file  
[content_type] => text/html
[http_code] => 200
[header_size] => 153
[request_size] => 454
[filetime] => -1
[ssl_verify_result] => 0
[redirect_count] => 0
[total_time] => 28.423
[namelookup_time] => 0.062
[connect_time] => 0.062
[pretransfer_time] => 0.062
[size_upload] => 104858196
[size_download] => 305
[speed_download] => 10
[speed_upload] => 3689202
[download_content_length] => -1
[upload_content_length] => 104858196
[starttransfer_time] => 0.078
[redirect_time] => 0

据我所知,转移是由于实际文件本身(总共28.8秒)。但这没有意义,因为...... A)在浏览器中测试服务器速度上传是20mb / sec(相同文件相同) B)列出的服务器上传速度为3mb / sec

有什么理由说速度会有这么大的差异吗?

0 个答案:

没有答案