<feed xmlns='http://www.w3.org/2005/Atom'>
<title>aria2/test/PeerConnectionTest.cc, branch random-webseeding</title>
<subtitle>Aria2 download utility with uTP support</subtitle>
<id>http://x-nagi.com/cgit/aria2/atom?h=random-webseeding</id>
<link rel='self' href='http://x-nagi.com/cgit/aria2/atom?h=random-webseeding'/>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/'/>
<updated>2015-12-27T09:40:08Z</updated>
<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>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>Require -std=c++11 and use std::shared_ptr instead of SharedHandle</title>
<updated>2013-06-21T16:10:38Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2013-06-21T16:10:38Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=07d270c87e6f9184aea4ca17eb26e466712e8db2'/>
<id>urn:sha1:07d270c87e6f9184aea4ca17eb26e466712e8db2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rewritten PeerConnection::receiveMessage()</title>
<updated>2012-06-25T12:35:52Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-06-25T12:29:48Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=e816c5eee46115111d706f86f7bdae303116403c'/>
<id>urn:sha1:e816c5eee46115111d706f86f7bdae303116403c</id>
<content type='text'>
The old implementation calls at least 2 read(2) (4bytes length and
payload) to receive the message. This change will read as many bytes
as possible in one read(2) call. BtPieceMessage::data_ is now just a
const pointer to the internal buffer of PeerConnection.
</content>
</entry>
<entry>
<title>Reserve PeerConnection's buffer capacity according to number of pieces.</title>
<updated>2012-02-08T16:51:42Z</updated>
<author>
<name>Tatsuhiro Tsujikawa</name>
<email>tatsuhiro.t@gmail.com</email>
</author>
<published>2012-02-08T16:51:42Z</published>
<link rel='alternate' type='text/html' href='http://x-nagi.com/cgit/aria2/commit/?id=9b7e4219d97b546ab9076d2b0e33fb0d5e8ff0a4'/>
<id>urn:sha1:9b7e4219d97b546ab9076d2b0e33fb0d5e8ff0a4</id>
<content type='text'>
If the number of pieces gets bigger, the length of Bitfield message
payload exceeds the initial buffer capacity of PeerConnection, which
is MAX_PAYLOAD_LEN.  We expand buffer as necessary so that
PeerConnection can receive the Bitfield message.
</content>
</entry>
</feed>
