diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2015-09-25 20:15:29 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2015-09-25 20:15:29 +0000 |
commit | c7c27e189cb11e9180063b785505d68d637a2375 (patch) | |
tree | 4a2aa5b3dba74912a4ce6be79d29c92c867a48f3 /usr.sbin/slowcgi | |
parent | 26725d9ca6cae898cbd8577012a530d66b60600b (diff) |
Output the contents of the environment in debug mode which is
most helpful in debugging interactions between httpd and slowcgi.
OK florian@
Diffstat (limited to 'usr.sbin/slowcgi')
-rw-r--r-- | usr.sbin/slowcgi/slowcgi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/slowcgi/slowcgi.c b/usr.sbin/slowcgi/slowcgi.c index 4fc250154e1..3ba5d066391 100644 --- a/usr.sbin/slowcgi/slowcgi.c +++ b/usr.sbin/slowcgi/slowcgi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: slowcgi.c,v 1.44 2015/01/22 18:22:27 florian Exp $ */ +/* $OpenBSD: slowcgi.c,v 1.45 2015/09/25 20:15:28 millert Exp $ */ /* * Copyright (c) 2013 David Gwynne <dlg@openbsd.org> * Copyright (c) 2013 Florian Obser <florian@openbsd.org> @@ -760,6 +760,7 @@ parse_params(uint8_t *buf, uint16_t n, struct request *c, uint16_t id) n -= val_len; SLIST_INSERT_HEAD(&c->env, env_entry, entry); + ldebug("env[%d], %s", c->env_count, env_entry->val); c->env_count++; } } |