Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32153 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 58653 invoked by uid 1010); 10 Sep 2007 05:01:34 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 58638 invoked from network); 10 Sep 2007 05:01:34 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Sep 2007 05:01:34 -0000 Authentication-Results: pb1.pair.com header.from=christian.stocker@liip.ch; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=christian.stocker@liip.ch; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain liip.ch from 194.50.176.162 cause and error) X-PHP-List-Original-Sender: christian.stocker@liip.ch X-Host-Fingerprint: 194.50.176.162 mail.bitflux.ch Linux 2.5 (sometimes 2.4) (4) Received: from [194.50.176.162] ([194.50.176.162:35878] helo=devel.bitflux.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/11-44859-BAFC4E64 for ; Mon, 10 Sep 2007 01:01:32 -0400 Received: from localhost (localhost [127.0.0.1]) by devel.bitflux.ch (Postfix) with ESMTP id EBA51E796F; Mon, 10 Sep 2007 07:01:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at devel.bitflux.ch Received: from devel.bitflux.ch ([127.0.0.1]) by localhost (devel.bitflux.ch [127.0.0.1]) (amavisd-new, port 10024) with LMTP id oikAc1FlP+WR; Mon, 10 Sep 2007 07:01:26 +0200 (CEST) Received: from pr.local (80-218-228-232.dclient.hispeed.ch [80.218.228.232]) by devel.bitflux.ch (Postfix) with ESMTP id 81CA5E7980; Mon, 10 Sep 2007 07:01:25 +0200 (CEST) Message-ID: <46E4CF9F.2050305@liip.ch> Date: Mon, 10 Sep 2007 07:01:19 +0200 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: BuildSmart CC: PHP Developers Mailing List References: <46E4CB0B.4050700@liip.ch> <995233DC-EF1C-4EB8-979F-9FEDD82FAA1C@daleenterprise.com> In-Reply-To: <995233DC-EF1C-4EB8-979F-9FEDD82FAA1C@daleenterprise.com> X-Enigmail-Version: 0.95.3 OpenPGP: id=5CE1DECB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] rfc1867.c compatibility question From: christian.stocker@liip.ch (Christian Stocker) On 10.9.2007 6:53 Uhr, BuildSmart wrote: > > On Sep 10, 2007, at 24:41:47, Christian Stocker wrote: > > > >> On 10.9.2007 3:53 Uhr, BuildSmart wrote: >>> I was asked to look into the pdoru patch and extension by a client, this >>> is where I noticed that a similar patch is already applied to the >>> rfc1867.c file >>> (http://cvs.php.net/viewvc.cgi/php-src/main/rfc1867.c?r1=1.173.2.1&r2=1.173.2.1.2.1&pathrev=PHP_5_2&view=patch), >>> >>> is this patch compatible with the pdoru Upload Progress Meter extension >>> or do I need to write something from scratch? > >> http://pecl.php.net/package/uploadprogress > > Ok so after examination of this extension it looks like it's basically > using the same code with the exception of no support for memcache from http://pdoru.from.ro/upload-progress-meter/upload-progress-meter-v4.1/upload_progress_meter/upload_progress_meter.c static int mmcache_loaded(void) { return 0; } static void * callback_mmcache( void *pointer, int read_bytes, int total_bytes, int what_happened ) { return NULL; } Doesn't look like much support for m(e)mcache :) > and > this is a requirement but my question was, is the provided patch > compatible with the pdoru extension (the pdoru extension works properl)? I don't know exactly, but I don't think, that it's 100% compatible, there was a reason for the PECL extension... chregu -- Liip AG // Schoeneggstrasse 5 // CH-8004 Zurich Tel +41 44 240 56 70 // Mobile +41 76 561 88 60 www.liip.ch // blog.liip.ch // GnuPG 0x5CE1DECB