Jeff Finn wrote:
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

For some reason that doesn't work for me, I get: curl -o /tmp/curl.out https://localhost:8530/handler curl: (60) SSL certificate problem, verify that the CA cert is OK

More details here: http://curl.haxx.se/docs/sslcerts.html

curl performs SSL certificate verification by default, using a "bundle"
 of Certificate Authority (CA) public keys (CA certs). The default
 bundle is named curl-ca-bundle.crt; you can specify an alternate file
 using the --cacert option.
If this HTTPS server uses a certificate signed by a CA represented in
 the bundle, the certificate verification probably failed due to a
 problem with the certificate (it might be expired, or the name might
 not match the domain name in the URL).
If you'd like to turn off curl's verification of the certificate, use
 the -k (or --insecure) option.

If I use -k, and abort curl in the middle I get:

[Mon Aug 09 00:38:55 2004] [info] (32)Broken pipe: core_output_filter: writing data to the network.

which is related, but not what you get. In my case I always get the core output filter reports about the broken pipe.

The components I'm using:

[Mon Aug 09 00:44:01 2004] [notice] Apache/2.0.51-dev (Unix) mod_perl/1.99_15-dev Perl/v5.8.5 mod_ssl/2.0.51-dev OpenSSL/0.9.7c DAV/2 configured -- resuming normal operations


Any difference if you eval $r->print in the response handler in the tar ball you've supplied?


  use APR::Error;
  use APR::Const     -compile => qw(ECONNABORTED);
  ...
  foreach (1..(2**20)) {
    eval { $r->print('01234567890abcdef') };
    if ($@) {
        if ($@ == APR::ECONNABORTED) {
            # silently ignore client connection abort
        }
        else die $@;
    }
   }
--
__________________________________________________________________
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



Reply via email to