Added windows support. Updated build system.

CMake build system builds as a library, not an executable now.

Windows is now supported and should work fine.
This commit is contained in:
Cloaked9000
2016-12-19 12:10:39 +00:00
parent 9479029c87
commit 2de9540819
27 changed files with 141 additions and 63 deletions
+2 -2
View File
@@ -3,7 +3,7 @@
//
#include <iostream>
#include "HttpResponse.h"
#include "frnetlib/HttpResponse.h"
namespace fr
{
@@ -70,7 +70,7 @@ namespace fr
//Add in required headers if they're missing
if(headers.find("Connection") == headers.end())
response += "Connection: close\r\n";
response += "Connection: close_socket\r\n";
if(headers.find("Content-type") == headers.end())
response += "Content-type: text/html\r\n";