From f2778c0729b725155de0122efdaf7a1112f1dabe Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 10 Mar 2019 16:07:48 -0700 Subject: [PATCH] debian 9 unittest build fix --- README.md | 3 +++ test/IXSocketTest.cpp | 1 + 2 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 1fa20407..6ab3d73c 100644 --- a/README.md +++ b/README.md @@ -77,7 +77,10 @@ server.setOnConnectionCallback( if (messageType == ix::WebSocket_MessageType_Open) { std::cerr << "New connection" << std::endl; + + // The uri the client did connect to. std::cerr << "Uri: " << openInfo.uri << std::endl; + std::cerr << "Headers:" << std::endl; for (auto it : openInfo.headers) { diff --git a/test/IXSocketTest.cpp b/test/IXSocketTest.cpp index 950de007..a024d999 100644 --- a/test/IXSocketTest.cpp +++ b/test/IXSocketTest.cpp @@ -18,6 +18,7 @@ #include "IXTest.h" #include "catch.hpp" +#include using namespace ix;