Ok; I have generated a semi-self-contained Apache-test that will produce
this error.

This only happens on an SSL-enabled server

I was't able to get the alarm block working, but we can work around that
by starting the test, sleeping for a minute or so, and then in another
shell getting the url and ctrl-c'ing before the transfer completes.

in one shell
# make test TEST_VERBOSE=1

once the server starts, in another shell:
#  curl -o /tmp/curl.out https://127.0.0.1:8530/handler

here's the apache test file

Jeff

-----Original Message-----
From: Stas Bekman [mailto:[EMAIL PROTECTED]
Sent: Wednesday, August 04, 2004 11:45 PM
To: Jeff Finn
Cc: [EMAIL PROTECTED]
Subject: Re: ModPerl::Registry: Software caused connection abort


Jeff Finn wrote:
> I'm joining this thread a little late, but I just noticed I have a similar
> problem to this with Apache 2.0.49/50 and mp1.99_14.
>
> I have the server set up for responses to pass thru a filter:
>
> PerlOutputFilterHandler Apache::FileProtector::output
>
> When I use curl to access the server and hit ctrl-c during the data xfer,
> I get a message in the error log:
>
> [Wed Aug 04 22:17:34 2004] [error] [client 192.168.123.32] Software caused
> connection abort at /usr/webstoreit/perl/Apache/FileProtector.pm line
61.\n
> Software caused connection abort.
>
> I didn't notice this behavior with previous versions of Apache 2.
>
> i'm not sure how to go about working around this problem, does
> anyone have some suggestions?

Yes, they should be internal to mod_perl. Give us a self contained
Apache-Test test that we can reproduce the problem with and we will find
some good solution for it. Please use:
http://apache.org/~geoff/Apache-Test-skeleton-mp2.tar.gz
As suggested before you should be able to emulate Ctrl-C with alarm
block. Please make it as simple as possible. Thanks.

--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Attachment: SoftwareCausedConnectionAbortMP2.tar.gz
Description: GNU Zip compressed data

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to