Fixes #2984 by taking a 1/8th of a second nap.

git-svn-id: file:///home/svn/framework3/trunk@10733 4d416f70-5f16-0410-b530-b9f4589650da
unstable
Tod Beardsley 2010-10-18 21:08:48 +00:00
parent 9ca53619f2
commit a7a769c443
1 changed files with 1 additions and 0 deletions

View File

@ -29,6 +29,7 @@ module FrameworkEventManager
# Called when a session is registered with the framework.
#
def on_session_open(session)
select(nil,nil,nil,0.125) # Give the session time enough to register itself properly.
output.print_status("#{session.desc} session #{session.name} opened (#{session.tunnel_to_s}) at #{Time.now}")
if (Msf::Logging.session_logging_enabled? == true)
Msf::Logging.start_session_log(session)