Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jim Schueler
In light of Joe Schaefer's response, I appear to be outgunned. So, if nothing else, can someone please clarify whether "de-chunked" means re-assembled? -Jim On Wed, 3 Jul 2013, Jim Schueler wrote: Thanks for the prompt response, but this is your question, not mine. I hard

Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jim Schueler
im, This is the Transfer-Encoding: chunked I was writing about: http://tools.ietf.org/html/rfc2616#section-3.6.1 On Wed, Jul 3, 2013 at 11:34 AM, Jim Schueler wrote: I played around with chunking recently in the context of media streaming: The client is only requesting a "chunk&quo

Re: mod_perl and Transfer-Encoding: chunked

2013-07-03 Thread Jim Schueler
I played around with chunking recently in the context of media streaming: The client is only requesting a "chunk" of data. "Chunking" is how media players perform a "seek". It was originally implemented for FTP transfers: E.g, to transfer a large file in (say 10K) chunks. In the case that y

Re: [OT] Apache::DBI

2013-05-31 Thread Jim Schueler
ouple users, or a bug that affects more than a couple users, odds are that it will get fixed. Features that only one user is after will likely not be implemented by the maintainers, but patches for those features are usually readily accepted. On Fri, May 31, 2013 at 10:30 AM, Jim Schueler

Re: [OT] Apache::DBI

2013-05-31 Thread Jim Schueler
closer inspection not to really be anymore, I find this a very small price to pay for the wealth of good information and working code that lives there. My sincerest thanks to CPAN and all its contributors and maintainers over the years (that includes you of course, Jim). What you have done and

Re: Apache::DBI

2013-05-31 Thread Jim Schueler
e list who know enough perl to help with a question about Apache::DBI.  It's a common practice to point people here for support on mod_perl modules. What are you getting at?  Is there a module that you're having trouble with and can't get support for? - Perrin On Fri, May 31, 2013

Apache::DBI

2013-05-31 Thread Jim Schueler
There's an existing thread with an Apache::DBI question. But since I want to post a separate question to this list, I decided to start a new thread. Just got done reading the Man page for Apache::DBI. One of the last notes suggests that this package is obsolete (having been replaced by Class

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Jim Schueler
ild, nor reproducing the same error using a simple program. Can you guys help me with that? Thanks, - xinhuan On 5/31/13 9:02 AM, "Jim Schueler" wrote: Perrin is right. But fundamentally, I'd say that you're confusing 'local' and 'my' variable scoping:

Re: Apache::DBI "connection lost contact" error

2013-05-31 Thread Jim Schueler
2013 at 7:46 PM, Xinhuan Zheng wrote: The db handle is declared local and once it's out of scope, the destroy call will disconnect. But it appears even though variable is out of scope, we still get that error. Don't know why. - xinhuan On 5/30

Re: Apache::DBI "connection lost contact" error

2013-05-30 Thread Jim Schueler
Did this solve your problem? -Jim On Wed, 29 May 2013, Perrin Harkins wrote: Hi, Apache::DBI is supposed to skip caching if you connect during startup.  You should just need to disconnect your database handle after you finish with it.  It sounds like you're opening it and then leaving it open

Re: Apache::DBI "connection lost contact" error

2013-05-29 Thread Jim Schueler
A few questions: Precisely when do you get this error? When startup.pl exits or before? Can you send a copy of your startup.pl file? You get exactly the same error on startup and shutdown? If PerlRequire startup.pl is commented out, do you still get errors? Do you get errors when a

Re: Segmentation fault on form posting

2013-05-23 Thread Jim Schueler
Here's the code I mentioned in my last post. It's included in my distro NoSQL::PL2SQL #include "EXTERN.h" #include "perl.h" #include "XSUB.h" #include "ppport.h" SV* typeis ( SV* what ) ; SV* typeis ( SV* what ) { if ( SvIOK( what ) ) return newSVpvs( "integer" ) ;

Re: Segmentation fault on form posting

