aboutsummaryrefslogtreecommitdiffstats
path: root/slowcgi.c
diff options
context:
space:
mode:
authormillert2015-09-25 20:15:28 +0000
committerWynn Wolf Arbor2020-05-24 12:33:55 +0200
commit9acc483489d3549a9aad2da82a13138abb0f1a7a (patch)
treed68186f87ed4aae531f33eb6f001b1362131dc85 /slowcgi.c
parentadfa6942bec54752c80cf8c6e36643b86f63227a (diff)
downloadslowcgi-9acc483489d3549a9aad2da82a13138abb0f1a7a.tar.gz
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 'slowcgi.c')
-rw-r--r--slowcgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/slowcgi.c b/slowcgi.c
index 4fc2501..3ba5d06 100644
--- a/slowcgi.c
+++ b/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++;
}
}