Re: [Catalyst] Catalyst::Engine::HTTP::Prefork failing to start my script

2010-12-16 Thread Andy Grundman
On Dec 16, 2010, at 2:14 AM, Andreas J. Koenig wrote: Can't use an undefined value as an ARRAY reference at /usr/local/perl-5.10.1/lib/site_perl/5.10.1/Catalyst/Engine/HTTP/Prefork.pm line 35. The line in question is: @ARGV = @{ $options-{argv} }; So you should make sure your server.pl

Re: [Catalyst] Catalyst::Plugin::Scheduler - NEXT warnings patch

2009-05-07 Thread Andy Grundman
On May 7, 2009, at 8:35 AM, Tomas Doran wrote: Anthony Gladdish wrote: Attached are my diffs and I've put the version number up to 0.09. Passes in Catalyst::Runtime 5.8 + perl 5.10. Passes in Catalyst::Runtime 5.7011 + perl 5.8.8. Great, thanks for the patches. Applied as r10035 with

Re: [Catalyst] Testing against local but 'external' server?

2008-10-09 Thread Andy Grundman
On Oct 9, 2008, at 4:13 PM, Jesse Sheidlower wrote: That is, if I want to test my Catalyst app against a real server (for example, if I have server configuration settings in an httpd.conf file, or some other reason why I need to test my app against Apache instead of a Perl HTTP object), but I

Re: [Catalyst] Catalyst::Plugin::UploadProgress

2008-09-30 Thread Andy Grundman
On Sep 30, 2008, at 6:27 PM, Stephan Jennewein wrote: Hi, I'm trying to use the UploadProgress plugin. At the moment it doesn't update the progressbar during the upload, but the first time it does is when I cancel the upload or it has finished. I think the problem is that I'm using Mason

Re: [Catalyst] C::P::UploadProgress

2008-05-14 Thread Andy Grundman
On May 14, 2008, at 10:32 AM, Octavian Rasnita wrote: Hi, Can C::P::UploadProgress be made to work under Windows? I've seen that it requires C::P::Cache::FastMmap and this module can't be installed under Windows, even after installing Cache::FastMmap::WithWin32. It will work with any

Re: [Catalyst] Re: New engine: HTTP::Prefork

2008-04-07 Thread Andy Grundman
On Apr 7, 2008, at 8:57 AM, Aristotle Pagaltzis wrote: * Andy Grundman [EMAIL PROTECTED] [2008-04-06 17:10]: Multiple processes is really the only way to go for a web server. You mean, a webserver for running Catalyst apps? ’Cause in the general case, a single-process, select-based server

Re: [Catalyst] New engine: HTTP::Prefork

2008-04-06 Thread Andy Grundman
On Apr 6, 2008, at 3:08 AM, Octavian Rasnita wrote: It is based on Net::Server::Prefork so it has all of the preforking features you'd expect (min servers, spares, max servers, flock- based accept() serialization, etc). It also requires 2 XS modules to further improve performance:

Re: [Catalyst] New engine: HTTP::Prefork

2008-04-06 Thread Andy Grundman
On Apr 6, 2008, at 3:36 AM, Kaare Rasmussen wrote: little bit. I was disappointed in the POE engine and came to the conclusion that POE, while tons of fun to use, is not the right Just when POE went 1.0! Not fair!! POE rocks, but a single process just doesn't work for Catalyst, because

Re: [Catalyst] New engine: HTTP::Prefork

2008-04-06 Thread Andy Grundman
On Apr 6, 2008, at 12:55 PM, Jonathan Rockway wrote: * On Sun, Apr 06 2008, Andy Grundman wrote: On Apr 6, 2008, at 3:36 AM, Kaare Rasmussen wrote: little bit. I was disappointed in the POE engine and came to the conclusion that POE, while tons of fun to use, is not the right Just when POE

[Catalyst] New engine: HTTP::Prefork

2008-04-05 Thread Andy Grundman
Finally got around to releasing an engine I have been working on for a little bit. I was disappointed in the POE engine and came to the conclusion that POE, while tons of fun to use, is not the right framework for something like a Catalyst engine. So this engine is designed to replace

Re: [Catalyst] X-Forwarded-For

2008-04-01 Thread Andy Grundman
On Apr 1, 2008, at 11:17 PM, Bill Moseley wrote: C::Engine::Apache does this: # If we are running as a backend server, the user will always appear # as 127.0.0.1. Select the most recent upstream IP (last in the list) my ($ip) = $headers-{'X-Forwarded-For'} =~ /([^,\s]+)$/;

