mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-18 15:14:10 +01:00
Fixes #658 by adding a 250ms sleep to the dispatch of the close call.
git-svn-id: file:///home/svn/framework3/trunk@7934 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
5c5815cdde
commit
489c5adb98
@ -100,6 +100,9 @@ static DWORD tcp_channel_client_local_notify(Remote *remote,
|
|||||||
// Set the native channel operations context to NULL
|
// Set the native channel operations context to NULL
|
||||||
channel_set_native_io_context(ctx->channel, NULL);
|
channel_set_native_io_context(ctx->channel, NULL);
|
||||||
|
|
||||||
|
// Sleep for a quarter second
|
||||||
|
Sleep(250);
|
||||||
|
|
||||||
// Free the context
|
// Free the context
|
||||||
free_tcp_client_context(ctx);
|
free_tcp_client_context(ctx);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user