Return-Path: Delivered-To: apmail-perl-embperl-archive@www.apache.org Received: (qmail 12086 invoked from network); 17 Nov 2004 21:00:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 17 Nov 2004 21:00:50 -0000 Received: (qmail 5125 invoked by uid 500); 17 Nov 2004 21:00:48 -0000 Delivered-To: apmail-perl-embperl-archive@perl.apache.org Received: (qmail 5082 invoked by uid 500); 17 Nov 2004 21:00:48 -0000 Mailing-List: contact embperl-help@perl.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Delivered-To: mailing list embperl@perl.apache.org Received: (qmail 5063 invoked by uid 99); 17 Nov 2004 21:00:47 -0000 X-ASF-Spam-Status: No, hits=0.7 required=10.0 tests=URIBL_WS_SURBL X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from [216.39.113.20] (HELO corpmx.savicom.net) (216.39.113.20) by apache.org (qpsmtpd/0.28) with ESMTP; Wed, 17 Nov 2004 13:00:45 -0800 Received: from Doug (office.mindsharedesign.com [216.39.112.17]) by corpmx.savicom.net (8.12.9/8.12.3) with SMTP id iAHKrZIN077347; Wed, 17 Nov 2004 12:53:35 -0800 (PST) (envelope-from drayner@savicom.net) Message-ID: <009d01c4cce8$e52bfa00$1f00a8c0@Doug> From: "Doug Rayner" To: "Doug Rayner" , "Gerald Richter" , "'Embperl'" Subject: Re: Embperl::Object and FastCGI? Date: Wed, 17 Nov 2004 13:03:31 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1437 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441 X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N After this fix, we were able to get things mostly working with fastcgi. However, we have encountered a problem with forms which use encoding type 'multipart/form-data'. It seems that the form data read for the first form submitted re-used to all subsequent form submissions. I know that Embperl uses a CGI object to process multipart/form-data requests. I know that there was a recent change to Embperl 2.0 to extend the lifetime of the CGI object by storing a reference to it in the request object. However, we do not see this behavior when we use mod_perl, so it might not be an object lifetime problem. We are using CGI v2.81 (and I have also tried with the newer v3.05), and FASTCGI v0.67. Any ideas on what might be happening? Thanks and regards, Doug Rayner Senior System Architect Savicom: Next Generation eMail Marketing http://www.savicom.net (415) 617-9006 ----- Original Message ----- From: "Doug Rayner" To: "Gerald Richter" ; "'Embperl'" Sent: Sunday, November 07, 2004 7:45 PM Subject: Re: Embperl::Object and FastCGI? > Gerald; > > Thanks for the quick response. That fixed the problem!! > > Regards, > > - Doug Rayner > > ----- Original Message ----- > From: "Gerald Richter" > To: "'Doug Rayner'" ; "'Embperl'" > > Sent: Saturday, November 06, 2004 5:45 AM > Subject: RE: Embperl::Object and FastCGI? > > > >> > >> [Thu Nov 4 14:42:59 2004] [error] [client 192.168.13.203] > >> FastCGI: server "/home/drayner/www/fcgi-bin/epocgi.pl" > >> stderr: Thu Nov 4 14:42:59 2004: > >> Usage: FCGI::Stream::READ(stream, bufsv, len, ...) at > > > > Could you please try to add in epio.c after line 487: > > > > XPUSHs(sv_2mortal(pBufSV = NEWSV(0, 0))); > > > > The following line > > > > XPUSHs(sv_2mortal(newSViv (size))); > > > > Please let me know if this solves your problem. > > > > Gerald > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: embperl-unsubscribe@perl.apache.org For additional commands, e-mail: embperl-help@perl.apache.org