source: trunk/libtransmission/peer-io.c

Revision Log Mode:


Legend:

Added
Modified
Copied or renamed
Diff Rev Age Author Log Message
(edit) @14644   5 years mikedld Remove useless checks and definitions (C99) Now that MSVC support for …
(edit) @14548   5 years mikedld Use sockerrno and tr_net_strerror for most of network-related …
(edit) @14545   5 years mikedld #5964: Another follow-up commit for #5456 (encrypted communication …
(edit) @14544   5 years mikedld #5964: Follow-up fix for #5456 (encrypted communication with libevent …
(edit) @14542   5 years mikedld #5456: Fix encrypted communication with libevent 2.1.x Recent …
(edit) @14526   6 years mikedld Fix some issues revealed by coverity
(edit) @14479   6 years mikedld Define and use tr_socket_t and TR_BAD_SOCKET instead of int and -1. …
(edit) @14476   6 years mikedld Minor type adjustments (incomplete, it takes way too much time)
(edit) @14382   6 years mikedld Fix compilation on Windows This should not affect non-Win32 platforms …
(edit) @14354   6 years mikedld #4400, #5462: Move random helpers to crypto-utils On a way to …
(edit) @14347   6 years mikedld #5771: Use true and false instead of 1 and 0 for bool variables (patch …
(edit) @14316   6 years livings124 Use built-in _WIN32 macro instead of WIN32
(edit) @14241   7 years jordan Copyedit the license's revised text: (1) remove unnecessary repitition …
(edit) @14225   7 years jordan Licensing changes: 1. add the option the code to be used under GPLv2 …
(edit) @14224   7 years jordan (trunk) restore copyright year as suggested in email by rms
(edit) @14203   7 years jordan fix pedantic compiler warnings
(edit) @14190   7 years jordan introduce TR_PRIuSIZE macro for portable printf()ing of size_t. mikedld
(edit) @14187   7 years jordan use evutil_socket_t instead of int to define socket types. Patch my …
(edit) @14172   7 years jordan treat bool args as booleans rather than ints; no need to compare them …
(edit) @13868   8 years jordan make all the log functions/structs/enums use a single 'tr_log' …
(edit) @13667   8 years jordan refactor libtransmission's tr_benc class as tr_variant.
(edit) @13625   8 years jordan Follow more common whitespace style conventions in the C code …
(edit) @13464   8 years livings124 #4321 uTP implementation is very slow.
(edit) @13329   8 years jordan (trunk libT) fix the Linux build wrt compiling with the new snapshot …
(edit) @12954   9 years jordan (trunk) #4490 "Transmission 2.40b1 fails to build: undefined …
(edit) @12477   9 years jordan (trunk libt) #4301 "strerror used instead of tr_strerror -- fix in …
(edit) @12386   10 years jordan (trunk libT) more heap pruning: avoid an unnecessary evbuffer_new() + …
(edit) @12365   10 years jordan (trunk libT) more heap pruning: use composition rather than …
(edit) @12343   10 years jordan (trunk libT) use a better data struct for the tr_datatype list in peer-io
(edit) @12337   10 years jordan (trunk libT) #4173 "crashing with r12315 in Debian" -- apply patch …
(edit) @12332   10 years jordan (trunk libT) #4173 "Crashing with r12315 in Debian" -- possible fix?
(edit) @12320   10 years jordan (trunk libT) when processing errors in peer-io.c's event_read_cb() and …
(edit) @12319   10 years jordan (trunk libT) when processing an error in tr_peerIoTryWrite(), don't …
(edit) @12305   10 years jordan (trunk libT) more heap pruning: avoid an unnecessary malloc() + free() …
(edit) @12303   10 years jordan (trunk libT) when reading piece data in from a socket, avoid two …
(edit) @12282   10 years jordan (trunk libT) copyediting: peer-io's "EncryptionMode?" type had a name …
(edit) @12256   10 years jordan (trunk libT) safeguard against a minor memory leak if io->sokcet …
(edit) @12249   10 years jordan (trunk libT) whoops, remove 4 debugging fprintf()'s from the previous …
(edit) @12248   10 years jordan (trunk libT) break the mac build and introduce new crashes. This is …
(edit) @12233   10 years jordan (trunk) yet more "#include" tweaks
(edit) @12229   10 years jordan (trunk libT) API cleanup of the tr_address functions to make them more …
(edit) @12225   10 years jordan (trunk libT) copyediting: remove a bunch of seemingly-unneeded network …
(edit) @12224   10 years jordan (trunk libT) copyediting: clean up the "#include <event2/*>" …
(edit) @12223   10 years jordan (trunk) copyediting: remove some unneeded #includes, and annotate some …
(edit) @12204   10 years jordan (trunk) #4138 "use stdbool.h instead of tr_bool" -- done.
(edit) @12170   10 years jordan (trunk libT) cpu load improvements based on profiling by gunzip
(edit) @12141   10 years jordan (trunk libT) #117 "UDP tracker protocol support" -- working …
(edit) @12096   10 years jordan (trunk) copyediting: remove trailing spaces from source code lines in …
(edit) @12075   10 years jordan remove a handful of unnecessary casts
(edit) @12059   10 years jordan (trunk libT) #4047 "transfer speed shown as 0" -- revert r11783
(edit) @11975   10 years jch Remove obsolete UNUSED marker.
(edit) @11971   10 years jch Stub out UTP_Create in non-uTP builds.
(edit) @11962   10 years jordan (trunk libT) add stubs for UTP_Drained() and UTP_Write() to remove a …
(edit) @11960   10 years jordan add configure script switch to enable/disable utp
(edit) @11947   10 years jch Fix typo.
(edit) @11945   10 years jordan if we successfully finish a handshake using uTP, mark the peer as …
(edit) @11943   10 years jordan call UTP_RBDrained when our read buffer is empty
(edit) @11942   10 years jordan add dbgmsg statements to peer-io's uTP code
(edit) @11941   10 years jordan uTP peers need tr_peerIoFlush() to work during the handshake phase.
(edit) @11940   10 years jordan implement bandwidth limiting for uploads to uTP peers
(edit) @11939   10 years jch Remove more debugging messages.
(edit) @11938   10 years jch Call didWriteWrapper in utp_on_write.
(edit) @11936   10 years jch Don't use read_enabled in get_rb_size. We're no longer maintaining …
(edit) @11935   10 years jch Revert "Maintain information about enabled/disabled I/O." This …
(edit) @11934   10 years jch Remove debugging messages.
(edit) @11933   10 years jch Implement outgoing uTP connections.
(edit) @11931   10 years jch Fix peerIoReconnect for uTP sockets.
(edit) @11930   10 years jch Implement pacing of reads. This should cause uTP sockets to respect …
(edit) @11929   10 years jch Maintain information about enabled/disabled I/O.
(edit) @11928   10 years jch Set the read buffer of UTP sockets to a well-defined value.
(edit) @11927   10 years jch Compute accurate overhead for uTP packets.
(edit) @11921   10 years jordan (trunk libT) silence compiler warnings
(edit) @11920   10 years jordan automake/autoconf; #includes in libtransmission
(edit) @11917   10 years jch Use dummy callbacks in peerIoReconnect.
(edit) @11916   10 years jch Tweak dummy callbacks. Don't abort, just log a message and continue.
(edit) @11915   10 years jch Don't call UTP_Close multiple times. Greg says it's evil.
(edit) @11913   10 years jch Shutdown UTP socket on short write.
(edit) @11912   10 years jch Schedule a uTP write in peerIoWriteBuf.
(edit) @11911   10 years jch Complete the uTP callbacks.
(edit) @11910   10 years jch Add dummy UTP callbacks. Libutp will sometimes call our callbacks …
(edit) @11909   10 years jch Add assertions to libevent callbacks. They should never be called …
(edit) @11908   10 years jch First pass at uTP callbacks.
(edit) @11906   10 years jch Fix io_dtor for uTP sockets.
(edit) @11903   10 years jch Modify peer-io to work with UTP sockets. This is not supposed to work …
(edit) @11857   10 years jordan (trunk libT) fix compiler warning: "peer-io.h:282: warning: inlining …
(edit) @11856   10 years jordan (trunk libT) #3991 "connection encryption stopped working" -- silence …
(edit) @11846   10 years jordan (libT) #3991 "Connection encryption stopped working" -- fixed. This …
(edit) @11810   10 years jordan (trunk libT) silence some unused variable warnings from gcc when …
(edit) @11803   10 years jordan (trunk libT) #3836 "libevent 2 support" -- fix minor memory leak. …
(edit) @11783   10 years jordan (trunk libT) #3950 "use libevent's cached gettimeofday() value when …
(edit) @11718   10 years jordan (trunk libT) #3921 "no overhead for reads" -- fixed. thanks to jch for …
(edit) @11709   10 years jordan Update the copyright year in the source code comments. The Berne …
(edit) @11669   10 years jordan (trunk libT) #3894 "tr_peerIo.hasFinishedConnecting should be removed" …
(edit) @11599   10 years charles (trunk) Join the 21st century and use only 1 space at the end …
(edit) @11588   10 years charles (trunk libT) #3836 "libevent2 support" -- finish moving to the …
(edit) @11554   10 years charles (trunk libT) #3836 "libevent2 support" -- silence a pair of 'unused …
(edit) @11548   10 years charles (trunk) #3836 "libevent2 support" -- bump libevent2 requirement to …
(edit) @11398   10 years charles (trunk libT) add some new bugs to the code so that it will crash when …
(edit) @11349   10 years charles (trunk libT) #3662 "libtransmission cpu optimization: fewer calls to …
(edit) @11299   10 years charles (trunk libT) #3617 "1000+ warnings of 'inlining failed' in …
Note: See TracRevisionLog for help on using the revision log.