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:
parent
fa0d3fc95c
commit
83f82f3129
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user