mirror of
https://github.com/aria2/aria2.git
synced 2026-04-02 10:55:00 +00:00
e816c5eee46115111d706f86f7bdae303116403c
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.
…
…
…
…
See README.rst
Languages
C++
94.2%
C
3.7%
M4
1%
Makefile
0.8%
Shell
0.2%