I've been using the Apache::DBI module, and it works great. However, I've
noticed that my error_log file has an occasional message that tells me:
Database handle destroyed without explicit disconnect at
/usr/local/lib/perl5/site_perl/5.005/Apache/DBI.pm line 119.
The "offending" line of code
17 0x8500c in ap_child_terminate ()
#18 0x85d14 in main ()
It looks like it may be blocked in a read somewhere. Very strange.
-jse
From: Stas Bekman [EMAIL PROTECTED]
Date: Fri, 14 Apr 2000 23:20:17 +0300 (IDT)
To: "John S. Evans" [EMAIL PROTECTED]
Cc: modperl [EMAIL PROTECTED]
nhappiness.
Any other clues or pointers? I'm half tempted at this point to rewrite
things as a CGI rather than a module, because MIME::Parser seems to work
from a CGI.
-jse
From: "John S. Evans" [EMAIL PROTECTED]
Date: Fri, 14 Apr 2000 16:02:20 -0700
To: modperl [EMAIL PROTECT
So I'm trying to work around my problems with Apache::Request by parsing the
request myself. This way I can work with only a single open file at a time.
But now I have a new problem. In my content handler, if I add "use
MIME::Parser;" to the top of my file, apache won't start - it seems to
tions for using
lsof, I'd also appreciate that!
-jse
From: Doug MacEachern [EMAIL PROTECTED]
Date: Wed, 12 Apr 2000 22:48:06 -0700 (PDT)
To: "John S. Evans" [EMAIL PROTECTED]
Cc: modperl [EMAIL PROTECTED]
Subject: Re: Apache::Request
On Tue, 11 Apr 2000, John S. Evans wrote:
per child?
I saw (in the code) that there's one open file per uploaded file. That
should be fine. I just need to find out if they're getting closed
correctly.
What is "lsof"?
Thanks!
-jse
From: Doug MacEachern [EMAIL PROTECTED]
Date: Tue, 11 Apr 2000 21:26:19 -0700 (PDT)
To: &quo
I'm looking for some help/advice with Apache::Request. I'm currently using
Apache::Request to parse the POST that is used to upload a bunch of files to
our server.
The problem I'm running into is that I seem to be running out of file
descriptors over a long period of time, if a large number of
I'm looking for some help/advice with Apache::Request. I'm currently using
Apache::Request to parse the POST that is used to upload a bunch of files to
our server.
The problem I'm running into is that I seem to be running out of file
descriptors over a long period of time, if a large number of
I was the guy :)
Strange, because the "Writing Apache Modules..." book explicitly tells you
that you CAN do this (use STDIN to read the post line by line).
Based on my experience, and your snippet below, I'm guessing the book is
incorrect :)
-jse
From: "Eric L. Brine" [EMAIL PROTECTED]
So I've been playing around with Apache::Request for the last day or two,
trying to figure out what it's capabilities are for processing uploaded
files. I was hoping to use it as the back-end of an HTTP-based API I'm
creating.
It looks like it requires that a "filename" parameter on the
In a perl apache module that I'm writing, I wanted to try to parse the
content of a POST myself. According to "Writing Apache Modules with Perl
and C", page 438, you should be able to read the content from STDIN using
Perl's read() and getc(), and using Perl's file operations.
When I use the
So I'm starting development on a project with multiple components which will
be talking to an Oracle 8 database, and I'm trying to understand what the
various options are.
The project will consist of HTML::Embperl pages, modperl CGIs, and random
Perl processes, all of which will connect to the
This is a resend - for some reason I'm having problems sending to the list
from my main email account. Doh!
-jse
I've been attempting to write a perl module that handles POSTs of type
multipart/form-data, and have been having a rough time.
I'm using Apache::Request to
13 matches
Mail list logo