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

Add ssh2_send_eof function #45

Merged
merged 2 commits into from
Dec 31, 2020
Merged

Commits on Oct 30, 2020

  1. Add ssh2_send_eof function

    Without this, you can't close the standard input stream without
    also closing the standard output stream. One can try to redirect
    standard output to error, but having a reference on the error
    stream keeps a reference on the stdio stream, so closing stdio
    won't decrement the reference count enough to actually close
    the stream.
    
    This makes it possible to use programs over SSH that take their
    input over standard input without any temporary files, and get the
    output back over standard output.
    NattyNarwhal committed Oct 30, 2020
    Configuration menu
    Copy the full SHA
    67cb5c9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ec2b76 View commit details
    Browse the repository at this point in the history