I think if this call fails
if (Tcl_EvalObjEx(interp, request_init, 0) == TCL_ERROR)
{
ap_log_error(APLOG_MARK, APLOG_ERR, APR_EGENERAL, r->server,
MODNAME ": Could not create request namespace\n");
retval = HTTP_BAD_REQUEST;
goto sendcleanup;
}
it should return an HTTP_INTERNAL_SERVER_ERROR. The value returned by
the call is not strictly related to the way the request has been built,
sent over and then manipulated by the server. It just signals that a
(trivial) Tcl script has failed whereas it should have not. It surfaced
when experimenting with the worker MPM.
Since Tcl_EvalObJEx sets the result in the Tcl interpreter also the
reason of the error could be printed.
-- Massimo
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]