summaryrefslogtreecommitdiff
path: root/src/server.cc
diff options
context:
space:
mode:
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);