1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-11-03 04:17:17 -05:00
Commit Graph

889 Commits

Author SHA1 Message Date
Karl Heyes
97aeaa837e drop separate predata handler for http headers, now use a per-client refbuf
instead with a specific write handler. drop ICY reply and cleanup some API
bits as well

svn path=/icecast/branches/kh/icecast/; revision=8186
2004-11-10 14:35:18 +00:00
Karl Heyes
6e81ae8e89 nasty hack for flash clients, in line with trunk/2.1 code
svn path=/icecast/branches/kh/icecast/; revision=8178
2004-11-06 16:18:55 +00:00
Karl Heyes
452e389213 resync with trunk, mainly win32 build and fallback css mime type fix
svn path=/icecast/branches/kh/icecast/; revision=8155
2004-11-02 01:49:58 +00:00
Karl Heyes
bd3b94c9ba bump version
svn path=/icecast/branches/kh/icecast/; revision=8135
2004-10-29 17:43:19 +00:00
Karl Heyes
9135c49493 more resync work, this time on docs and the xsl files
svn path=/icecast/branches/kh/icecast/; revision=8134
2004-10-29 17:26:50 +00:00
Karl Heyes
6c0a0108cd fixup client buffer refcounting for vorbis rewrite module as the original
mechanism can cause bad pointers now, the other fixes are minor.

svn path=/icecast/branches/kh/icecast/; revision=8132
2004-10-29 17:09:37 +00:00
Karl Heyes
9afaadd371 fix small memory leak when slave hosts are used. fixes to the stats updates when
streams shut down. expand on the trigger for a relay change

svn path=/icecast/branches/kh/icecast/; revision=8129
2004-10-28 19:21:52 +00:00
Karl Heyes
5d18bcd4f2 new clients should not depend on metadata settings from the source stream,
however the interval can be stated in the xml file.

svn path=/icecast/branches/kh/icecast/; revision=8128
2004-10-28 16:40:17 +00:00
Karl Heyes
1308c938ba add missing stats (and YP) update when url comments supplied
svn path=/icecast/branches/kh/icecast/; revision=8126
2004-10-28 00:13:59 +00:00
Karl Heyes
3dfcdaf3cd small volatile and resync cleanups
svn path=/icecast/branches/kh/icecast/; revision=8121
2004-10-27 14:05:14 +00:00
Karl Heyes
f83a70568d this event wasn't being logged
svn path=/icecast/branches/kh/icecast/; revision=8120
2004-10-27 13:15:53 +00:00
Karl Heyes
b5cb8e5d94 resync with trunk
svn path=/icecast/branches/kh/icecast/; revision=8119
2004-10-27 12:57:13 +00:00
Karl Heyes
c71366088e minor changes
svn path=/icecast/branches/kh/icecast/; revision=8118
2004-10-27 12:49:28 +00:00
Karl Heyes
5cda04db5b for on-demand relays, don't remove YP entries if inactive, keep refreshing
them but also avoid creating duplicates in yp_add

svn path=/icecast/branches/kh/icecast/; revision=8064
2004-10-21 11:33:36 +00:00
Karl Heyes
b5c1967eb1 bump version
svn path=/icecast/branches/kh/icecast/; revision=8010
2004-10-15 11:03:15 +00:00
Karl Heyes
08878c87e4 resync with trunk
svn path=/icecast/branches/kh/icecast/; revision=8009
2004-10-15 10:59:30 +00:00
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