Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix metasploit-framework#15968 (Multiple Socket Abstraction Bugs) #20

Merged
merged 3 commits into from
Jan 26, 2022

Commits on Jan 26, 2022

  1. Wait for the monitor thread before closing

    The monitor thread will notice that the lsock has been closed so wait
    for it to exit after processing all of the data that needed to be sent.
    zeroSteiner committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    ee9e212 View commit details
    Browse the repository at this point in the history
  2. fd isn't always defined

    zeroSteiner committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    846bfd2 View commit details
    Browse the repository at this point in the history
  3. Force the monitor thread to close the rsock

    This means that if the rsock is closed from another thread like a DIO
    handler that the monitor thread can ensure that it has processed all
    data before closing it.
    zeroSteiner committed Jan 26, 2022
    Configuration menu
    Copy the full SHA
    caa6027 View commit details
    Browse the repository at this point in the history