Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:19138 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63634 invoked by uid 1010); 23 Sep 2005 06:03:12 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63619 invoked from network); 23 Sep 2005 06:03:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2005 06:03:12 -0000 X-Host-Fingerprint: 212.183.46.173 M2518P013.adsl.highway.telekom.at Received: from ([212.183.46.173:26942] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 91/71-24510-E9A93334 for ; Fri, 23 Sep 2005 02:03:10 -0400 Message-ID: <91.71.24510.E9A93334@pb1.pair.com> To: internals@lists.php.net Date: Fri, 23 Sep 2005 08:03:04 +0200 Organization: IWORKS User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.2) Gecko/20040803 [ http://iworks.at ] X-Accept-Language: de-AT, de-DE, de, en, en-GB, en-US MIME-Version: 1.0 References: <79.1A.24510.546D2334@pb1.pair.com> In-Reply-To: <79.1A.24510.546D2334@pb1.pair.com> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Posted-By: 212.183.46.173 Subject: Re: [PATCH] imap_savebody() From: mike@php.net (Michael Wallner) I wrote: > Currently there is no way to fetch a big message/attachment through > ext/imap if memory_limit is enabled. I'd like to kindly ask for > consideration of the following patch: > > http://dev.iworks.at/PATCHES/imap_savebody.patch.txt Thanks a lot for review; the patch has been updated with your suggestions. Additionally the whole thing is ifdef'd out in ZTS mode as the c-client gets function is a global variable. I tested the function with a 17M message saving to a file as well to an already opened stream. Thanks, -- Michael - < mike(@)php.net >