summaryrefslogtreecommitdiffabout
path: root/include/kingate/fastcgi.h
authorMichael Krelin <hacker@klever.net>2005-07-04 18:08:49 (UTC)
committer Michael Krelin <hacker@klever.net>2005-07-04 18:08:49 (UTC)
commitc8bcbfb951eec5fe14dac0b14f4faaf4a9f9f229 (patch) (side-by-side diff)
tree60d24c0465cd57c839fa46de97cc35e59cc5b535 /include/kingate/fastcgi.h
parent43d47575878e4eaf3c8da84bf609fcd0bde595fb (diff)
downloadkingate-c8bcbfb951eec5fe14dac0b14f4faaf4a9f9f229.zip
kingate-c8bcbfb951eec5fe14dac0b14f4faaf4a9f9f229.tar.gz
kingate-c8bcbfb951eec5fe14dac0b14f4faaf4a9f9f229.tar.bz2
added buffers to fastcgi streambufs. It gains compatibility with normal streambuf manipulations at the cost of performance (according to comments in fcgi devkit). The performance lost should not be disastrous, though.
Diffstat (limited to 'include/kingate/fastcgi.h') (more/less context) (ignore whitespace changes)
-rw-r--r--include/kingate/fastcgi.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/kingate/fastcgi.h b/include/kingate/fastcgi.h
index fd293b9..6f136b3 100644
--- a/include/kingate/fastcgi.h
+++ b/include/kingate/fastcgi.h
@@ -43,2 +43,7 @@ namespace kingate {
/**
+ * buffer for sbin
+ * @see sbin
+ */
+ char buf_sbin[512];
+ /**
* stdin fcgi streambuf.
@@ -47,2 +52,7 @@ namespace kingate {
/**
+ * buffer for sbout
+ * @see sbout
+ */
+ char buf_sbout[512];
+ /**
* stdout fcgi streambuf.
@@ -51,2 +61,7 @@ namespace kingate {
/**
+ * buffer for sberr
+ * @see sberr
+ */
+ char buf_sberr[512];
+ /**
* stderr fcgi streambuf.