summaryrefslogtreecommitdiffabout
authorMichael Krelin <hacker@klever.net>2007-01-03 00:57:27 (UTC)
committer Michael Krelin <hacker@klever.net>2007-01-03 00:57:27 (UTC)
commitf114b9ea0a5cb03d0e9d411090026774d6df44bf (patch) (unidiff)
tree71bc93466d7789b34c14f3639a515fdcf40c2f2d
parent555ef5892cba60983f45fea6e6bbb3c3ce2f8532 (diff)
downloadsitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.zip
sitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.tar.gz
sitecing-f114b9ea0a5cb03d0e9d411090026774d6df44bf.tar.bz2
added request serial tracking to sitecing_interface
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--configure.ac2
-rw-r--r--include/sitecing/sitecing_interface.h6
-rw-r--r--lib/Makefile.am2
-rw-r--r--src/sitecing-fastcgi.cc1
4 files changed, 8 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index fde326b..bb1557a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1,2 +1,2 @@
1AC_INIT([sitecing], [0.0.1], [sitecing-bugs@klever.net]) 1AC_INIT([sitecing], [0.0.2], [sitecing-bugs@klever.net])
2AC_CONFIG_SRCDIR([include/sitecing/sitecing_parser.h]) 2AC_CONFIG_SRCDIR([include/sitecing/sitecing_parser.h])
diff --git a/include/sitecing/sitecing_interface.h b/include/sitecing/sitecing_interface.h
index 0cba2bb..f0210d6 100644
--- a/include/sitecing/sitecing_interface.h
+++ b/include/sitecing/sitecing_interface.h
@@ -25,2 +25,6 @@ namespace sitecing {
25 ostream *out; 25 ostream *out;
26 /**
27 * Serial number of request being processed.
28 */
29 long serial;
26 30
@@ -29,3 +33,3 @@ namespace sitecing {
29 */ 33 */
30 sitecing_interface() : out(0) {} 34 sitecing_interface() : out(0), serial(0) {}
31 /** 35 /**
diff --git a/lib/Makefile.am b/lib/Makefile.am
index 53d8182..496177b 100644
--- a/lib/Makefile.am
+++ b/lib/Makefile.am
@@ -21,2 +21,2 @@ libsitecing_la_SOURCES = \
21libsitecing_la_LDFLAGS = \ 21libsitecing_la_LDFLAGS = \
22 -version-info 1:0:0 22 -version-info 2:0:0
diff --git a/src/sitecing-fastcgi.cc b/src/sitecing-fastcgi.cc
index 57aba60..4768e8f 100644
--- a/src/sitecing-fastcgi.cc
+++ b/src/sitecing-fastcgi.cc
@@ -165,2 +165,3 @@ void sitecing_fastcgi_pm::process(int slot) {
165 cgi_gateway gw(fi); 165 cgi_gateway gw(fi);
166 ++scif.serial;
166 scif.prepare(&gw); 167 scif.prepare(&gw);