Charles Kerr
06939cafa6
(libT) low-hanging fruit discovered from softwareelves' shark profile.
2008-10-26 15:39:04 +00:00
Charles Kerr
7f9d71e6ff
silence a couple of minor warnings from sparse/cgcc
2008-10-21 03:57:56 +00:00
Charles Kerr
ef5bc3f150
(libT) more win32 work copied from spry's code:
...
(1) add #define for {read,write,strncasecmp} -> {_read,_write,_strnicmp}
(2) fix a couple more variadic macros that didn't get fixed in the last commit
(3) use evutil_strtoll() instead of strtoll()
2008-10-14 01:00:15 +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
cc8bed02c6
(rpc) fix small bug introduced in the last commit.
2008-10-08 16:31:17 +00:00
Charles Kerr
cceb70b182
(rpc) extra safeguards in r6867
2008-10-08 13:39:44 +00:00
Charles Kerr
52a2527963
(rpc) better fix for #1330
2008-10-08 13:33:19 +00:00
Charles Kerr
8ced51a9e4
(rpc) if libt can't find the Clutch files, give a helpful 404 message for end-users and binary packagers about how to use CLUTCH_HOME and PACKAGE_DATA_DIR.
2008-10-07 01:25:29 +00:00
Charles Kerr
7fd0ff7fb2
(rpc) slightly better errno handling
2008-10-06 16:33:33 +00:00
Charles Kerr
ebee18380e
slightly more efficient serving of static files & rpc responses
2008-10-06 13:36:06 +00:00
Charles Kerr
cc1302c9c8
(rpc) #1319 : possible fix for the deflate bug
2008-10-03 23:20:44 +00:00
Charles Kerr
77d3e0613d
(rpc) #1319 as pointed out by spry, deflate()'s output can sometimes be larger than the native form. In these cases, use the smaller of the two sources.
2008-10-03 20:46:58 +00:00
Charles Kerr
4f5a6de98d
(rpc) more robust `deflate' wrangling, possibly fixing ticket #1319
2008-10-03 17:38:14 +00:00
Charles Kerr
f3d75b3b57
(rpc) fix rpc server memory leak that snuck in over the past few days' switch from shttpd to evhttp
2008-10-02 16:50:05 +00:00
Charles Kerr
d7a5cf0828
(rpc) fix minor path resolution glitch when serving up clutch files
2008-10-02 16:24:44 +00:00
Charles Kerr
6cba9305ae
add a separate flag for enabling/disabling the rpc address whitelist
2008-10-01 22:59:29 +00:00
Charles Kerr
bddf34d7a8
#1309 : Web/RPC interface ACL ignored
2008-10-01 20:23:57 +00:00
Charles Kerr
585a9783ad
add support for compressing the content served by the rpc server -- rpc responses and clutch html/css/js files
2008-10-01 15:53:56 +00:00
Charles Kerr
859af09f37
(libT) maybe fix the evhttp issues that softwareelves reported
2008-10-01 04:26:38 +00:00
Charles Kerr
f6a770f1db
pass 0.0.0.0 in as the rpc server address
2008-09-30 18:31:04 +00:00
Charles Kerr
1c20c64062
send NULL as the address to evhttp_bind_socket()
2008-09-30 16:18:44 +00:00
Charles Kerr
c55a20b074
(libT) d'oh, left out an important line last night while testing the rpc server w/softwareelves
2008-09-30 16:04:41 +00:00
Charles Kerr
86b6e00321
(libT) make sure to init the rpc server with the correct event base.
2008-09-29 04:26:52 +00:00
Charles Kerr
713b99d64b
add some debugging messages for the RPC server
2008-09-29 03:02:27 +00:00
Charles Kerr
b8cff462a7
(libT) uncrustify
2008-09-26 15:40:24 +00:00
Charles Kerr
8903960174
a little more cleanup of the rpc server stuff.
2008-09-26 04:41:13 +00:00
Charles Kerr
4907ad1d54
(libT) more rpc-server cleanup
2008-09-26 00:58:06 +00:00
Charles Kerr
4c34b2bc89
rpc-server cleanups. add true wildmat control. break the Mac build a little harder.
2008-09-25 18:48:09 +00:00
Charles Kerr
bd5a2ae6b8
(libT) experimental code to serve clutch/rpc via evhttpd
2008-09-25 05:03:39 +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
Mukund Sivaraman
5ea5613c0f
(win32) Rename rpc.[ch] to rpcimpl.[ch]
2008-09-05 14:31:58 +00:00
Charles Kerr
712df8f761
#1209 : shttpd crash when setting port to one already in use
2008-09-03 19:59:09 +00:00
Charles Kerr
dcaf1f16ef
(shttpd) replace VERSION with SHTTPD_VERSION.
...
(shttpd) make shttpd_edit_passwords() a public function for now to fix the build.
2008-08-25 20:32:26 +00:00
Charles Kerr
6cf752b33d
#1222 : web access authentication text
2008-08-22 23:04:16 +00:00
Charles Kerr
58881d45be
more metainfo/bencode cleanup
2008-08-21 16:12:17 +00:00
Mukund Sivaraman
87513aa8f8
Add UTF-8 charset to Content-Type HTTP headers
2008-08-17 21:16:22 +00:00
Charles Kerr
24362e1b94
(libT) fix a couple of compiler warnings from gcc -Wmissing-prototypes -Wdeclaration-after-statement
2008-08-15 20:28:43 +00:00
Charles Kerr
7b8b26bcbb
fix shttpd issue reported by Gimp_
2008-08-15 19:45:46 +00:00
Charles Kerr
b068dc07a6
#1129 alternate fix: / should redirect to, not replace, /transmission/web
2008-08-06 00:24:05 +00:00
Charles Kerr
427e714060
1129: You must add "/transmission/web/" to your IP to view web interface
2008-08-05 16:41:09 +00:00
Charles Kerr
9650fcc0e2
(rpc) serve the clutch static files faster
2008-07-17 14:45:31 +00:00
Charles Kerr
6ffe3bcec5
(rpc) possible fix for the new breakage caused by the shttpd upgrade in r6349
2008-07-17 04:27:03 +00:00
Charles Kerr
2281c39c1f
(third-party) upgrade shttpd from 1.39 to the latest, 1.41
2008-07-16 23:55:49 +00:00
Charles Kerr
d26c3af13d
(rpc) fix minor memory leak in the RPC server
2008-07-16 19:36:46 +00:00
Charles Kerr
1a1f195216
(rpc) better handling of multiple concurrent RPC connections
2008-07-16 17:47:20 +00:00
Charles Kerr
cb82d4ad1c
(rpc) fix possible password authentication error reported by kman
2008-07-15 20:39:50 +00:00
Charles Kerr
c692dff9d5
(gtk) #1088 : when the gtk+ client is serving Clutch, torrents added via Clutch aren't shown in gtk+ client
2008-07-15 19:25:46 +00:00
Charles Kerr
2f239319b0
add a portability wrapper ``tr_snprintf()'' around snprintf()
2008-07-15 17:16:57 +00:00
Charles Kerr
4813647346
#1084 : Make `web' and `clutch' synonymous in the backend
2008-07-14 16:00:20 +00:00
Charles Kerr
d5335b710b
Update NEWS file to say the Clutch rewrite's been folded into Transmission.
2008-07-11 17:09:53 +00:00