Ignore:
Timestamp:
Mar 11, 2011, 4:19:01 AM (11 years ago)
Author:
jordan
Message:

(trunk libT) #117 "UDP tracker protocol support (BEP #15)" -- refactor announcer.c so that alternate tracker protocols can be supported.

This commit adds a set of package-visible structs and functions to allow delegating announces and scrapes to different protocol handlers. (Examples: struct tr_announce_request, struct tr_announce_response, struct tr_scrape_request, struct tr_scrape_response.) HTTP is the only protocol handler currently implemented; however, this provides a clean API for other protocol handlers, and having this in trunk will help shake out any bugs in this refactoring.

In addition, logging via the TR_DEBUG_FD environment variable is vastly improved in the announcer module now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/Makefile.am

    r12074 r12127  
    1919libtransmission_a_SOURCES = \
    2020    announcer.c \
     21    announcer-http.c \
    2122    bandwidth.c \
    2223    bencode.c \
     
    7071noinst_HEADERS = \
    7172    announcer.h \
     73    announcer-common.h \
    7274    bandwidth.h \
    7375    bencode.h \
Note: See TracChangeset for help on using the changeset viewer.