Re: Apache::Request for CGI? (was: Re: A::Registry vs.mod_perlhandler philosophy)

2003-07-02 Thread Perrin Harkins
On Wed, 2003-07-02 at 20:38, Andrew Ho wrote: > I totally agree with the fact that Apache::Registry can introduce many > hard-to-debug-problems. I've had enough headaches debugging some of these > issues myself. It's unclear to me, though, that there are unimaginably > cool things you can get to in

Re: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perlhandlerphilosophy)

2003-07-02 Thread Geoffrey Young
It's unclear to me, though, that there are unimaginably cool things you can get to in a "real" content handler that you can't get to from an Apache::Registry script--which seems to be the assertion. well, if you consider that you still get access to $r and all its treasures from Apache::Registry,

Re: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perlhandlerphilosophy)

2003-07-02 Thread Andrew Ho
Hello, GY>mod_perl allows you to let your content handlers to focus on content - GY>all other parts of your application (authentication, session management, GY>proxying, URL rewriting tricks, etc) can programmed at the server level GY>via other parts of the request cycle. I think the question isn

Re: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perlhandlerphilosophy)

2003-07-02 Thread Geoffrey Young
Jesse Erlbaum wrote: Philippe -- Check out the guide: Check out the books: Check out the success stories: Is that your answer? I was hoping for specific examples, not hand-waving. I like to think that Part III (Chapters 11-17) of the mod_perl Developer's Cookbook does some of that. authent

RE: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perlhandler philosophy)

2003-07-02 Thread Jesse Erlbaum
Philippe -- > Check out the guide: > Check out the books: > Check out the success stories: Is that your answer? I was hoping for specific examples, not hand-waving. -Jesse- -- Jesse Erlbaum The Erlbaum Group [EMAIL PROTECTED] Phone: 212-684-6161 Fax: 212-684-6226

RE: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perlhandler philosophy)

2003-07-02 Thread Philippe M. Chiasson
On Wed, 2003-07-02 at 22:36, Jesse Erlbaum wrote: > Hi Joe -- > > > +1. Scripting _inside_ the server opens up possibilities that > > are unimaginable to folks who are content confining themselves > > to the lowest common denominator (CGI). > > Perhaps you could bullet-point a few of these poss

RE: Apache::Request for CGI? (was: Re: A::Registry vs. mod_perl handler philosophy)

2003-07-02 Thread Jesse Erlbaum
Hi Joe -- > +1. Scripting _inside_ the server opens up possibilities that > are unimaginable to folks who are content confining themselves > to the lowest common denominator (CGI). Perhaps you could bullet-point a few of these possibilities for those of us who are confined by our lack of imagin

Re: apache::request parse() doesn't capture abort error

2003-06-14 Thread Joe Schaefer
"Hector Pizarro" <[EMAIL PROTECTED]> writes: [...] > If the user closes the popup in the middle of an upload, Apache::Request > parse() isn't throwing any error, and all the following code in my module > savesthe file incomplete in the system, which of course is garbage data. > > Is this a bug,

Re: Apache::Request

2003-04-01 Thread Stas Bekman
Ewald Geschwinde wrote: I have read that the param Method had been deprecated $r->param('value'): How do I get now the variables from a submitted form ?? now? when? nothing has changed with Apache::Request. No April Fools jokes here. __

Re: Apache::Request: analyse output.

2003-03-21 Thread Stas Bekman
Andrew Alakozow wrote: Hello, I use Apache::FakeRequest to test perl handlers without firing up Apache. Testting is supposed to be done by matching output of handlers with some regexps. But the print method of Apache::Request prints to STDOUT, so to get output I applied following patch to it: 10c

Re: Apache::Request incompatible with CGI ?

2003-02-05 Thread Rob Lambden
dorian wrote: > aiya. libapreq 0.31 is the one that likes to append whatever it is that one just uploaded > to it to its heap until it starves your machine of memory, if i recall correctly. it was > fixed in 0.31_03 i believe but it looks like 1.1 was released last week. I have found 1.1 on CP

