1
mirror of https://github.com/rapid7/metasploit-payloads synced 2025-01-14 17:37:27 +01:00

Adjust http func pointer type, adjust poll timeout

This commit is contained in:
OJ 2015-04-17 19:58:24 +10:00
parent fa0d3fc95c
commit 83f82f3129
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ typedef DWORD(*PPacketReceive)(Remote* remote, Packet** packet);
typedef Transport*(*PTransCreateTcp)(STRTYPE url, TimeoutSettings* timeouts);
typedef Transport*(*PTransCreateHttp)(BOOL ssl, STRTYPE url, STRTYPE ua, STRTYPE proxy,
STRTYPE proxyUser, STRTYPE proxyPass, STRTYPE certHash, TimeoutSettings* timeouts);
STRTYPE proxyUser, STRTYPE proxyPass, BYTE* certHash, TimeoutSettings* timeouts);
typedef struct _TimeoutSettings
{

View File

@ -616,7 +616,7 @@ static DWORD server_dispatch_tcp(Remote* remote, THREAD* dispatchThread)
break;
}
result = server_socket_poll(remote, 500000);
result = server_socket_poll(remote, 50000);
if (result > 0)
{
result = remote->transport->packet_receive(remote, &packet);