标题:PHProxy 0.5b2 Felix更新版 出处:Felix021 时间:Sun, 26 Oct 2008 06:59:10 +0000 作者:felix021 地址:https://www.felix021.com/blog/read.php?1231 内容: By Felix021 @ 2008-10-26 03:41 CST If you visit http://sourceforge.net/projects/poxy/ , you'll find such statement: As of 2007-09-07 11:55, this project is no longer under active development. The original authors abandoned this project for abusement of it, but I think it very useful, at least to me who have to download something but have a bad direct connection while via PHProxy on my own webspace I can download with high speed. 由于使用者对poxy的滥用,作者停止了开发,但是对于我这种需要下载某个文件、直接下载很慢但是通过我的空间连接很快的人而言,poxy还是很有用的。 But I found that poxy is designed just for browsing, not optimized for downloading, for example, it doesn't support multi-thread downloadment, so I feel obliged to modify the source code. In fact this is very simple. I added a few lines, and now it works well, supporting multi-thread downloading and pause-continue action. What's more, I added a button for users to obtain download link directly from copying the address shown below. 但是我发现,poxy基本上只是为了浏览而开发的,没有为下载优化过。比如,它不支持多线程下载,所以我觉得有必要去改下源码。实际上非常简单,加上几行代码就行了,现在它工作得很好,不仅支持多线程下载,还支持断点续传。此外,我还增加了一个按钮可以让用户直接获取下载地址。 This version of poxy is based on poxy 0.5b2, where you can get from sourceforge. It's TODO list has 17 features to be completed, and my modification only partial implemented the 9th, 'support HTTP 1.1' . Maybe I'll implement the FTP support in the future (indeed I've written a simple web ftp proxy before). 这个版本的poxy是从0.5b2版本改进而来,你可以在sourceforge上down到。本来作者打算还有17个功能要完成,我的修改部分地完成了功能9,支持HTTP 1.1。也许以后有空的时候我会吧FTP支持也做进去(事实上我已经写了一个在线ftp代理 )。 Modification: 我做的修改 1. added a button and an input field for direct download link 增加一个按钮和输入框,可以直接获取下载地址 2. added HTTP/1.1 'Range' support, now capable of multi-thread downloading 增加对HTTP/1.1 Range(范围)的支持,可以多线程下载了。 3. added HTTP/1.1 'Referer' support, no worry for anti-leech of the server 增解HTTP/1.1 Referer(来源页)的支持,可以突破防盗链(很卑鄙,呵呵。。) Download here: 点击这里下载文件 Generated by Bo-blog 2.1.0