Charles Kerr
9594112d27
updated email address
2008-12-16 00:20:44 +00:00
Charles Kerr
788b397ecc
(trunk libT) more semantic cleanup: tr_handle->tr_session, int->tr_bool, int->tr_port
2008-12-14 11:21:11 +00:00
Charles Kerr
b9b67ee2c2
(libT) libcurl configuration tweaks
2008-12-02 23:54:26 +00:00
Charles Kerr
d12af295c1
use tr_bool instead of C bitfields. ( http://blogs.msdn.com/oldnewthing/archive/2008/11/26/9143050.aspx )
2008-11-28 22:11:41 +00:00
Charles Kerr
f336aff2e7
(libT) fix a pair of dead store warnings from m1b & clang
2008-11-04 19:40:18 +00:00
Charles Kerr
d0ade0358f
(libT) #1399 : No tracker response result in error: 0 in the log
2008-10-31 19:01:27 +00:00
Charles Kerr
4480da5403
(libT) #1359 : Transmission shows no tracker error when unable to contact the tracker
2008-10-29 16:06:14 +00:00
Charles Kerr
98168cb605
(libT) #1359 : Transmission shows no tracker error when unable to contact the tracker
2008-10-27 18:00:03 +00:00
Charles Kerr
06939cafa6
(libT) low-hanging fruit discovered from softwareelves' shark profile.
2008-10-26 15:39:04 +00:00
Charles Kerr
7ec84486ee
(libT) more win32 portability fixes from Spry
2008-10-20 19:34:19 +00:00
Charles Kerr
071c6733e5
this seems to work pretty well. maybe it's done now?
2008-10-18 15:45:12 +00:00
Charles Kerr
00cfd90bb5
<bullwinkle>this time for sure!</bullwinkle>
2008-10-18 00:20:37 +00:00
Charles Kerr
a44f3d75a0
more hacking on libcurl + libevent integration
2008-10-17 20:57:54 +00:00
Charles Kerr
123a5c53a9
Try to hammer out some of the bugs in web.c. This still feels like a work in progress. Also, add a queue for tracker requests so that we don't wind up with 100s of concurrent http requests when there are a lot of torrents.
2008-10-16 05:24:57 +00:00
Mitchell Livingston
96f3939edd
2 arguments were swapped in curl_multi_socket_action()
2008-10-15 23:21:53 +00:00
Charles Kerr
26cac56509
(libT) if a tracker announce succeeds and the tracker's response is a superset of a scrape response, then treat it as a successful announce AND scrape.
2008-10-15 17:53:42 +00:00
Charles Kerr
2f3580cc90
(libT) possible backwards compatability tweak for libcurl < 7.16.3
2008-10-15 17:12:53 +00:00
Charles Kerr
0b991a55c7
(libT) try again to get the libevent+libcurl code working
2008-10-15 16:43:51 +00:00
Charles Kerr
88ce8a5c44
more changes inspired by spry's `winport' code: for portability, use the standard __VA_ARGS__ macro for variadic macros instead of the CPP extensions.
2008-10-13 22:45:05 +00:00
Charles Kerr
b824c704b7
first batch of portability changes based on spry's winport:
...
(1) added tr_getcwd(), a simple portability wrapper for getcwd()
(2) cli: show the help page if no command-line arguments are provided
(3) daemon: use tr_wait() intead of sleep()
(4) daemon: SIGQUIT, SIGPIPE, SIGHUP aren't defined on windows
(5) libtransmission: a couple of small cleanups to bencode.c, list.c, web.c
(6) libtransmission: win32 portability fixes to platform.c
2008-10-13 22:26:02 +00:00
Charles Kerr
cc89872dd4
run libT, cli, daemon, gtk through the source-code formatter "uncrustify" as promised/threatened
2008-09-23 19:11:04 +00:00
Charles Kerr
419242e36f
(libT) change benc's integral type from int to size_t, squashing a couple of minor warnings
2008-09-04 14:42:32 +00:00
Charles Kerr
8c421bd0ec
pump the web connections more frequently when there are tasks pending. this may speed up the shutdown flurry of `stop' announcements
2008-09-03 19:13:19 +00:00
Charles Kerr
a11aac24ca
(libT) add an environmental variable to enable libcurl verbosity
2008-08-22 19:14:19 +00:00
Charles Kerr
98e1b995e0
possible fix for #1134 : revert libtransmission/web.c back to r6354
2008-08-06 23:33:29 +00:00
Charles Kerr
9006f75edb
#1117 : crash on exit in curl_multi_socket_action()
2008-07-29 18:53:41 +00:00
Charles Kerr
703f96aeb3
#1122 : faster http processing
2008-07-29 00:51:07 +00:00
Charles Kerr
2eb89eb2a7
(libT) fix some minor warnings foudn by clang's scan-build and reported by m1b
2008-07-17 20:33:34 +00:00
Charles Kerr
7974a1e50a
(libT) add proxy port arg as requested by BentMyWookie
2008-07-15 01:03:03 +00:00
Charles Kerr
af8e44a5e7
maybe *now* 1.30 is feature complete: by popular demand, add proxy support for SOCKS4/SOCKS5. This will break the mac build temporarily.
2008-06-11 20:45:53 +00:00
Charles Kerr
b94893a4c9
wire up the backend proxy support.
2008-06-10 16:16:31 +00:00
Charles Kerr
e3e3bee8b5
#800 initial support for GetRight-style fetching of data through http and ftp servers specified in the .torrent's "url-list" tag
2008-06-07 21:26:41 +00:00
Charles Kerr
f861f39711
maybe fix the tracker authentication problems reported by demio
2008-06-05 16:35:33 +00:00
Charles Kerr
fb8dccf179
undo the curl timeout option from earlier today
2008-05-09 04:00:14 +00:00
Charles Kerr
20986a5dac
raise the timeout interval that we tell curl to use
2008-05-08 17:15:06 +00:00
Charles Kerr
f48b2b24e9
tell webcurl to timeout tracker requests after 30 seconds
2008-05-08 17:05:43 +00:00
Charles Kerr
6ba02efb58
#915 : Does too many wake-ups when idle
2008-05-06 15:52:57 +00:00
Charles Kerr
1dfc98fc77
fix another crash-on-shutdown in the new web code
2008-04-28 13:29:38 +00:00
Charles Kerr
3f71ea1f51
fix one of the crash-on-shutdown bugs reported by Gimp_
2008-04-27 18:27:32 +00:00
Charles Kerr
b8fc148fe0
experiment to lower CPU for Gimp_
2008-04-27 17:22:37 +00:00
Charles Kerr
b66af4ab07
curl_easy_getopt(CURLINFO_RESPONSE_CODE) needs a pointer to a long, not an int.
2008-04-27 07:15:20 +00:00
Charles Kerr
c4fc897b38
steal some curl configuration options from rtorrent :)
2008-04-25 23:54:02 +00:00
Charles Kerr
03572a0ad5
add tr_webClose()
2008-04-25 19:46:36 +00:00
Charles Kerr
0545e70f5b
(gtk) use libT's curl wrapper for port testing & getting the blocklist
2008-04-25 18:35:48 +00:00
Charles Kerr
cffd7f92e2
more hacking on the curl code, based on libcurl's "hiperfifo.c" sample code
2008-04-25 16:07:06 +00:00
Charles Kerr
dbf3e95cd9
make the tracker response lines more human-readable
2008-04-25 04:26:04 +00:00
Charles Kerr
47021f1a12
fold most of the "deep logging" functions into a single function
2008-04-25 02:57:33 +00:00
Charles Kerr
169e717474
fix failed buildin
2008-04-24 19:49:13 +00:00
Charles Kerr
335ff66baa
reported by John_Clay: allow the connection to continue even if the certificate can't be authenticated.
2008-04-24 19:48:27 +00:00
Charles Kerr
aa731deaa6
maybe make hudson happy
2008-04-24 19:42:29 +00:00
Charles Kerr
73b1f106a3
maybe work on libcurl < 7.16.3
2008-04-24 19:38:59 +00:00
Charles Kerr
7ef2511ca8
#377 : preliminary https support. this commit probably breaks mac and cli and is not for the faint of heart.
2008-04-24 01:42:53 +00:00