Commit Graph

4850 Commits (afccc903b9b42c657994d343026b8d1a82cd9e7a)

Author SHA1 Message Date
Tatsuhiro Tsujikawa 381533e32d Add libssh2 to mingw build config 2015-05-16 21:38:53 +09:00
Tatsuhiro Tsujikawa ee12923122 Arrange #ifdef guard so that formatter does not get fooled 2015-05-16 20:58:51 +09:00
Tatsuhiro Tsujikawa c26da09687 Add --ssh-host-key-md option
Set checksum for SSH host public key.  Use same syntax with --checksum
option.  TYPE is hash type.  The supported hash type is sha-1 or
md5. DIGEST is hex digest.  For example:
sha-1=b030503d4de4539dc7885e6f0f5e256704edf4c3.  This option can be
used to validate server's public key when SFTP is used.  If this
option is not set, which is default, no validation takes place.
2015-05-16 19:43:11 +09:00
Tatsuhiro Tsujikawa 4273885f16 Document --netrc-path option 2015-05-14 21:26:38 +09:00
Tatsuhiro Tsujikawa a89c52734a Merge branch 'zi0r-master' 2015-05-14 21:21:33 +09:00
Ryan Steinmetz ceee04cfe8 Allow netrc-path to be specified in the config file 2015-05-14 21:20:11 +09:00
Tatsuhiro Tsujikawa 2a9012ab60 Merge branch 'multiSnow-master' 2015-05-14 21:15:23 +09:00
multisnow e84176d1f0 fix build error without libssh2 2015-05-14 08:44:17 +08:00
Tatsuhiro Tsujikawa 9297bc8c5c Remove a2x and asciidoc checks 2015-05-13 23:56:45 +09:00
Tatsuhiro Tsujikawa 3855205026 Exit with 32 status code if checksum verification failed 2015-05-12 23:08:10 +09:00
Tatsuhiro Tsujikawa 5100f96bfa Update doc 2015-05-12 22:52:09 +09:00
Tatsuhiro Tsujikawa 62826d691d ftp: Fix accessing first element in empty segments vector 2015-05-12 22:42:26 +09:00
Tatsuhiro Tsujikawa 5723f4211a sftp: Seek to the correct position to resume, fix slow start of transfer 2015-05-12 22:31:14 +09:00
Tatsuhiro Tsujikawa 89c1916fa5 Merge branch 'sftp' 2015-05-12 00:55:12 +09:00
Tatsuhiro Tsujikawa 2758fba10c sftp: Add SFTP and libssh2 to feature summary, and add tests 2015-05-12 00:52:50 +09:00
Tatsuhiro Tsujikawa 17a642551f sftp: Mention SFTP in README.rst; add libssh2 dependency doc 2015-05-12 00:40:59 +09:00
Tatsuhiro Tsujikawa 46595e77d7 sftp: Guard sftp code with HAVE_LIBSSH2 2015-05-12 00:37:21 +09:00
Tatsuhiro Tsujikawa 21c328fc11 sftp: Make sftp works through HTTP proxy 2015-05-12 00:32:30 +09:00
Tatsuhiro Tsujikawa d0ad7033c3 sftp: basic download works
This commits implements basic downloading feature for sftp URI.  This
includes segmented downloads, and connection (sftp session) pooling.
Download via HTTP proxy has not been implemented yet.
2015-05-12 00:31:57 +09:00
Tatsuhiro Tsujikawa 82ba003209 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.
2015-05-10 00:00:23 +09:00
Tatsuhiro Tsujikawa 4654f1974a Update sphinx_rtd_theme 2015-05-07 21:22:56 +09:00
Tatsuhiro Tsujikawa da5b925b15 Merge branch 'ITriskTI-patch-1' 2015-05-04 19:29:43 +09:00
ITriskTI 3d5b5cc0e9 Update aria2c.rst 2015-05-04 11:59:06 +03:00
Tatsuhiro Tsujikawa 1f3667a1ee Merge pull request #365 from hostmaster/dockerfile-raspberrypi
Added Dockerfile to cross complile aria2 for RaspberryPI (armhf)
2015-04-22 23:48:54 +09:00
Tatsuhiro Tsujikawa 0ab23e7a8d Document --multiple-interface option
Thic commit documents --multiple-interface option, and move option
handler for it to the place alphabetical order as we do usually
2015-04-22 22:48:49 +09:00
Igor Khomyakov e182b0e174 Added Dockerfile to cross complile aria2 for RaspberryPI (armhf) 2015-04-22 14:50:56 +03:00
Tatsuhiro Tsujikawa 3c84aa0745 Merge branch 'sarim-master' 2015-04-22 00:17:50 +09:00
Tatsuhiro Tsujikawa 45199d3691 Merge branch 'master' of https://github.com/sarim/aria2 into sarim-master 2015-04-22 00:08:57 +09:00
Sarim Khan 34d773a465 multiple interface support for link aggregation
fix: wrong variable
2015-04-21 20:59:38 +06:00
Tatsuhiro Tsujikawa 692a674fe0 SocketRecvBuffer: Eliminate memmove
Since we don't try to read into buffer if buffer is not empty, we
don't have to memmove things.  This commit mostly rewrites
SocketRecvBuffer.
2015-04-14 00:25:23 +09:00
David Macek 20a04c1b8d Fix linking with libintl on MinGW-w64 2015-04-03 00:40:06 +02:00
David Macek 53d8cbbe14 Fix detection of localtime_r and asctime_r on MinGW-w64 2015-04-03 00:39:05 +02:00
Tatsuhiro Tsujikawa 8ed8ac0fe8 Remove extra space between # and define
Fixes GH-356
2015-03-23 23:38:31 +09:00
Tatsuhiro Tsujikawa d6d21085e2 Document that libxml2-dev and libcppuni-dev are required when building form git
Fixes GH-354
2015-03-22 21:39:51 +09:00
Tatsuhiro Tsujikawa d03c7b32c6 Refactor MultiDiskAdaptor::closeFile() and add assert for debugging 2015-03-22 18:38:50 +09:00
Tatsuhiro Tsujikawa b324be70ad Run on-bt-download-complete command when -V reports download finished
See GH-355
2015-03-22 17:58:13 +09:00
Tatsuhiro Tsujikawa 7f9bb0e2da Use dedicated DiskWriter in MultiDiskFileAllocationIterator
We have to use dedicated DiskWriter instead of
(*entryItr_)->getDiskWriter().  This is because
SingleFileAllocationIterator cannot reopen file if file is closed by
OpenedFileCounter.
2015-03-22 01:32:38 +09:00
Nils Maier c248d456d1 Comment getrandom code a bit 2015-03-18 01:46:26 +01:00
Nils Maier ee63dff225 Fix getrandom for system with libc not including errno or systems
not supporting ENOSYS in the first place.

