Re: [patch] HTTP_WebDAV_Server
| From: | Alex Young | Date: | Tue, 05 Oct 2004 06:53:07 +0000 |
| Subject: | Re: [patch] HTTP_WebDAV_Server | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33658@lists.php.net to get a copy of this message | ||
I've uploaded the patch here:
http://projects.alexyoung.org/HTTP_WebDAV_Server.diff
And posted a bug report (Bug #2455)
Thanks Justin,
Alex
On 4 Oct 2004, at 23:14, Justin Patrin wrote:
On Mon, 4 Oct 2004 19:59:14 +0100, Alex Young <alex@waste.me.uk> wrote:-- homepage: http://alexyoung.org/ music: http://noise.me.ukI've been investigating using PEAR's WebDAV server in a production environment, and I've found a few issues. This patch revolves the first which is poor memory performance due to the use of fpassthru(). I've added a member function called _send_stream(resource handle) which buffers the output to the webdav client and replaces the fpassthru() calls. I've tested it and found memory usage to be improved. The goal of my efforts is to improve webdav performance for concurrent requests for large files.Sorry, I don't see a patch. The PEAR list servers reject all attachments that aren't of a "text/plain" type. Try adding a .txt extension to the file or setting the type explicitly in your mail client. Also, all patches should be put into a bug report so that they're not lost and can be tracked properly: http://pear.php.net/bugs/report.php?package=HTTP_WebDAV_Server The best way to handle a patch is to post it to a website and provide a link (so that formatting and such is not lost).