Re: mod_perl2 with mod_dbd and Apache2

2009-02-11 Thread Ivan Heffner
I realize that this response is months late, but this thread is only now coming to my attention due to another recent response. Still, I think you may have been trying to solve the wrong problem. Perhaps I'm missing a detail or two here, but you are running mod_perl. Perl processes live on beyond t

Re: How do I check a socket to know it is not closed?

2005-12-20 Thread Ivan Heffner
No error is thrown to trap. That's part of the problem. :-/ On 12/20/05, David Nicol <[EMAIL PROTECTED]> wrote: > On 12/20/05, Ivan Heffner <[EMAIL PROTECTED]> wrote: > > pache2::Connection object. It then reads a message from the > > socket (this is working

Re: How do I check a socket to know it is not closed?

2005-12-20 Thread Ivan Heffner
I'm not sure I was clear enough with my original question, so I am going to restate it. I have a custom Apache Connection handler. It grabs the socket from the Apache2::Connection object. It then reads a message from the socket (this is working correctly) and then goes off and does some work. W

Re: How do I check a socket to know it is not closed?

2005-12-19 Thread Ivan Heffner
es [Mon Dec 19 17:07:23 2005] [error] APR::Socket::send: (32) Broken pipe at /home/iheffner/proto/lib/ProtoConnection.pm line 55 I need to know that the client app just stopped listening. There is no explicit timeout on the socket. Ivan On 12/19/05, Philip M. Gollucci <[EMAIL PROTECTED]>

How do I check a socket to know it is not closed?

2005-12-19 Thread Ivan Heffner
I'm trying to tweak a custom Apache Connection handler. The short description of what I want to do is this: I receive a connection from an application. I read the message which tells me what work I should be doing. I go off and do the work. In the time that I do the work, the application could