diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-05-10 00:00:23 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-05-10 00:00:23 +0900 |
| commit | 82ba00320923319943cfb79282ada5aaad4d5334 (patch) | |
| tree | 15784f385686810aca982db1f8c8413ac7ac3348 /src/InitiateConnectionCommandFactory.cc | |
| parent | 4654f1974a5faa832518ba3875ecb3e77224e656 (diff) | |
Add basic ssh/sftp code to SocketCore and introduce SSHSession
We use libssh2 to implement sftp feature. SSHSession is closely
designed to TLSSession, but it differs in several aspects. In this
code, we only implements read part of sftp, since aria2 won't offer
uploading feature. Adding SSH/sftp to SocketCore is a bit bloat. But
by doing this we can reuse DownloadCommand, without mostly no
modification. We can just create SSHDownloadCommand by inheriting it,
just like existing ftp.
Diffstat (limited to 'src/InitiateConnectionCommandFactory.cc')
0 files changed, 0 insertions, 0 deletions
