<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/src/WinTLSSession.cc, branch refactor-wintls-write</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=refactor-wintls-write</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=refactor-wintls-write'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2016-11-12T13:20:41Z</updated>
<entry>
<title>WinTLS: Rewrite writeData</title>
<updated>2016-11-12T13:20:41Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2016-11-11T13:20:29Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=d974c935cdfd90ffe412e287cef058377a55e755'/>
<id>urn:sha1:d974c935cdfd90ffe412e287cef058377a55e755</id>
<content type='text'>
We re-wrote WinTLSSession::writeData.  The major points are:

* Buffer is now preallocated once handshake is finished.  Previously,
  they are allocated each time when we send one TLS record.

* Schannel uses header, body and trailer for each secBuffer.  Now we
  send them off at once using WSASend which is windows counterpart of
  sendv.  Previously, we do memmove if some of them are truncated.

* We don't try to send application data in
  WinTLSSession::closeConnection, since semantically we need same
  application data used to create TLS record before.  Using 0 length
  data to finish sending buffered data looks like a hack.
</content>
</entry>
<entry>
<title>WinTLS: Fix busy loop on write error</title>
<updated>2016-11-09T14:08:25Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2016-11-09T14:08:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=d289dc1108324ff5589ab103ef0863faaa3c5de1'/>
<id>urn:sha1:d289dc1108324ff5589ab103ef0863faaa3c5de1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>WinTLS: Better errors (from WSA)</title>
<updated>2016-08-29T14:51:18Z</updated>
<author>
<name>Nils Maier</name>
<email>maierman@web.de</email>
</author>
<published>2016-08-29T13:31:04Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=08f4b5e4f41b343753d440f32ccc213c40f3726b'/>
<id>urn:sha1:08f4b5e4f41b343753d440f32ccc213c40f3726b</id>
<content type='text'>
</content>
</entry>
<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>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>WinTLS: Fix potential infinite loop</title>
<updated>2015-08-07T13:20:04Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-08-07T13:20:04Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=925b5cec0702f814dc89055f9ff56e1e1f599049'/>
<id>urn:sha1:925b5cec0702f814dc89055f9ff56e1e1f599049</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use user-defined literal for k, m, and g (powers of 1024)</title>
<updated>2015-06-21T10:29:54Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2015-06-21T09:04:30Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=318c804504e32b7a0bbdbb35336d2e918000d80a'/>
<id>urn:sha1:318c804504e32b7a0bbdbb35336d2e918000d80a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed some typos in code comments</title>
<updated>2015-01-16T00:17:35Z</updated>
<author>
<name>Dan Fandrich</name>
<email>dan@coneharvesters.com</email>
</author>
<published>2015-01-16T00:14:34Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=0538aa40da9eb22a20e124799a00dc519742b86a'/>
<id>urn:sha1:0538aa40da9eb22a20e124799a00dc519742b86a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move warn logic into SocketCore</title>
<updated>2014-12-14T09:34:09Z</updated>
<author>
<name>Nils Maier</name>
<email>maierman@web.de</email>
</author>
<published>2014-12-13T07:08:47Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=3c8704178a94a9ae3abde238aa4c369efd5f01a1'/>
<id>urn:sha1:3c8704178a94a9ae3abde238aa4c369efd5f01a1</id>
<content type='text'>
Also fiddle a bit with the WinTLS implementation, forcing "strong"
crypto only for &gt; SSLv3.
</content>
</entry>
<entry>
<title>Warn about insecure SSL connections.</title>
<updated>2014-12-12T17:24:19Z</updated>
<author>
<name>Nils Maier</name>
<email>maierman@web.de</email>
</author>
<published>2014-12-12T08:57:25Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=c5c38bf3a4f6193ecba814d47a305872b6ea5454'/>
<id>urn:sha1:c5c38bf3a4f6193ecba814d47a305872b6ea5454</id>
<content type='text'>
Fixed GH-313
</content>
</entry>
</feed>
