Changeset 5934
- Timestamp:
- May 26, 2008, 1:13:24 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r5928 r5934 9 9 - GTK+ 10 10 + Add preferences options to inhibit hibernation and to toggle the tray icon 11 - Daemon 12 + Redesigned & rewritten to use json over http 11 13 12 14 1.21 (2008/05/21) -
trunk/gtk/tr-core.c
r5928 r5934 507 507 TR_TORRENT_TYPE, /* TrTorrent object */ 508 508 G_TYPE_POINTER, /* tr_torrent* */ 509 G_TYPE_INT, /* tr_stat()->status */ 510 G_TYPE_INT /* tr_torrentId() */ 509 G_TYPE_INT /* tr_stat()->status */ 511 510 }; 512 511 … … 684 683 MC_TORRENT_RAW, tor, 685 684 MC_STATUS, torStat->status, 686 MC_ID, tr_torrentId( tor ),687 685 -1); 688 686 -
trunk/gtk/tr-core.h
r5843 r5934 186 186 MC_TORRENT_RAW, 187 187 MC_STATUS, 188 MC_ID,189 188 MC_ROW_COUNT 190 189 }; -
trunk/libtransmission/tracker.c
r5913 r5934 36 36 PULSE_INTERVAL_MSEC = 1000, 37 37 38 /* maximum number of concurrent tracker socket connections */39 MAX_TRACKER_SOCKETS = 16,40 41 /* maximum number of concurrent tracker socket connections during shutdown.42 * all the peer connections should be gone by now, so we can hog more43 * connections to send `stop' messages to the trackers */44 MAX_TRACKER_SOCKETS_DURING_SHUTDOWN = 64,45 46 38 /* unless the tracker says otherwise, rescrape this frequently */ 47 39 DEFAULT_SCRAPE_INTERVAL_SEC = (60 * 15), … … 70 62 uint8_t randOffset; 71 63 72 tr_session * session; 64 /* sent as the "key" argument in tracker requests 65 to verify us if our IP address changes. 66 This is immutable for the life of the tracker object. */ 67 char key_param[KEYLEN+1]; 73 68 74 69 /* these are set from the latest scrape or tracker response */ … … 81 76 int trackerIndex; 82 77 83 /* sent as the "key" argument in tracker requests 84 to verify us if our IP address changes. 85 This is immutable for the life of the tracker object. */ 86 char key_param[KEYLEN+1]; 78 tr_session * session; 87 79 88 80 tr_publisher_t * publisher; … … 548 540 struct tr_tracker_request 549 541 { 542 uint8_t torrent_hash[SHA_DIGEST_LENGTH]; 543 int reqtype; /* TR_REQ_* */ 550 544 char * url; 551 int reqtype; /* TR_REQ_* */552 uint8_t torrent_hash[SHA_DIGEST_LENGTH];553 545 tr_web_done_func * done_func; 554 546 tr_session * session;
Note: See TracChangeset
for help on using the changeset viewer.