Re: Apache::Request incompatible with CGI ?

2003-02-04 Thread dorian
> I downloaded Apache::Request from CPAN and I have version 0.31. My C > compiler is gcc 2.96 aiya. libapreq 0.31 is the one that likes to append whatever it is that one just uploaded to it to its heap until it starves your machine of memory, if i recall correctly. it was fixed in 0.31_03 i believ

Re: Apache::Request + Apache::Filter

2002-11-12 Thread John Heitmann
Hello, We use this patch (on Apache::Filter 1.019) and it works ok. It won't get you up and running with Apache::Registry, but it will do if you can initialize the filter yourself. Add this to Filter.pm: sub Apache::Request::filter_register { my $r= shift; @ISA = qw(Apache::Request);

Re: Apache::Request

2002-08-27 Thread Randy Kobes
On Mon, 26 Aug 2002, Ufuk Yuzereroglu wrote: > I dont know if this is the right place to ask but I just cant > install Apache::Request. When calling 'make', make cant find > any of the header files. Can anyone tell me where I did go > wrong? Did you install mod_perl and apache successfully on th

RE: Apache::Request $apr->param; problems.

2002-07-05 Thread Wes Cravens
> > or check out Apache::RequestNotes/ > > > you'll also want to check out using Apache::Request->instance() over > Apache::Request->new() That is indeed the three second code fix that I implemented.

Re: Apache::Request $apr->param; problems.

2002-07-05 Thread Geoffrey Young
> or check out Apache::RequestNotes/ you'll also want to check out using Apache::Request->instance() over Apache::Request->new() HTH --Geoff

RE: Apache::Request $apr->param; problems.

2002-07-05 Thread Wes Cravens
TED]] > Sent: 05 July 2002 15:57 > To: modperl > Subject: Re: Apache::Request $apr->param; problems. > > > * Wes Cravens <[EMAIL PROTECTED]> [2002-07-05 10:48]: > > however if this routine is called more than once with the same $r > > object then the second

Re: Apache::Request $apr->param; problems.

2002-07-05 Thread darren chamberlain
* Wes Cravens <[EMAIL PROTECTED]> [2002-07-05 10:48]: > however if this routine is called more than once with the same $r > object then the second time there are no params. It's as if calling > $apr->param strips them off $r. That's not clever. I can't find > anything in the documentation that

Re: Apache::Request - Win32

2002-06-24 Thread Levon Barker
That worked!! I had installed the ActiveState libapreq. Thanks for your help on this! > On Sun, 23 Jun 2002, Levon Rubin Barker wrote: > >> Hello. >> >> I'm sure this is a simple problem, but I'm a noob at mod_perl and >> could use some help. >> >> I am running WinXP, Apache 1.3.26, Mod_perl

Re: Apache::Request - Win32

2002-06-23 Thread Randy Kobes
On Sun, 23 Jun 2002, Levon Rubin Barker wrote: > Hello. > > I'm sure this is a simple problem, but I'm a noob at mod_perl and could use > some help. > > I am running WinXP, Apache 1.3.26, Mod_perl 1.27_01-dev with libapreq 0.31/ > > The problem I am having is ... > > I get the following in the Ap

Re: Apache::Request - Win32

2002-06-23 Thread Randy Kobes
On Sun, 23 Jun 2002, Levon Rubin Barker wrote: > Hello. > > I'm sure this is a simple problem, but I'm a noob at mod_perl and could use > some help. > > I am running WinXP, Apache 1.3.26, Mod_perl 1.27_01-dev with libapreq 0.31/ There's a libapreq-1 out now, in $CPAN/authors/id/J/JI/JIMW/ ...

Re: Apache::REquest on cygwin

2002-01-03 Thread Randy Kobes
On Fri, 4 Jan 2002, Dan Horne wrote: > I've been trting to get mod_perl working under cygwin. I've manages to > install both Apache and mod_perl and have tested the earlier scripts in the > O'Reilly "Writing Apache Modules" -e.g. The guestbook app. > > However, I can't get Apache::Request install

