Skip to content

Commit

Permalink
ssh/Input: add API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxKellermann committed Jul 3, 2024
1 parent 9fbab61 commit 0b1a12e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/ssh/Input.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ class Input final : ThreadJob {
*/
std::mutex mutex;

std::exception_ptr error;

/**
* Raw input from the socket. It may need to be decrypted.
*/
Expand All @@ -75,6 +73,12 @@ class Input final : ThreadJob {
*/
BufferList decrypted_list;

/**
* An error caught inside of Run() which will be rethrown to
* the main thread by ReadPacket().
*/
std::exception_ptr error;

bool encrypted = false;

/**
Expand Down

0 comments on commit 0b1a12e

Please sign in to comment.