2
0
Fork 0

[mod_fastcgi] show stderr messages

personal/stbuehler/wip
Stefan Bühler 2013-05-25 12:29:04 +02:00
parent 018baa0375
commit 0ff0df8e12
1 changed files with 5 additions and 1 deletions

View File

@ -699,7 +699,11 @@ static void fastcgi_decode(liFastCGIBackendContext *ctx) {
li_chunkqueue_skip(in, len);
ctx->remainingContent -= len;
/* TODO: callback(errormsg) */
if (NULL != ctx->currentcon) {
const liFastCGIBackendCallbacks *callbacks = ctx->pool->callbacks;
callbacks->fastcgi_stderr_cb(ctx->currentcon->vr, &ctx->pool->public, &ctx->currentcon->public, errormsg);
}
g_string_free(errormsg, TRUE);
}
break;