On May 3, 2007, at 9:44 PM, Joe Schaefer wrote:

The "Unknown Error" string is operating system dependent. On
my linux box it would be reported as "Success", since the error
code in any case is 0.  "Missing input data" comes from the
apreq ala APR::Request::Error::NODATA, and counts as a trivial
error (since there's nothing to parse).  FWIW, here's the
code for apreq_module_status_is_error:

Ok.  that answers a ton.

Word-for-word, that should be in the PerlGlue docs.

static APR_INLINE
unsigned apreq_module_status_is_error(apr_status_t s) {
==snip==
Everything else triggers a die in $req->args or $req->body.
Perhaps we should expose that function in the perl glue?

yeah - that would be great. that has been what is so confusing about the perl glue -- its really hard to tell when an error is really an error.

Reply via email to