forked from cat/WebBase
Fixed webkit issue, removed getlineAndCount, default is 0.0.0.0 now, AI aided on header processing rewrite
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#define IP "127.0.0.1"
|
||||
#define IP "0.0.0.0"
|
||||
#define PORT 8000
|
||||
using asocket = asio::ip::tcp::socket;
|
||||
using asocket_ptr = std::shared_ptr<asocket>;
|
||||
@@ -43,9 +43,7 @@ private:
|
||||
// Breaking Header to in lines
|
||||
void processHTTPHeader();
|
||||
void inline processArgs();
|
||||
void inline processHeaderValues(std::basic_istream<char> &stream,
|
||||
std::size_t &octetCount,
|
||||
std::size_t headerSize);
|
||||
void inline processHeaderValues(std::basic_istream<char> &stream);
|
||||
void inline processBody();
|
||||
|
||||
// Networking
|
||||
|
Reference in New Issue
Block a user