Re: apache::request and other newbie questions

2001-11-02 Thread Nouguier Olivier
John Michael wrote: I have a modperl script that uses. cgi.pm and actually I have been importing my on cgi params from get and post but do use cgi.pm for cookies.  I have read in some other emails and now in the guide that it is faster to use Apache::Request so I want to change my script over t

Re: Apache::Request UPLOAD_HOOK

2001-10-10 Thread Issac Goldstand
Issac Goldstand" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, October 08, 2001 19:16 Subject: Re: Apache::Request UPLOAD_HOOK > "Issac Goldstand" <[EMAIL PROTECTED]> writes: > > > The documentation on how to use this feature is a bit sketchy

Re: Apache::Request UPLOAD_HOOK

2001-10-08 Thread Joe Schaefer
"Issac Goldstand" <[EMAIL PROTECTED]> writes: > The documentation on how to use this feature is a bit sketchy... Yes, I agree. Doc patches are always welcome. Comments below are from memory since I last tested this feature about 6 months ago. > Can anyone explain: 1) What the variables pas

Re: Apache::Request cookie handling methods?

2001-09-03 Thread Jon Nangle
> "princepawn" == princepawn <[EMAIL PROTECTED]> writes: princepawn> Could someone point me to the documentation for princepawn> apache-based cookie handling? perldoc Apache::Cookie Jon

Re: Apache::Request cookie handling methods?

2001-09-01 Thread Per Einar
- Original Message - From: "princepawn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, September 01, 2001 4:52 PM Subject: Apache::Request cookie handling methods? > p.209 of the Eagle Book states that Apache::Request has some > experimental cookie-handling functions. I d

Re: Apache::Request cookie handling methods?

2001-09-01 Thread Ken Williams
[EMAIL PROTECTED] (princepawn) wrote: >p.209 of the Eagle Book states that Apache::Request has some >experimental cookie-handling functions. However, neither perldoc >Apache or perldoc Apache::Request has the word cookie anywhere in >their body. The cookie-handling stuff is called Apache::Cookie.

Re: Apache::Request

2001-08-15 Thread Andrew Ho
Hello, RH>I get the following error on RH>my $i = Apache::Request->instance($r); RH> RH>Can't locate object method "instance" via package "Apache::Request" Just to avoid the "whoops" factor: make sure you have "use Apache::Request" in your script, too. This can also cause the error you are repor

RE: Apache::Request