Fixes GH-347
2015-03-18 01:46:21 +01:00
Tatsuhiro Tsujikawa 1ad1d43a6a Merge branch 'rasa-patch-1' 2015-03-14 14:35:31 +09:00
Ross Smith II 2fdd0b3f3f Update DOCKER.mingw to bump sqlite to 3.8.8.3 2015-03-13 13:03:29 -07:00
Tatsuhiro Tsujikawa c17b98a9fc Don't send back rpc-secret option value in aria2.getGlobalOption RPC method 2015-03-13 01:09:01 +09:00
Tatsuhiro Tsujikawa 762ab15450 Avoid copy 2015-03-13 00:18:14 +09:00
Tatsuhiro Tsujikawa 650f04586d Make libuv default off
See GH-241 for discussion
2015-03-11 01:54:10 +09:00
Tatsuhiro Tsujikawa cb5ccf6a7a SocketBuffer: Keep sending until blocked
See GH-345
2015-03-08 21:15:12 +09:00
Nils Maier fd6f5ebc32 Fix getrandom interface detection
Fixes GH-346
2015-03-01 09:52:02 +01:00
Tatsuhiro Tsujikawa e8d4af44f4 Update NEWS 2015-02-23 23:37:13 +09:00
Tatsuhiro Tsujikawa 77e93b7710 Bump up version number to 1.18.10 2015-02-23 23:33:15 +09:00
Tatsuhiro Tsujikawa c1879586b7 Add encoding specifier to Russian man page
See GH-341
2015-02-23 23:22:51 +09:00
Tatsuhiro Tsujikawa 649c49dcc6 Mingw: Use _wgetenv to get user's home directory
Fixes GH-342
2015-02-21 01:49:07 +09:00