Karl Heyes
d40b6b88ea
minor cleanup on source shutdown. check for per-mount auth settings if admin
...
auth not provided on mount-based admin requests.
svn path=/icecast/branches/kh/icecast/; revision=8004
2004-10-15 02:34:38 +00:00
Karl Heyes
6f7bf1218d
small logging and stats update and only do add to server if we have a bitrate
...
svn path=/icecast/branches/kh/icecast/; revision=8003
2004-10-15 00:45:39 +00:00
Karl Heyes
dc5bd07672
small updates, fix small memory leaks, unintialised pointer and sync stat
...
names with multi-codec module for consistency
svn path=/icecast/branches/kh/icecast/; revision=8002
2004-10-14 20:33:25 +00:00
Karl Heyes
427a771392
make any mounts marked as hidden not show in the streamlist.txt
...
svn path=/icecast/branches/kh/icecast/; revision=8000
2004-10-14 15:54:50 +00:00
Karl Heyes
6b88814ef4
fixup refcounting and memory leak with this module
...
svn path=/icecast/branches/kh/icecast/; revision=7998
2004-10-14 13:16:09 +00:00
Karl Heyes
bd5b35093a
silly compile error on optional module
...
svn path=/icecast/branches/kh/icecast/; revision=7996
2004-10-13 19:04:47 +00:00
Karl Heyes
3b3b22be88
bump version
...
svn path=/icecast/branches/kh/icecast/; revision=7939
2004-10-08 19:34:10 +00:00
Karl Heyes
c66cc2f2bd
documentation update
...
svn path=/icecast/branches/kh/icecast/; revision=7938
2004-10-08 19:29:36 +00:00
Karl Heyes
bf6c30d058
oops, silly typo
...
svn path=/icecast/branches/kh/icecast/; revision=7937
2004-10-08 16:32:15 +00:00
Karl Heyes
9f77db371d
only update settings/stats if a relay is freed, not each time through the loop
...
svn path=/icecast/branches/kh/icecast/; revision=7936
2004-10-08 16:16:43 +00:00
Karl Heyes
e1bca713e6
if we change the mp3 metadata interval midstream then let us not confuse
...
existing listeners of that stream.
svn path=/icecast/branches/kh/icecast/; revision=7935
2004-10-08 15:40:37 +00:00
Karl Heyes
a653557ae8
allow for per-mount format-specific settings, using this we can
...
change the outgoing metadata interval of an mp3 stream (use 0
to disable metadata to all new clients)
svn path=/icecast/branches/kh/icecast/; revision=7934
2004-10-08 15:05:34 +00:00
Karl Heyes
9b9bc42416
allow clients to fallback if on-demand relay fails to start
...
svn path=/icecast/branches/kh/icecast/; revision=7932
2004-10-08 00:27:35 +00:00
Karl Heyes
aed9fec0db
stats changes for xsl presentation, mainly related to fallback handling.
...
Fixed problem where an on-demand relay as a fallback kicked off when it
shouldn't
svn path=/icecast/branches/kh/icecast/; revision=7931
2004-10-07 23:54:26 +00:00
Karl Heyes
4e1906ee99
avoid aliasing issues
...
svn path=/icecast/branches/kh/icecast/; revision=7928
2004-10-07 19:18:07 +00:00
Karl Heyes
0a6d8f5c55
update stats engine. The _inc/_dec routines never worked correctly in all
...
cases as they can race against each other, not taking account of unprocessed
events. Here we push the actual calculation to the stats thread. The rest
is for interacting with the changes
svn path=/icecast/branches/kh/icecast/; revision=7927
2004-10-07 18:49:04 +00:00
Karl Heyes
f8a88299cc
missing free causing small memory leak. limit size to 2Meg
...
svn path=/icecast/branches/kh/net/; revision=7916
2004-10-05 22:00:45 +00:00
Karl Heyes
103dbabefb
minor changes and comments
...
svn path=/icecast/branches/kh/icecast/; revision=7910
2004-10-04 23:16:52 +00:00
Karl Heyes
daf35b8381
handle vnsprintf differently if a return of -1 indicates truncation
...
svn path=/icecast/branches/kh/net/; revision=7908
2004-10-02 12:29:40 +00:00
Karl Heyes
aea34a81fe
update file serve for windows build, select needs at least 1 descriptor, else
...
it will busy loop
svn path=/icecast/branches/kh/icecast/; revision=7907
2004-10-02 12:22:16 +00:00
Karl Heyes
a512dee95e
add per-source max listeners to stats
...
svn path=/icecast/branches/kh/icecast/; revision=7906
2004-10-02 12:19:15 +00:00
Karl Heyes
0b55cc0e76
set these once, not each time a request comes in
...
svn path=/icecast/branches/kh/icecast/; revision=7905
2004-10-02 12:17:12 +00:00
Karl Heyes
0be37032d1
shuffled code around slightly, older compilers may have trouble building it
...
svn path=/icecast/branches/kh/icecast/; revision=7897
2004-09-30 23:28:20 +00:00
Karl Heyes
fac4930964
Only process file serving clients that are ready for writing, this avoids
...
excessive CPU usage when high and low bandwidth clients are connected.
Also drop avl trees for lists and most of the locking.
svn path=/icecast/branches/kh/icecast/; revision=7896
2004-09-30 13:57:44 +00:00
Karl Heyes
e2a48e7fc1
update version
...
svn path=/icecast/branches/kh/icecast/; revision=7803
2004-09-19 19:51:11 +00:00
Karl Heyes
7e565ee8e2
report of win32 faulting with newer xml2 libs, initial update for testing
...
svn path=/icecast/branches/kh/icecast/; revision=7802
2004-09-19 19:38:09 +00:00
Karl Heyes
23c2a7d899
define snprintf on win32
...
svn path=/icecast/branches/kh/icecast/; revision=7801
2004-09-19 19:30:20 +00:00
Karl Heyes
1aa1c67899
documentation resync from trunk
...
svn path=/icecast/branches/kh/icecast/; revision=7800
2004-09-19 19:10:18 +00:00
Karl Heyes
6e65937816
minor compile/include cleanups
...
svn path=/icecast/branches/kh/icecast/; revision=7763
2004-09-15 16:00:24 +00:00
Karl Heyes
573d1941f3
don't refer to config variables outside of its lock, and make sure the
...
xml data does not get treated as a conversion string
svn path=/icecast/branches/kh/icecast/; revision=7762
2004-09-15 15:53:33 +00:00
Karl Heyes
bb306e1652
add small checks for mountpoint names
...
svn path=/icecast/branches/kh/icecast/; revision=7693
2004-09-03 22:42:21 +00:00
Karl Heyes
9ed044ac56
stats relay fixup, need to verify
...
svn path=/icecast/branches/kh/icecast/; revision=7689
2004-09-03 01:24:08 +00:00
Karl Heyes
3ffedf6476
bump version
...
svn path=/icecast/branches/kh/icecast/; revision=7685
2004-09-02 15:13:12 +00:00
Karl Heyes
df2184f390
if fallback-override set on an on-demand relay and there are listeners on the
...
fallback mount then start the relay
svn path=/icecast/branches/kh/icecast/; revision=7684
2004-09-02 14:00:27 +00:00
Karl Heyes
a44496559f
missing NULL check
...
svn path=/icecast/branches/kh/icecast/; revision=7679
2004-09-01 21:02:57 +00:00
Karl Heyes
2f22d24f76
bump version
...
svn path=/icecast/branches/kh/icecast/; revision=7667
2004-08-30 19:38:37 +00:00
Karl Heyes
5f3f15f3ed
fix possible race when a stream shutdown occurs, causing stale YP enties in icecast
...
svn path=/icecast/branches/kh/icecast/; revision=7665
2004-08-30 16:47:23 +00:00
Karl Heyes
6bbb263b7d
minor display changes for xsl pages
...
svn path=/icecast/branches/kh/icecast/; revision=7661
2004-08-29 22:33:31 +00:00
Karl Heyes
7d6b4f02bc
build the slave host list by using the connecting relay-authenticated master relays
...
instead of using the xml. Update docs and example xml
svn path=/icecast/branches/kh/icecast/; revision=7659
2004-08-29 15:17:14 +00:00
Karl Heyes
946d62483b
update stats code to support hidden attribute, and update callers to
...
use them
svn path=/icecast/branches/kh/icecast/; revision=7650
2004-08-28 13:38:32 +00:00
Karl Heyes
37d0fb32bc
another stats cleanup, this time from ice-bitrate and the audio_info header
...
svn path=/icecast/branches/kh/icecast/; revision=7640
2004-08-26 14:46:30 +00:00
Karl Heyes
b1769ccbd1
make sure source clients without mount get listed, missed from previous patch
...
svn path=/icecast/branches/kh/icecast/; revision=7639
2004-08-26 12:26:32 +00:00
Karl Heyes
3eb019a593
bump version
...
svn path=/icecast/branches/kh/icecast/; revision=7632
2004-08-25 16:14:07 +00:00
Karl Heyes
eddcf59867
doc updates
...
svn path=/icecast/branches/kh/icecast/; revision=7631
2004-08-25 16:12:37 +00:00
Karl Heyes
c81455bacd
make sure relays without mount definitions show properly
...
svn path=/icecast/branches/kh/icecast/; revision=7630
2004-08-25 15:56:20 +00:00
Karl Heyes
3f453c99ab
update stats handling, xsl should show mountpoints available even if clients
...
would fallback. Also add hidden flag to mount options to hide from xsl
svn path=/icecast/branches/kh/icecast/; revision=7629
2004-08-25 13:51:13 +00:00
Karl Heyes
13dfaffadc
make inactive on-demand relays show up on xsl pages
...
svn path=/icecast/branches/kh/icecast/; revision=7620
2004-08-24 00:02:40 +00:00
j
e20dc5a895
add on-demand to docs
...
svn path=/icecast/branches/kh/icecast/; revision=7618
2004-08-23 19:27:51 +00:00
Karl Heyes
352e6bd87a
passed pointer could be NULL, in trunk as well
...
svn path=/icecast/branches/kh/icecast/; revision=7616
2004-08-23 19:03:41 +00:00
Karl Heyes
8fb8a3423b
more re-sync work with trunk, no functional changes
...
svn path=/icecast/branches/kh/icecast/; revision=7611
2004-08-23 13:54:14 +00:00