2013-05-23 Thread Jim Schueler
I also encounter this problem occasionally. So your post is quite familiar. If the first thing you do is print the parameters, what's the second thing? Form posts almost always trigger external processes, databases, mail servers, etc. The external process is more likely to be causing the f

RE: Download then display page

2013-04-30 Thread Jim Schueler
To clarify, I meant to say, "I only occassionally write handlers". :) -Jim On Tue, 30 Apr 2013, Chris Faust wrote: Thanks Jim, I'm going to give that a try and see if I can get it to work. -Chris -Original Message- From: Jim Schueler [mailto:jschue...@eloquency.com

RE: Download then display page

2013-04-30 Thread Jim Schueler
this? $r->content_type('text/html'); print $content->output; $r->headers_out->set(Location => $redirect); return Apache2::Const::REDIRECT; And the $redirect URL would then do the sending of the file itself? Thanks! -Original Message- From: Jim Schueler [ma

Re: Download then display page

2013-04-30 Thread Jim Schueler
I believe the following will work (never tried it though): The request should return a 'text/html' type document that displays the instructions. But the response should be a redirect to a URL that returns the spreadsheet instead of a 200 OK. I believe that the body of the original response

RE: highscalability.com report

2012-04-12 Thread Jim Schueler
l talent has become a big issue. I'm told that they're somewhere down the road to moving to PHP. -Original Message- From: Octavian Rasnita [mailto:orasn...@gmail.com] Sent: Thursday, April 12, 2012 1:02 PM To: Clinton Gormley; Jim Schueler Cc: modperl@perl.apache.org Subject: R

highscalability.com report

2012-04-03 Thread Jim Schueler
Hope this doesn't get trapped by too many spam filters. Sad news. Just saw a blog http://www.highscalability.com/ that reports YouPorn.com switched from Perl to PHP. Apparently there's a reported 10% improvement in speed, but I haven't noticed :). After a couple months of total immersion

how does mod_perl handle client certificates

2012-02-29 Thread Jim Schueler
How does mod_perl handle client certificates using the Apache object? Thanks!

PHP Question

2012-02-29 Thread Jim Schueler
At least one person in yesterday's discussion wondered if mod_perl might be obsolete given the overwhelming dominance of PHP. I just want to share a few observations. When someone asks me the difference between PHP and Perl. I usually respond that the PHP's core API is bigger by a magnitude

Re: Registry and CGI::Carp

2012-01-27 Thread Jim Schueler
There's no question or anything resembling a request in your email. So my response may waste a lot of time. Is this your original post? http://www.perlmonks.org/?node_id=949773 If so, I might be able to help. Admittedly, I can't follow the thread. The PerlMonds responder refers to a funct

Re: cms as an apache incubator project?

2012-01-12 Thread Jim Schueler
the times.) I'm sure I know people who could capitalize on the right FOSS project. Justification is always the first step in any undertaking. And I couldn't find it anywhere using your links. Is there anything else you can send along? Thanks again! Sincerely, Jim Schueler

Re: Fw: cms as an apache incubator project?

2012-01-08 Thread Jim Schueler
Hello Joe. I'm definitely interested and I'll take look at the links below. What is your role in this process? How many volunteers are you looking for? Any other response? About how much time is required.? Thanks! Jim Schueler On Mon, 2 Jan 2012, Joe Schaefer wrote: FYI

Re: BerkeleyDB error

2011-01-02 Thread Jim Schueler
I wrote the module Apache::ChildExit specifically to resolve the incompatibility between BerkeleyDB and Apache::Registry http://search.cpan.org/~tqisjim/ChildExit_0-1/ -Jim > Subject: Re: BerkeleyDB error > From: Perrin Harkins > To: "Peram, Sudhakara" > Cc: modperl@perl.apache.org > Conte

PerlTransHandler

2006-04-25 Thread Jim Schueler
What happened to PerlTransHandler in mod_perl-1.29? Jim Schueler Motor City Interactive