Karl Heyes
fd9fc737aa
cleanup for THREAD_DEBUG
...
svn path=/icecast/branches/kh/thread/; revision=7536
2004-08-11 14:14:02 +00:00
Karl Heyes
0dd71137d7
partial resync with trunk, for -b fix
...
svn path=/icecast/branches/kh/icecast/; revision=7535
2004-08-11 13:43:04 +00:00
Karl Heyes
c8f4218dbe
make sure we are locked
...
svn path=/icecast/branches/kh/icecast/; revision=7523
2004-08-11 03:10:16 +00:00
Karl Heyes
640a7094b2
make config lock a rwlock
...
svn path=/icecast/branches/kh/icecast/; revision=7522
2004-08-11 02:56:08 +00:00
Karl Heyes
3a51eb4e38
better to require the logging restart function to be passed
...
the config, so that the locking is determined by the caller
svn path=/icecast/branches/kh/icecast/; revision=7520
2004-08-11 01:53:10 +00:00
Karl Heyes
b15b49fff4
bump version
...
svn path=/icecast/branches/kh/icecast/; revision=7508
2004-08-10 00:04:20 +00:00
Karl Heyes
1150cbdaf9
modify queue handling for connection handlers, seems that in some rare
...
cases _get_connection returned the same connection to different connection
handlers and a race occurred. Minor changes elsewhere
svn path=/icecast/branches/kh/icecast/; revision=7506
2004-08-09 23:58:41 +00:00
Karl Heyes
ae9e72f247
the active client list handling had changed, so this tail pointer
...
maintainence is no longer required.
svn path=/icecast/branches/kh/icecast/; revision=7495
2004-08-07 16:54:22 +00:00
Karl Heyes
c66e956df3
pointer getting corrupted, something introduced on recent client list
...
changes. Also added some minor debug log messages to slave thread
svn path=/icecast/branches/kh/icecast/; revision=7493
2004-08-07 02:15:56 +00:00
Karl Heyes
7bf406f64c
fix a non-standard install path issue
...
svn path=/icecast/branches/kh/icecast/; revision=7486
2004-08-05 16:12:55 +00:00
Karl Heyes
5e96807d90
missing xsl code, don't let stats get processed without having
...
any XML entities encoded. Apply to both the name and value just
for consistency
svn path=/icecast/branches/kh/icecast/; revision=7478
2004-08-04 16:02:36 +00:00
j
43a8ba3606
add prototype for sock_read_pending
...
svn path=/icecast/branches/kh/net/; revision=7470
2004-08-03 18:35:52 +00:00
j
a64bdf442d
convert .cvsignore to svn:ignore
...
svn path=/icecast/branches/kh/net/; revision=7468
2004-08-03 17:30:03 +00:00
Karl Heyes
03152803d4
Allow for reopening of logs or a full update from changed xml config to
...
be initiated via a URL. This is mainly to allow for windows as it doesn't
have HUP.
svn path=/icecast/branches/kh/icecast/; revision=7464
2004-08-03 12:46:50 +00:00
Karl Heyes
8e7cb2b104
remove old code, one being a leftover from previous testing
...
svn path=/icecast/branches/kh/icecast/; revision=7454
2004-08-02 19:01:38 +00:00
Karl Heyes
2e51880986
when building xsl pages for clients, encode the stats values
...
svn path=/icecast/branches/kh/icecast/; revision=7447
2004-08-01 13:36:35 +00:00
Karl Heyes
37e4268a6e
resync with trunk. simplify m3u lookup, don't do the searching when the m3u
...
is requested, just return something suitable for players.
svn path=/icecast/branches/kh/icecast/; revision=7440
2004-08-01 01:48:12 +00:00
Karl Heyes
6aa93abc03
slave update. Make relay threads attached. Allow for rescanning the current
...
relays so that master server queries are not triggered when not required.
Each relay is started independently now. some comment and variable cleanups
svn path=/icecast/branches/kh/icecast/; revision=7431
2004-07-31 13:34:22 +00:00
Karl Heyes
1a5effb4bd
update config, NEWS and bump version
...
svn path=/icecast/branches/kh/icecast/; revision=7403
2004-07-28 22:00:37 +00:00
Karl Heyes
9200af8855
allow for HUP to update mount settings on active sources without having
...
to stop them
svn path=/icecast/branches/kh/icecast/; revision=7402
2004-07-28 21:28:45 +00:00
Karl Heyes
32a722629e
Allow for relays as created from the master list, to use the master user/pass
...
authentication for connecting. In such cases allow slaves to connect no
matter what the listener count is. Also add missing a line from previous
patch, need to allocate buffer for authentication header.
svn path=/icecast/branches/kh/icecast/; revision=7373
2004-07-27 18:37:02 +00:00
Karl Heyes
b68e012bfb
fix a string length bug
...
svn path=/icecast/branches/kh/icecast/; revision=7371
2004-07-27 18:26:05 +00:00
Karl Heyes
080ce9787c
if the slave thread fails to auth against the master then log a warning
...
and drop back to waiting
svn path=/icecast/branches/kh/icecast/; revision=7352
2004-07-26 19:19:47 +00:00
Karl Heyes
73e86dbec3
resync with trunk, sock_connected timeout 0 means non-blocking
...
and don't loop on sock_connected when timeout occurs.
svn path=/icecast/branches/kh/net/; revision=7350
2004-07-26 16:26:58 +00:00
Karl Heyes
916630dea5
update details and bump version number
...
svn path=/icecast/branches/kh/icecast/; revision=7333
2004-07-25 17:41:39 +00:00
Karl Heyes
67c16c74a6
a fix and a small cleanup
...
svn path=/icecast/branches/kh/icecast/; revision=7330
2004-07-25 17:00:38 +00:00
Karl Heyes
c5e132e311
enabled clients to be redirected to a randomly selected slave when
...
max clients has been reached. This uses the HTTP 302 code
svn path=/icecast/branches/kh/icecast/; revision=7329
2004-07-25 16:38:00 +00:00
Karl Heyes
a2c7be340e
allow for all relays to default to on-demand, and update per-client write limits
...
svn path=/icecast/branches/kh/icecast/; revision=7298
2004-07-24 00:56:05 +00:00
Karl Heyes
5c943c1d3f
fix writ handler, and log codec attempts when in debug level
...
svn path=/icecast/branches/kh/icecast/; revision=7292
2004-07-23 21:03:30 +00:00
Karl Heyes
cd2b53697e
add writ stream handling
...
svn path=/icecast/branches/kh/icecast/; revision=7218
2004-07-21 13:01:56 +00:00
Karl Heyes
5fae00fb71
various updates, some cleanups, fixup some mp3 metadata via url problems
...
make re-sync to trunk easier
svn path=/icecast/branches/kh/icecast/; revision=7176
2004-07-19 21:28:12 +00:00
Karl Heyes
47dd068dee
Wait 5 mins before retrying after a failed YP request, match trunk behaviour
...
svn path=/icecast/branches/kh/icecast/; revision=7099
2004-07-11 20:04:50 +00:00
j
202cb2fece
reimport2: add new files
...
svn path=/icecast/branches/kh/icecast/; revision=7096
2004-07-11 18:13:09 +00:00
j
09f7f18d5b
reimport icecast-kh to branches/kh/icecast; this time as a branch of trunk/icecast
...
svn path=/icecast/branches/kh/icecast/; revision=7095
2004-07-11 18:09:05 +00:00
brendan
081a4f6194
KH branch of net module
...
svn path=/icecast/branches/kh/net/; revision=7015
2004-07-06 06:56:12 +00:00
brendan
eb18f73bbc
KH thread module branch import.
...
svn path=/icecast/branches/kh/thread/; revision=7014
2004-07-06 06:51:10 +00:00
brendan
5960df0ce8
Prepare KH thread branch
...
svn path=/icecast/branches/kh/thread/; revision=7013
2004-07-06 06:47:07 +00:00
Karl Heyes
a99d5ef19b
minor build fix
...
svn path=/icecast/trunk/httpp/; revision=6874
2004-06-25 19:39:12 +00:00
Karl Heyes
813d54bee1
wait 5 mins on failed YP request, also log a default
...
message if no error message is sent back
svn path=/icecast/trunk/icecast/; revision=6862
2004-06-25 18:25:10 +00:00
j
0b1b990cf8
add speex.m4 to trunk/m4
...
svn path=/icecast/trunk/m4/; revision=6852
2004-06-24 18:51:41 +00:00
giles
d6d634ac02
Recommit of changes lost in the server migration
...
Original commit (r6810) 2004-06-04 03:15:36 -0400 (Fri, 04 Jun 2004) by msmith.
Fix #526 . Fallbacks weren't being found when the primary was disconnected (for
newly-connecting clients).
svn path=/icecast/trunk/icecast/; revision=6810
2004-06-06 03:08:19 +00:00
Karl Heyes
fe2a763e9e
make sure YP entries are flushed out when a source stops. Avoid
...
segv on failed icecast startup and add some log messages.
svn path=/icecast/trunk/icecast/; revision=6807
2004-06-02 19:34:14 +00:00
oddsock
fcef29c60a
remove geturl.c from icecast.dsp
...
add a #define for snprintf for win32
svn path=/icecast/trunk/icecast/; revision=6757
2004-05-26 02:37:20 +00:00
oddsock
56cd1de3c5
added ability to disallow concurrent connections from the same username if using htpasswd listener authentication.
...
svn path=/icecast/trunk/icecast/; revision=6711
2004-05-17 04:33:46 +00:00
Michael Smith
71388d47c6
Some servers apparently send a Content-Type header of audio/x-mpeg.
...
Make icecast understand this.
svn path=/icecast/trunk/icecast/; revision=6649
2004-05-11 02:24:18 +00:00
Karl Heyes
55ba59f3f7
Update of the YP code. This should resolve several YP issues that
...
have been reported, the main one being icecast instability when
there is a YP server outage.
svn path=/icecast/trunk/icecast/; revision=6646
2004-05-10 16:17:56 +00:00
Michael Smith
dc9903512d
Use remove() then rename() only on win32 - where it's required.
...
Don't use it on unix systems, which don't need it, and where doing
_only_ rename() preserves atomicity.
svn path=/icecast/trunk/icecast/; revision=6625
2004-05-05 05:05:05 +00:00
oddsock
d11f777888
much better documentation of listener authentication
...
svn path=/icecast/trunk/icecast/; revision=6617
2004-05-03 15:00:18 +00:00
oddsock
dfdff77871
some special handling with rename() needed for win32
...
svn path=/icecast/trunk/icecast/; revision=6616
2004-05-03 14:59:40 +00:00
oddsock
e597b63c6a
proper config file handling...
...
svn path=/icecast/trunk/icecast/; revision=6615
2004-05-03 14:56:57 +00:00