Commit graph

5 commits

Author SHA1 Message Date
tonio
4e56793dd8 patch-ac wasn't applying cleanly 2008-01-13 21:20:58 +00:00
reinoud
e702dc8242 This new 1.0.5 release fixes two bugs that were causing frequent core
dumps. It also fixes a logic error that was dropping certain connections
randomly.
2006-03-01 12:16:04 +00:00
joerg
9ea967f2e4 Include sys/types.h before openssl/sha.h to get size_t on DragonFly. 2006-01-10 19:50:46 +00:00
reinoud
1f09a6872f Fix small bug in bittorrent message handling.
If i understand the code correctly a message is send with a 4 byte length in
front of a block of data. If the data length was less than 80 a stack reserved
memory block was used to avoid over-malloc'ing for small pieces. This block was
declared 80 bytes long... so it would overflow if messages of aprox. 80 bytes
were sent for the length bytes were not accounted for. Claimed more for
certain.

With this small fix the repeated crashes that i experienced are gone. Author
has been notified of the possible problem.
2005-09-05 23:41:13 +00:00
reinoud
4e3060c637 LibBT is a C reimplementation of the BitTorrent core protocols. Our
goal for the project is to develop a low overhead library version of
the protocols so that BitTorrent transfers can easily be built in to
any existing application.

A suplied application called `btget' is a full fledged bittorrent
application based on this library.
2005-08-05 22:00:49 +00:00