Skip to content

Commit

Permalink
PERL_SET_CONTEXT
Browse files Browse the repository at this point in the history
  • Loading branch information
spiritloose committed Oct 3, 2009
1 parent 22e6f5a commit 5b66763
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mod_psgi.c
Expand Up @@ -479,6 +479,8 @@ static int psgi_handler(request_rec *r)
"PSGIApp not configured"); "PSGIApp not configured");
return DECLINED; return DECLINED;
} }

PERL_SET_CONTEXT(perlinterp);
app = apr_hash_get(app_mapping, c->file, APR_HASH_KEY_STRING); app = apr_hash_get(app_mapping, c->file, APR_HASH_KEY_STRING);
if (app == NULL) { if (app == NULL) {
app = load_psgi(r->pool, c->file); app = load_psgi(r->pool, c->file);
Expand Down

0 comments on commit 5b66763

Please sign in to comment.