Commit e0082e3
fix: add _readableState.ended to net.Socket stub for ssh2 compatibility
Fixes #71
ssh2's isWritable() checks stream._readableState.ended === false.
Since the bridged net.Socket _readableState stub was missing the 'ended'
property, ssh2 treated all sockets as non-writable and never sent
handshake packets.1 parent 5694e18 commit e0082e3
1 file changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1991 | 1991 | | |
1992 | 1992 | | |
1993 | 1993 | | |
1994 | | - | |
| 1994 | + | |
1995 | 1995 | | |
1996 | 1996 | | |
1997 | 1997 | | |
| |||
4988 | 4988 | | |
4989 | 4989 | | |
4990 | 4990 | | |
4991 | | - | |
| 4991 | + | |
4992 | 4992 | | |
4993 | 4993 | | |
4994 | 4994 | | |
| |||
8651 | 8651 | | |
8652 | 8652 | | |
8653 | 8653 | | |
8654 | | - | |
| 8654 | + | |
8655 | 8655 | | |
8656 | 8656 | | |
8657 | 8657 | | |
| |||
0 commit comments