|
|
@ -6,7 +6,6 @@ namespace http { |
|
|
|
extern const char *itoopieImage; |
|
|
|
extern const char *itoopieImage; |
|
|
|
extern const char *itoopieFavicon; |
|
|
|
extern const char *itoopieFavicon; |
|
|
|
const size_t HTTP_CONNECTION_BUFFER_SIZE = 8192; |
|
|
|
const size_t HTTP_CONNECTION_BUFFER_SIZE = 8192; |
|
|
|
const int HTTP_DESTINATION_REQUEST_TIMEOUT = 10; // in seconds
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class HTTPConnection: public std::enable_shared_from_this<HTTPConnection> |
|
|
|
class HTTPConnection: public std::enable_shared_from_this<HTTPConnection> |
|
|
|
{ |
|
|
|
{ |
|
|
@ -59,9 +58,6 @@ namespace http { |
|
|
|
protected: |
|
|
|
protected: |
|
|
|
|
|
|
|
|
|
|
|
virtual void RunRequest (); |
|
|
|
virtual void RunRequest (); |
|
|
|
|
|
|
|
|
|
|
|
public: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|
class HTTPServer |
|
|
|
class HTTPServer |
|
|
|