2001-08-15 Thread Geoffrey Young
>-Original Message- >From: Robin Berjon >To: [EMAIL PROTECTED] >Sent: 8/15/01 4:39 PM >Subject: Re: Apache::Request > >On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote: >> I get the following error on >> my $i = Apache::Request->instance($

Re: Apache::Request

2001-08-15 Thread Rasoul Hajikhani
I am reading the online docs... -r Robin Berjon wrote: > > On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote: > > I get the following error on > > my $i = Apache::Request->instance($r); > > > > Can't locate object method "instance" via package "Apache::Request" > > > > Why is that? Is th

Re: Apache::Request

2001-08-15 Thread Robin Berjon
On Wednesday 15 August 2001 22:11, Rasoul Hajikhani wrote: > I get the following error on > my $i = Apache::Request->instance($r); > > Can't locate object method "instance" via package "Apache::Request" > > Why is that? Is the method not available? Are the docs outdated? > Any comments welcomed...

Re: Apache::Request

2001-08-15 Thread Robert Landrum
At 1:11 PM -0700 8/15/01, Rasoul Hajikhani wrote: >I get the following error on >my $i = Apache::Request->instance($r); I think you want my $i = Apache::Request->new($r); I've never used or seen instance before, but I've only been doing mod_perl for about 20 months. Rob -- "A good magician n

Re: Apache::Request problem (possible bug)

2001-04-06 Thread Kee Hinckley
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 At 1:07 AM +1000 4/7/01, Cees Hek wrote: > $r->param('newlist' => [qw(one two three)]); > > my @newlist = $r->param('newlist'); my @newlist = @{$r->param('newlist')}; What you stored was not an array, but a reference to an array

RE: Apache::Request problem (possible bug)

2001-04-05 Thread Geoffrey Young
this was fixed in cvs this past month. check out the archive of the apreq-dev list (if there is one somewhere) to see the details. basically it was because using param() to set a variable was calling Apache::Table->set, which stringifies its arguments. Now it calls Apache::Table->add and does

Re: Apache request object

2001-03-12 Thread Perrin Harkins
On Mon, 12 Mar 2001, Gene Dascher wrote: > How can I access the Apache Request object from a Perl package that I am > calling from a Perl Authorization handler? $r is the first argument passed to your handler. my $r = shift; > I tried using the following code in TestPackage.pm: > > my $r = Apa

RE: Apache::Request param() problem?

2001-01-03 Thread Chris Strom
> Pulling parameters from a POST method using Apache::Request, > largely to make > it easier to deal with multiple value variables. The problem > occurs if I > have two variables, differentiated only by case (eg. > wanthelp= > and wantHelp=). > > Am I missing some parameter to make this case

Re: Apache::Request param() problem?

2001-01-03 Thread Joe Schaefer
"James Sheridan-Peters" <[EMAIL PROTECTED]> writes: > Quick summary: > > Pulling parameters from a POST method using Apache::Request, largely to make > it easier to deal with multiple value variables. The problem occurs if I > have two variables, differentiated only by case (eg. wanthelp= > and

Re: Apache::Request and redirects

2000-12-30 Thread Dave Rolsky
On Sat, 30 Dec 2000, Matt Sergeant wrote: > > Another minor issue is that Apache::Request is not trivially subclassed, > > the returned value from $self->SUPER::new() must be reblessed into the > > desired class. > > Thats a pretty standard perl idiom: > > sub new { > my $class = shift; > my

Re: Apache::Request and redirects

2000-12-30 Thread Matt Sergeant
On Sun, 24 Dec 2000, Shevek wrote: > I want the parameters from the first request to be preserved into the > subrequest. Store in a global variable then: $MyPackage::request = $apr; Then access in the internal redirect. > Another minor issue is that Apache::Request is not trivially subclassed

Re: Apache::Request Under Win32?

2000-11-28 Thread Randy Kobes
On Tue, 28 Nov 2000, Ryan Adams wrote: > > Excuse me if this is a ridiculous question, but is there any way > to install Apache::Request on a Windows box without VC++? [ ... ] Hi, No - it requires a C compiler ... Even with VC++, though, some changes to the distribution are needed to get it

Re: Apache::Request->new() problem

2000-10-21 Thread Maurizio Cimaschi
On Tue, Sep 26, 2000 at 01:06:33PM -0400, Geoffrey Young wrote: > mod_perl wasn't built with EVERYTHING=1 (I'm not sure whether > libapreq needs PERL_TABLE_API=1 or not) In fact I needed to rebuild mod_perl with this enabled in order to have Apache::Request works properly. -- Ciao, Mauriz

RE: Apache::Request and parameters = 0

2000-10-05 Thread Geoffrey Young
> -Original Message- > From: Matt Sergeant [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 05, 2000 10:53 AM > To: Geoffrey Young > Cc: Dana C. Chandler III; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Apache::Request and parameters = 0 > [snip]

RE: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Geoffrey Young wrote: > > package FooTest; > > use Apache::Constants; > > use Apache::Reload; > > > > sub handler { > > my $r = shift; > > $r->send_http_header; > > print "Args: ", scalar $r->args, "\n"; > > return OK; > > } > > > > 1; > > >

RE: Apache::Request and parameters = 0

2000-10-05 Thread Geoffrey Young
> -Original Message- > From: Matt Sergeant [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 05, 2000 10:26 AM > To: Geoffrey Young > Cc: Dana C. Chandler III; [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: Apache::Request and parameters = 0 [snip] > &g

RE: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Geoffrey Young wrote: > however, just for clarity, I don't see how this is a bug in Apache::Request > (as you originally pointed out)... > > #!/usr/bin/perl > use Apache::Request; > my $r = Apache::Request->new(shift); > my $value = $r->param('foo'); > > $r->send_http_header

RE: Apache::Request and parameters = 0

2000-10-05 Thread Geoffrey Young
> -Original Message- > From: Matt Sergeant [mailto:[EMAIL PROTECTED]] > Sent: Thursday, October 05, 2000 9:57 AM > To: Dana C. Chandler III > Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Apache::Request and parameters = 0 > > > On Thu, 5 Oct 2000,

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Dana C. Chandler III wrote: > Yes, in particular, > > $value = $r->param('name') || ""; Or worse, $r->param('name') || "3"; # default but true Even I'm guilty of that one sometimes :-) -- ** Director and CTO ** ** AxKit.com Ltd ** ** XML Application Serving ** ** ht

Re: Apache::Request and parameters = 0

2000-10-05 Thread Dana C. Chandler III
Matt Sergeant wrote: > > On Thu, 5 Oct 2000, Dana C. Chandler III wrote: > > > In my limited experience, it is Perl in general that treats the value 0, > > in a query string as the empty string. In all of the scripts I have > > written, if 0 is possible as a param value, I have to explicity che

Re: Apache::Request and parameters = 0

2000-10-05 Thread John Reid
Matt Sergeant wrote: > > On Thu, 5 Oct 2000, Dana C. Chandler III wrote: > > > In my limited experience, it is Perl in general that treats the value 0, > > in a query string as the empty string. In all of the scripts I have > > written, if 0 is possible as a param value, I have to explicity che

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, Dana C. Chandler III wrote: > In my limited experience, it is Perl in general that treats the value 0, > in a query string as the empty string. In all of the scripts I have > written, if 0 is possible as a param value, I have to explicity check > for 0. This is only the ca

Re: Apache::Request and parameters = 0

2000-10-05 Thread Dana C. Chandler III
Matt Sergeant wrote: > > On Thu, 5 Oct 2000, John Reid wrote: > > > Hi guys > > > > Has anyone any experience of passing a 0 as a parameter value through > > Apache::Request. I am passing a QUERY_STRING like > > ?param1=value1¶m2=0¶m3=value3. It appears that the 0 is being > > interpretted as an

Re: Apache::Request and parameters = 0

2000-10-05 Thread Matt Sergeant
On Thu, 5 Oct 2000, John Reid wrote: > Hi guys > > Has anyone any experience of passing a 0 as a parameter value through > Apache::Request. I am passing a QUERY_STRING like > ?param1=value1¶m2=0¶m3=value3. It appears that the 0 is being > interpretted as an empty string. Is this a bug/expected b

Re: Apache->request($r) broken?

2000-09-28 Thread Doug MacEachern
On Thu, 24 Aug 2000, Ken Williams wrote: > Hi all, > > It looks like setting Apache->request($r) doesn't work as documented. I > can't get it to install a subclass of Apache as the request object. > > Here's some code in a handler: > _ >

RE: Apache::Request->new() problem

2000-09-28 Thread Doug MacEachern
On Tue, 26 Sep 2000, Herrington, Jack wrote: > I'm using Mason in process with mod_perl. I have also tried using mod_perl > handlers direct with Apache::Request with no success. what do you see if you configure Apache::Status and open the url: /perl-status?Apache::Request ? also, any differen

RE: Apache::Request->new() problem

2000-09-26 Thread Herrington, Jack
ECTED] Subject: Re: Apache::Request->new() problem On Mon, 25 Sep 2000, Herrington, Jack wrote: > I have the same problem as one of the previous reporters with > Apache::Request->new(). The problem occurs whether I call it after a 'use' > or after a 'PerlModule'

Re: Apache::Request->new() problem

2000-09-26 Thread Doug MacEachern
On Mon, 25 Sep 2000, Herrington, Jack wrote: > I have the same problem as one of the previous reporters with > Apache::Request->new(). The problem occurs whether I call it after a 'use' > or after a 'PerlModule' load. Perl returns the no 'new' method could be > found for Apache::Request. sound

RE: Apache::Request->new() problem

2000-09-26 Thread Geoffrey Young
> -Original Message- > From: Herrington, Jack [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 26, 2000 12:17 PM > To: [EMAIL PROTECTED] > Subject: RE: Apache::Request->new() problem > > > >well, if you don't have that, then you likely don

RE: Apache::Request->new() problem

2000-09-26 Thread Herrington, Jack
>well, if you don't have that, then you likely don't have Apache::Request or >Apache::Cookie - they aren't part of the mod_perl distribution :) >you need libapreq, which can be found under the Apache tree on CPAN libapreq appears to come with Bundle::Apache, but I also downloaded it seperately an

RE: Apache::Request->new() problem

2000-09-26 Thread Geoffrey Young
> -Original Message- > From: Herrington, Jack [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 25, 2000 10:36 PM > To: [EMAIL PROTECTED] > Subject: Apache::Request->new() problem > > > I have the same problem as one of the previous reporters with > Apache::Request->new(). The prob

Re: Apache::Request server error??

2000-09-25 Thread Matthew Byng-Maddick
On Mon, 25 Sep 2000, Sophokles Zafeiris wrote: > I' m trying to run the file_upload.pl. script, that can be found in the eg > directory of the Apache::Request source file. I've installed the > Apache::Request but I get the following server error : > Can't locate object method "new" via package "

Re: Apache::Request growing httpd

2000-08-28 Thread Jim Winstead
On Aug 28, Dave Thomas wrote: > I applied the patch from the archives but the httpd child process is > still > growing by the size of the file. Is that normal, or is there an update > to the patch that Jim Winstead placed out there > > The system that I am running on is: > SunOS 5.6 on a sparc U

Re: Apache::Request::upload

2000-07-14 Thread Dave Thomas
The template contains the ENCTYPE="multipart/form-data", uses METHOD="POST", and the action is my handler. I initialize the object with: my $r = 'Apache'->request(); my $apr = 'Apache::Request'->new($r); From within my local CGI class I get the Apache::Request class reference fro

Re: Apache::Request::upload

2000-07-14 Thread Tobias Hoellrich
At 10:04 AM 7/14/00 -0600, Dave Thomas wrote: >Hello, > >Question: Why does the Apache::Request object not return an Upload >object when >there was a file sent. > > Backgroud: I have pulled the sample script from the Apache::Request >distribution and >used that in my handler, this instance w

Re: Apache::Request and memory

2000-06-24 Thread Jeremy Howard
> Okay, I think I tracked this down to a one-byte buffer overflow. > Try the attached patch to see if that fixes it (it fixes things > in my testing). > Oops. Please ignore my last message. Your fix works just fine... I had some code to automatically kill my process after it got an upload >1MB, i

Re: Apache::Request and memory

2000-06-24 Thread Jeremy Howard
<...Problem with patch to fix memory blow-out with file uploads...> > Okay, I think I tracked this down to a one-byte buffer overflow. > Try the attached patch to see if that fixes it (it fixes things > in my testing). > Thanks--certainly an improvement. I tried a 25k file, which worked fine. How

Re: Apache::Request and memory

2000-06-24 Thread Jim Winstead
Okay, I think I tracked this down to a one-byte buffer overflow. Try the attached patch to see if that fixes it (it fixes things in my testing). Unfortunately, the overflow seemed to sneak through with no problems on FreeBSD, and on Linux if you compile with -g. Jim On Jun 24, dorian wrote: > b

Re: Apache::Request and memory

2000-06-24 Thread dorian
breaks for me too. null byte issue maybe? i don't know. i can't write c. :) .djt

Re: Apache::Request and memory

2000-06-23 Thread Jeremy Howard
> Attached is a patch to libapreq that addresses this problem. > <...> Thanks for this, Jim. Unfortunately, I'm having some problems with the patch. When I try and upload a file greater than a couple of k, I get a segfault in httpd. Could you possibly email me your current working libapreq sourc

Re: Apache::Request and memory

2000-06-23 Thread Matt Sergeant
On Thu, 22 Jun 2000, Jim Winstead wrote: > Attached is a patch to libapreq that addresses this problem. Question for Doug, Can we get libapreq 0.32 out any time soon? There are some pretty nasty bugs in 0.31 that I'm waiting to get fixed. (the null cookies problem, this problem, the form charse

Re: Apache::Request and memory

2000-06-22 Thread Jim Winstead
Attached is a patch to libapreq that addresses this problem. (Doug, this may be updated since we last sent you this patch to resolve issues with IE 4.5 on the Mac, which doesn't terminate the MIME boundary correctly when there are fields in a multipart/form-data form.) Jim On Jun 21, dorian wr

Re: Apache::Request->new($r) does NOT work, why?

2000-04-30 Thread Tobias Hoellrich
At 02:04 PM 4/30/00 -0400, Sam Carleton wrote: >Tobias, > >The new is blowing up on me. This is the error message: > >null: Can't locate object method "new" via package "Apache::Request" Try installing it :-) $ perl -MCPAN -e shell cpan> install Apache::Request Tobias PS: Pl

Re: detecting fd leaks (was Re: Apache::Request)

2000-04-20 Thread Stas Bekman
On Thu, 20 Apr 2000, Doug MacEachern wrote: > On Thu, 13 Apr 2000, Stas Bekman wrote: > > > > I have no real conclusion to reach, except that it seems to be leaking > > > files. > > > > Well, I wanted to write Apache::FileLeak or an extension to > > Apache::VMonitor to show the opened file desc

Re: detecting fd leaks (was Re: Apache::Request)

2000-04-20 Thread Doug MacEachern
On Thu, 13 Apr 2000, Stas Bekman wrote: > > I have no real conclusion to reach, except that it seems to be leaking > > files. > > Well, I wanted to write Apache::FileLeak or an extension to > Apache::VMonitor to show the opened file descriptors, the files and the > processes that have opened the

detecting fd leaks (was Re: Apache::Request)

2000-04-13 Thread Stas Bekman
> I have no real conclusion to reach, except that it seems to be leaking > files. Well, I wanted to write Apache::FileLeak or an extension to Apache::VMonitor to show the opened file descriptors, the files and the processes that have opened them, but this requires a root access unless you want to

Re: Apache::Request

2000-04-13 Thread John S. Evans
Thanks for the advice so far! If you have better instructions 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: mod

Re: Apache::Request

2000-04-12 Thread Doug MacEachern
On Tue, 11 Apr 2000, John S. Evans wrote: > I'm using Solaris (SunOS 5.7, according to uname). > > The number of files varies, and I can control this if I know what the limits > are. Is the 256 limit per process or for the entire machine? For instance, > if I have 10 apache children going full

Re: Apache::Request

2000-04-12 Thread Michael hall
On Tue, Apr 11, 2000 at 11:52:44PM -0700, John S. Evans wrote: > 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"? 'LiSt Open Files', its really a handy tool for diagnos

Re: Apache::Request

2000-04-11 Thread John S. Evans
00 21:26:19 -0700 (PDT) > To: "John S. Evans" <[EMAIL PROTECTED]> > Cc: modperl <[EMAIL PROTECTED]> > Subject: Re: Apache::Request > > On Mon, 10 Apr 2000, John S. Evans wrote: > >> I'm looking for some help/advice with Apache::Request. I'm cu

Re: Apache::Request

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, John S. Evans wrote: > 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. how many files? what os are you using? solaris has a 256 limit. > The problem I

Re: Apache::Request weirdness

2000-02-08 Thread Kevin Murphy
Ilya Obshadko wrote: > > Hello, > > I've discovered the following. Suggest that you use Apache::Request > object in both fixup handler and registry script. So we have: > > 1) unpredictable segmentation faults I had the same problem. I think there must be some problems in libapreq (whic