Re: [Catalyst] problem on $c-res-body(*STDOUT);

2008-03-14 Thread Andy Grundman
On Mar 14, 2008, at 5:57 AM, Matt Lawrence wrote: Fayland Lam wrote: sub test_body : Local { my ($self, $c) = @_; $c-res-body(*STDOUT); print a\n; print b\n; } Have you tried passing the glob as a reference? $c-res-body(\*STDOUT); It looks like that's at least part of your

Re: [Catalyst] The performance test of 6 leading frameworks

2008-02-29 Thread Andy Grundman
On Feb 29, 2008, at 11:21 AM, [EMAIL PROTECTED] wrote: hi I do not know if this test has already been posted on the list Why these bad performances ? http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ All in all seems like a well-done benchmark with lots of good

Re: [Catalyst] The performance test of 6 leading frameworks

2008-02-29 Thread Andy Grundman
On Feb 29, 2008, at 12:14 PM, Andy Grundman wrote: On Feb 29, 2008, at 11:21 AM, [EMAIL PROTECTED] wrote: hi I do not know if this test has already been posted on the list Why these bad performances ? http://www.alrond.com/en/2007/jan/25/performance-test-of-6-leading-frameworks/ All

Re: [Catalyst] The performance test of 6 leading frameworks

2008-02-29 Thread Andy Grundman
On Feb 29, 2008, at 2:20 PM, Dab wrote: Thank you for your answers If asked that question is that I make a small application that takes 3 seconds per request with only one user. It has only 7 tables and uses a lot of TT. I forget to use /Template::Stash::XS, (thank /Andy) I will make a

Re: [Catalyst] configurable base url?

2007-12-07 Thread Andy Grundman
On Dec 7, 2007, at 12:32 PM, Pablo Collins wrote: Thanks guys for your help. For clarity, I'd like to make the question webserver independent. For now, I'm just talking about how to change the base url of an application running in Catalyst::Engine::HTTP. In Catalyst::Manual::Cookbook,

Re: [Catalyst] difficulty in assigning an array to a stash

2007-11-11 Thread Andy Grundman
On Nov 11, 2007, at 11:28 AM, jagdish eashwar wrote: Hi, I am trying to retrieve into an array a list of values from a column in a table using dbic and have it displayed in a drop down list in a tt2 template. I am able to do the retrieval part, but the tt2 template is displaying only the last

Re: [Catalyst] request uri under lighttpd/fastcgi contains extra slash

2007-11-09 Thread Andy Grundman
On Nov 9, 2007, at 11:26 AM, Jim Spath wrote: When I run Catalyst out of a non root webserver location, e.g. / myapp, $c-request-uri has an extra slash after the base url. http://mydomain.com/myapp// http://mydomain.com/myapp//some/action Catalyst::Engine::CGI::prepare_path() is setting

Re: [Catalyst] loading modules before the server forks

2007-11-08 Thread Andy Grundman
On Nov 8, 2007, at 2:32 PM, Octavian Rasnita wrote: Hi, If I have a Catalyst application and I use PerlResponseHandler Application::Name in httpd.conf and I load that module in a startup.pl file, what happends with the modules that might be loaded by that Catalyst app? Are they also

Re: [Catalyst] loading modules before the server forks

2007-11-08 Thread Andy Grundman
On Nov 8, 2007, at 4:21 PM, Octavian Rasnita wrote: Ok, thank you. I know how to load the modules, but I just wanted to know if all dependencies are loaded before server fork. Yeah, they are. Catalyst will load all your controllers, models, etc, and those will load all their modules, and

Re: [Catalyst] Catalyst-Runtime fails tests with lighttpd-1.4.18

2007-11-05 Thread Andy Grundman
On Nov 5, 2007, at 8:06 AM, Bernhard Weisshuhn wrote: Hi, am I the only one who cannot get the lighttpd-fastcgi-tests for Catalyst-Runtime-5.7011 to pass with the current lighttpd 1.4.18? I've already incorporated a patch for content in 307 response bodies from

Re: [Catalyst] Catalyst-Runtime fails tests with lighttpd-1.4.18

2007-11-05 Thread Andy Grundman
On Nov 5, 2007, at 1:47 PM, Bernhard K. Weißhuhn wrote: Andy Grundman schrieb: On Nov 5, 2007, at 8:06 AM, Bernhard Weisshuhn wrote: Hi, am I the only one who cannot get the lighttpd-fastcgi-tests for Catalyst-Runtime-5.7011 to pass with the current lighttpd 1.4.18? [...] 1.4.18 passes