lots of misc fixes, mostly broadcast server related

This commit is contained in:
Peter Thorson
2011-12-21 08:23:03 -06:00
parent 3405a91e56
commit 4d03909d58
18 changed files with 898 additions and 621 deletions

View File

@@ -30,7 +30,6 @@
#include "processor.hpp"
#include "../md5/md5.h"
#include "../md5/md5.hpp"
#include "../network_utilities.hpp"
@@ -74,7 +73,8 @@ public:
memcpy(&key_final[8],request.header("Sec-WebSocket-Key3").c_str(),8);
// md5
m_key3 = md5_hash_string(key_final);
m_key3 = key_final;
m_key3 = md5_hash_string(m_key3);
response.add_header("Upgrade","websocket");
response.add_header("Connection","Upgrade");