<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/SocketCore.h, branch dynamic-select-file</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=dynamic-select-file</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=dynamic-select-file'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2016-01-29T15:17:54Z</updated>
<entry>
<title>WinTLS: Fix hang because of buffered received data</title>
<updated>2016-01-29T15:17:54Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2016-01-29T15:17:54Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=cf2fa33fe0d73f7001d262beee5e8aba03544126'/>
<id>urn:sha1:cf2fa33fe0d73f7001d262beee5e8aba03544126</id>
<content type='text'>
WinTLSSession buffers received decrypted data into its own buffer.  If
read is requested, it copies the data from its buffer.  But if
requested buffer size is less than decrypted buffer, some of the data
is left in the buffer.  Previously, we had no facility to check the
existence of this pending data.  If this data is the last requested
data from remote server, we may end up waiting for read event even if
we have already data in our buffer, which may cause hang.  This commit
fixes this issue by introducing function to return the buffered length
in TLSSession.  SocketCore also provides the same function, which
delegates to TLSSession object.
</content>
</entry>
<entry>
<title>Refactor SocketCore::getPeerInfo, getAddrInfo to return Endpoint object</title>
<updated>2016-01-09T09:17:04Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2016-01-09T09:16:08Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=ea4d99ea087d8f1bafa812017efa26cb90d99947'/>
<id>urn:sha1:ea4d99ea087d8f1bafa812017efa26cb90d99947</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Define SockAddr and use it instead of raw std::pair</title>
<updated>2016-01-09T08:20:03Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2016-01-09T08:20:03Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=e899eba76f7b8f91805176db4460f91e0a4dd487'/>
<id>urn:sha1:e899eba76f7b8f91805176db4460f91e0a4dd487</id>
<content type='text'>
</content>
</entry>
<entry>
<title>make clang-format using clang-format-3.6</title>
<updated>2015-12-27T09:40:08Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-12-27T09:39:47Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=b1132d6b10cd3791b9529d7031d723fd0e2d8215'/>
<id>urn:sha1:b1132d6b10cd3791b9529d7031d723fd0e2d8215</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add --socket-recv-buffer-size option</title>
<updated>2015-11-28T05:12:23Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-11-28T05:01:24Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=e8a9a366db7bf834a3e93c6ec05336e5aca882c4'/>
<id>urn:sha1:e8a9a366db7bf834a3e93c6ec05336e5aca882c4</id>
<content type='text'>
Set the maximum socket receive buffer in bytes. Specifing 0 will
disable this option. This value will be set to socket file descriptor
using SO_RCVBUF socket option with setsockopt() call.

See GH-487 about the usecase of this option
</content>
</entry>
<entry>
<title>Use std::make_shared</title>
<updated>2015-06-11T12:25:19Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-06-11T12:25:19Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=2bbec1086d42f066690048ff5890cfeb1cad25e8'/>
<id>urn:sha1:2bbec1086d42f066690048ff5890cfeb1cad25e8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add --ssh-host-key-md option</title>
<updated>2015-05-16T10:43:11Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-05-16T10:34:06Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=c26da096875d609b354ea5989f62af662f9c609e'/>
<id>urn:sha1:c26da096875d609b354ea5989f62af662f9c609e</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>sftp: Seek to the correct position to resume, fix slow start of transfer</title>
<updated>2015-05-12T13:31:14Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-05-12T13:31:14Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=5723f4211a06bc320efdca844b399a2a5b5162ca'/>
<id>urn:sha1:5723f4211a06bc320efdca844b399a2a5b5162ca</id>
<content type='text'>
</content>
</entry>
<entry>
<title>sftp: basic download works</title>
<updated>2015-05-11T15:31:57Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-05-11T15:21:22Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=d0ad7033c3e11549529b44990ef022a655877601'/>
<id>urn:sha1:d0ad7033c3e11549529b44990ef022a655877601</id>
<content type='text'>
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.
</content>
</entry>
<entry>
<title>Add basic ssh/sftp code to SocketCore and introduce SSHSession</title>
<updated>2015-05-09T15:00:23Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-05-09T15:00:23Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=82ba00320923319943cfb79282ada5aaad4d5334'/>
<id>urn:sha1:82ba00320923319943cfb79282ada5aaad4d5334</id>
<content type='text'>
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.
</content>
</entry>
</feed>
