mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-27 11:17:49 +02:00
* HTTPServer.{cpp,h}: extract itoopie{Image,Favicon} from HTTPConnection (!) class
This commit is contained in:
parent
7a461c1684
commit
6ed709d6e6
2 changed files with 8 additions and 6 deletions
|
@ -5,6 +5,8 @@ namespace i2p
|
|||
{
|
||||
namespace util
|
||||
{
|
||||
extern const char *itoopieImage;
|
||||
extern const char *itoopieFavicon;
|
||||
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>
|
||||
|
@ -93,8 +95,6 @@ namespace util
|
|||
|
||||
public:
|
||||
|
||||
static const std::string itoopieImage;
|
||||
static const std::string itoopieFavicon;
|
||||
};
|
||||
|
||||
class HTTPServer
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue