mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00:00
compatibility with VS2013
This commit is contained in:
parent
92eb048adb
commit
d8fb0a23c8
10
SOCKS.cpp
10
SOCKS.cpp
@ -10,8 +10,8 @@ namespace i2p
|
|||||||
{
|
{
|
||||||
namespace proxy
|
namespace proxy
|
||||||
{
|
{
|
||||||
constexpr uint8_t socks_leaseset_timeout = 10;
|
const uint8_t socks_leaseset_timeout = 10;
|
||||||
constexpr uint8_t socks_timeout = 60;
|
const uint8_t socks_timeout = 60;
|
||||||
|
|
||||||
void SOCKS4AHandler::AsyncSockRead()
|
void SOCKS4AHandler::AsyncSockRead()
|
||||||
{
|
{
|
||||||
@ -80,9 +80,9 @@ namespace proxy
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr size_t socks_hostname_size = 1024;
|
const size_t socks_hostname_size = 1024;
|
||||||
constexpr size_t socks_ident_size = 1024;
|
const size_t socks_ident_size = 1024;
|
||||||
constexpr size_t destb32_len = 52;
|
const size_t destb32_len = 52;
|
||||||
|
|
||||||
void SOCKS4AHandler::HandleSockForward(const boost::system::error_code & ecode, std::size_t len)
|
void SOCKS4AHandler::HandleSockForward(const boost::system::error_code & ecode, std::size_t len)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user