Apache::DBI disconnect?

2000-04-24 Thread John S. Evans
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

Re: modperl and MIME::Parser?

2000-04-15 Thread John S. Evans
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]

Re: modperl and MIME::Parser?

2000-04-15 Thread John S. Evans
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

modperl and MIME::Parser?

2000-04-14 Thread John S. Evans
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

Re: Apache::Request

2000-04-13 Thread John S. Evans
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:

Re: Apache::Request

2000-04-12 Thread John S. Evans
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

Apache::Request

2000-04-10 Thread John S. Evans
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

Apache::Request

2000-04-10 Thread John S. Evans
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

Re: STDIN reads everything as one line

1999-11-26 Thread John S. Evans
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]

Apache::Request

1999-11-23 Thread John S. Evans
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

Question on STDIN

1999-11-23 Thread John S. Evans
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

DBI and pooling

1999-11-03 Thread John S. Evans
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

multipart POST problems

1999-01-17 Thread John S. Evans
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