Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:6374 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78069 invoked by uid 1010); 12 Dec 2003 20:51:02 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 78045 invoked from network); 12 Dec 2003 20:51:02 -0000 Received: from unknown (HELO web41010.mail.yahoo.com) (66.218.93.9) by pb1.pair.com with SMTP; 12 Dec 2003 20:51:02 -0000 Message-ID: <20031212205056.65962.qmail@web41010.mail.yahoo.com> Received: from [128.107.253.44] by web41010.mail.yahoo.com via HTTP; Fri, 12 Dec 2003 12:50:56 PST Date: Fri, 12 Dec 2003 12:50:56 -0800 (PST) To: internals@lists.php.net MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: file upload problem using REQUEST_CHUNKED_DECHUNK From: sulchi@yahoo.com (Sureshkumar Kaliannan) Hi, I'm trying to upload a file, which is sent as CHUNKS. I modified the setup_client_block to use REQUEST_CHUNKED_DECHUNK option so that apache will dechunk it. With only this modification it used to work fine..but recently it stopped working. i.e, the file is copied only partially. around 16000 bytes is copied when the file uploaded is around 48000 bytes. I didn't modify any code but I don't what got changed. From the sniffer i could see the client is sending 48000 bytes, I added debugs to the sapi_apache_read_post and read_post in main/SAPI.c. At the end of the read_post function I could see the read_post_bytes to be 48000. I'm lost after that..I don't where the remaining bytes are gone. The actual filesize of the temporary file is only 16000 bytes. So somewhere after the read_post the data is lost while saving it to the temp uploaded file Any help to debug the problem will be very much appreciated. I am using apache 1.3.28 and php 4.0.4 thanks a lot Suresh __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/