perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Morgan <dave.mor...@coolplaces.ca>
Subject Connection aborted was ModPerl::Util::exit: (120000) exit was called at /usr/share/perl5/CGI/Carp.pm line 590
Date Wed, 14 Nov 2012 17:18:27 GMT
-------- Original Message --------

Thank you Andre,

On 31/10/12 01:58 PM, André Warnier wrote:
 > Dave Morgan wrote:
 >> How do I find out where the following call(s) are made from?
 >
 > See http://search.cpan.org/~dom/perl-5.14.3/lib/Carp.pm
 > or by including the string -MCarp=verbose in the PERL5OPT environment variable.

 > Exactly what I was looking for

However, the above did not help as the call was to Carp::fatalstobrowser.
We did find the use statement and removed it. We now get

Software caused connection abort at /home/apache/metapoint/trunk/Utility.pm line 231.

This only happens when the client is IE. From searching the net it appears to be something
to do with the http header not quite right. The code is quite simple:

print $CGI->header( $header_info_ref );
print $response;

Running curl provides the following output

[webadmin@web001 perl]$ curl -v 'http://www.coolplaces.ca/index.pl/Whitehorse' --raw
* About to connect() to www.coolplaces.ca port 80 (#0)
*   Trying 69.90.118.205... connected
* Connected to www.coolplaces.ca (69.90.118.205) port 80 (#0)
 > GET /index.pl/Whitehorse HTTP/1.1
 > User-Agent: curl/7.19.7 (i386-redhat-linux-gnu) libcurl/7.19.7 NSS/3.13.1.0 zlib/1.2.3
libidn/1.18 libssh2/1.2.2
 > Host: www.coolplaces.ca
 > Accept: */*
 >
< HTTP/1.1 200 OK
< Date: Wed, 14 Nov 2012 17:03:17 GMT
< Server: Apache
< Expires: Tue, 15 Nov 2011 17:03:17 GMT
< Pragma: no-cache
< Set-Cookie: sessionid=jHZgBLBfavSyJcZMIaz; path=/; expires=Mon, 13-May-2013 17:03:17
GMT
< Transfer-Encoding: chunked
< Content-Type: text/html; charset=iso-8859-1
<
55f2
<!-- BEGIN portal_chooser.tt2 -->
         <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" xml:lang="en"
lang="en">

The only thing I can see is a line feed before the chunk size but I do not know if this is
the
issue or if so how to remove it. Any ideas?

TIA
Dave


-- 
Dave Morgan
Operations Manager, Cool Places In Canada
http://www.coolplaces.ca
dave.morgan@coolplaces.ca
403 288 8759 / 866 938 0516

-- 
Dave Morgan
Operations Manager, Cool Places In Canada
http://www.coolplaces.ca
dave.morgan@coolplaces.ca
403 288 8759 / 866 938 0516

Mime
View raw message