Skip to content

Commit

Permalink
Update src/libstore/legacy-ssh-store.cc
Browse files Browse the repository at this point in the history
Co-authored-by: Robert Hensing <[email protected]>
  • Loading branch information
Ericson2314 and roberth authored Jan 19, 2024
1 parent e6d7ee3 commit c7f3798
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/libstore/legacy-ssh-store.cc
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,7 @@ ref<LegacySSHStore::Connection> LegacySSHStore::openConnection()
conn->remoteVersion = ServeProto::BasicClientConnection::handshake(
conn->to, tee, SERVE_PROTOCOL_VERSION, host);
} catch (SerialisationError & e) {
/* In case the other side is waiting for our input,
close it. */
// in.close(): Don't let the remote block on us not writing.
conn->sshConn->in.close();
{
NullSink nullSink;
Expand Down

0 comments on commit c7f3798

Please sign in to comment.