[hunchentoot-devel] patch for fixing abort-request-handler's use of handler-done tag

Gordon Sims gbs at google.com
Wed Dec 7 16:16:23 UTC 2011


Here's a patch that changes abort-request-handler's use of
handler-done tag to be consistent with the catch of it (and also
consistent with the throw in handle-request).  Before this patch is
applied, using abort-request-handler causes this response, note there
is no error message or backtrace.

<html>
  <head>
    <title>Internal Server Error</title>
  </head>
  <body>
    <h1>Internal Server Error</h1>
    An error occured while processing your
/stat/config/monitor.debug.eval.enabled request.
    <hr/>
    <h1>Error Message</h1>
<pre>ERROR</pre>
    <h1>Backtrace</h1>
<pre>BACKTRACE</pre>
    <hr/>
<a href="http://weitz.de/hunchentoot">Hunchentoot</a> 1.2.0 running on
Clozure Common Lisp Version 1.7-r15010M  (LinuxX8664)
    <hr/>
    <img src="/img/made-with-lisp-logo.jpg" width="300" height="100"/>
  </body>
</html>

After patch applied, error message and backtrace appear in the HTTP
500 response.

-Gordon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: abort-request-handler.patch
Type: text/x-patch
Size: 582 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20111207/f88e8a7b/attachment.bin>


More information about the Tbnl-devel mailing list