summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
authordeva <deva>2005-09-18 12:52:16 +0000
committerdeva <deva>2005-09-18 12:52:16 +0000
commita37c83d8c536ef6dd53b130e92022b04e8559f5b (patch)
treefd08ba4bb2c339b4998437e43d620083c33cf60a /src/server.cc
parentc5ab3a0ea0dfe35dd1927c2ca3c9f27be9db2ebd (diff)
*** empty log message ***
Diffstat (limited to 'src/server.cc')
-rw-r--r--src/server.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/server.cc b/src/server.cc
index bdca907..892b2e9 100644
--- a/src/server.cc
+++ b/src/server.cc
@@ -56,6 +56,9 @@
void newConnection(Socket *socket, Info *info)
{
+ // We need to create the end of stream frame.
+ if(endOfFrameStream == NULL) endOfFrameStream = new Frame(NULL, 1);
+
char cpr[256];
bool hasCpr = false;
ServerStatus status(info);