Package: libhtml-mason-perl
Version: 1:1.39-1
Severity: normal

When the HTTP client aborts the connection, Apache2::RequestIO will
throw an exception (ECONNABORTED), thus causing Mason to die.  And since
we've set up a handler that reports any Mason error, that means we get a
new bug report opened each time somebody clicks on the stop icon.  :(

As a cheap hack, I've wrapped lines 1025-1026 of
HTML::Mason::ApacheHandler.pm within an eval (wrapping the call to
$out_method didn't work, no idea why), which mostly does the trick.
(I'm sure there are other calls to print() out there, but I haven't seen
one fail so far.)


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.29.6 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to