Karl Heyes
787f86116e
small name change to previous patch
...
svn path=/icecast/branches/kh/icecast/; revision=9781
2005-08-20 17:13:58 +00:00
Karl Heyes
a01d64cdaa
add per-mount time limit for listeners
...
svn path=/icecast/branches/kh/icecast/; revision=9775
2005-08-19 21:46:25 +00:00
Karl Heyes
4576bddbe2
merge changes made on trunk. various small doc updates, redirecting of
...
xml/xslt errors to error log, pidfile creation change, -b closing terminal
fds, and auth_url option/action name consistency cleanup
svn path=/icecast/branches/kh/icecast/; revision=9770
2005-08-18 01:17:30 +00:00
Karl Heyes
1725c70d71
don't overwrite any surplus read in data, save it seperately for the
...
later processing
svn path=/icecast/branches/kh/icecast/; revision=9769
2005-08-18 01:10:43 +00:00
Karl Heyes
5e61e76b24
someone reported a quicktime hack needed for m3u, needing icy:// links
...
svn path=/icecast/branches/kh/icecast/; revision=9752
2005-08-15 02:07:50 +00:00
Karl Heyes
9faab0e8dd
sync up with recent work on merging with trunk. Add artwork= check in
...
update metadata code in admin, takes a url
svn path=/icecast/branches/kh/icecast/; revision=9748
2005-08-13 15:46:12 +00:00
Karl Heyes
0ebeb29544
small issues that have been reported. 1 compile error for some and fixup
...
2 links on the webroot pages
svn path=/icecast/branches/kh/icecast/; revision=9728
2005-08-11 14:14:40 +00:00
Karl Heyes
cf5f9ab673
bump version to kh16
...
svn path=/icecast/branches/kh/icecast/; revision=9726
2005-08-10 21:17:36 +00:00
Karl Heyes
7e0e691777
xsl page changes by Dave St John
...
svn path=/icecast/branches/kh/icecast/; revision=9725
2005-08-10 20:48:10 +00:00
Karl Heyes
6732274bbd
wrong svn mime type
...
svn path=/icecast/branches/kh/icecast/; revision=9724
2005-08-10 20:11:51 +00:00
Karl Heyes
1ff370d384
perform streamlist request via curl in a seperate thread, allow for using
...
an ssl port of the master server. Other minor cleanups, typos etc
svn path=/icecast/branches/kh/icecast/; revision=9723
2005-08-10 17:24:35 +00:00
Karl Heyes
de20891c40
allow the use of a older libxslt on platforms other than win32
...
svn path=/icecast/branches/kh/icecast/; revision=9719
2005-08-09 01:01:04 +00:00
Karl Heyes
853b7af193
add limiter for authentication queue and check for the no-mount setting at
...
the adding of the listener, no need to save it in the source_t.
svn path=/icecast/branches/kh/icecast/; revision=9712
2005-08-07 17:42:41 +00:00
Karl Heyes
9a08511872
minor update to auth url
...
svn path=/icecast/branches/kh/icecast/; revision=9710
2005-08-07 01:32:37 +00:00
Karl Heyes
94f745cb51
fix off by 1 error. users of oddcast DSP may show this up
...
svn path=/icecast/branches/kh/icecast/; revision=9708
2005-08-06 16:35:53 +00:00
Karl Heyes
8b096eaf64
re-arrange SSL handling slightly, less #ifdef mess in client.c
...
svn path=/icecast/branches/kh/icecast/; revision=9690
2005-08-02 02:45:35 +00:00
Karl Heyes
bdace5de80
bump version to kh15
...
svn path=/icecast/branches/kh/icecast/; revision=9657
2005-07-30 17:48:42 +00:00
Karl Heyes
eadfcbe19f
initial ssl port handling work
...
svn path=/icecast/branches/kh/icecast/; revision=9656
2005-07-30 17:16:21 +00:00
Karl Heyes
29f3d6639b
revert 1 change from previous patch as that was breaking relays, typically
...
relays with shoutcast-style metadata as the alignment was out.
svn path=/icecast/branches/kh/icecast/; revision=9654
2005-07-30 14:06:40 +00:00
oddsock
fc44206549
windows-isms...
...
svn path=/icecast/branches/kh/icecast/; revision=9646
2005-07-29 23:28:57 +00:00
Karl Heyes
0fa2520024
segv fix, doesn't happen in typical cases but it depends on the data sent by
...
the client.
svn path=/icecast/branches/kh/icecast/; revision=9642
2005-07-29 14:15:16 +00:00
Karl Heyes
68ae19fb0b
fix segv case
...
svn path=/icecast/branches/kh/icecast/; revision=9641
2005-07-29 11:48:13 +00:00
Karl Heyes
5650d0b593
various fixes/updates collected. send http response codes via the client
...
buffer to the fserve engine, using a callback for 200 OK. Create a client_t
even on reaching the client limit as that allows for sending response via
fserve, should help with SSL migration work later
svn path=/icecast/branches/kh/icecast/; revision=9634
2005-07-28 13:19:25 +00:00
Karl Heyes
586984b002
bump version to kh14
...
svn path=/icecast/branches/kh/icecast/; revision=9586
2005-07-19 01:38:18 +00:00
Karl Heyes
12b13d22da
add the favicon.ico file from the website
...
svn path=/icecast/branches/kh/icecast/; revision=9585
2005-07-19 01:33:28 +00:00
Karl Heyes
ddbf8b496e
auth update. make htpasswd use an in-memory avl tree with checks on the
...
file mtime to identify changes made externally. Add useragent field to
auth url.
svn path=/icecast/branches/kh/icecast/; revision=9583
2005-07-18 14:27:39 +00:00
oddsock
215e6c0170
win32 build updates
...
svn path=/icecast/branches/kh/icecast/; revision=9567
2005-07-15 15:52:57 +00:00
Karl Heyes
54e30ed807
without this, relays configured from a master icecast were flagged as disabled
...
svn path=/icecast/branches/kh/icecast/; revision=9566
2005-07-14 16:46:10 +00:00
Karl Heyes
ba7ba52788
auth update. handle missing options better. Add port= to each request POST. Add timelimit
...
mechanism for automatic listener termination (url auth gets actual time from auth server)
svn path=/icecast/branches/kh/icecast/; revision=9565
2005-07-14 10:29:34 +00:00
Karl Heyes
40b697b2c8
bump version is kh13
...
svn path=/icecast/branches/kh/icecast/; revision=9557
2005-07-10 14:29:35 +00:00
Karl Heyes
0aa1ae8945
cleanups various compiler warnings. Don't free up the buffer used for
...
reading http request from client, reused it for the response if need be.
Add additional checks in Ogg handler so that busy looping doesn't occur
and limit the number of codecs allocated.
svn path=/icecast/branches/kh/icecast/; revision=9555
2005-07-09 02:30:09 +00:00
Karl Heyes
ba2e000b4b
fix NULL pointer bug in yp.c for max_listeners. Add checks in config read
...
to avoid incomplete mount/relay settings
svn path=/icecast/branches/kh/icecast/; revision=9554
2005-07-09 02:17:56 +00:00
Karl Heyes
95b4b3bb4e
Missed from previous patch
...
svn path=/icecast/branches/kh/icecast/; revision=9552
2005-07-06 21:54:38 +00:00
Karl Heyes
773a0a868d
handle case where source client sends some stream data with the http-style
...
headers without waiting for the response code. The non-blocking connection
thread code ended up dropping the initial part of the stream data, which is
important with Ogg
svn path=/icecast/branches/kh/icecast/; revision=9549
2005-07-06 11:48:04 +00:00
Karl Heyes
60f05a3d2d
fix a couple of corner cases wrt xslt files, make sure sockets are closed
...
and that the buffer is truncated to the correct length or else some junk
chars may appear at the end.
svn path=/icecast/branches/kh/icecast/; revision=9546
2005-07-03 23:30:26 +00:00
Karl Heyes
b8df676ca3
make shoutcast source clients work if they send \n, and only log in access
...
log if there is a response code set
svn path=/icecast/branches/kh/icecast/; revision=9545
2005-07-03 14:10:46 +00:00
Karl Heyes
562df361f0
bump version to kh12
...
svn path=/icecast/branches/kh/icecast/; revision=9544
2005-07-02 16:21:26 +00:00
Karl Heyes
3519855f65
connection handler update, using non-blocking sockets from the start. build up
...
the incoming client request in a refbuf before handing off to the connection
thread for parsing.
To maintain compatability, shoutcast source clients are handled by first
processing the initial password line then pushed back to the listener thread
for reading the rest of the headers
It wasn't clear why we have a special case for config read in the connection
handler so for the moment it is checked in the slave thread. Also trying now
with 1 connection handler as that should be the last blocking point removed
svn path=/icecast/branches/kh/icecast/; revision=9543
2005-07-02 02:10:16 +00:00
Karl Heyes
5676e0d902
small leaks plugged
...
svn path=/icecast/branches/kh/icecast/; revision=9542
2005-07-02 01:47:51 +00:00
Karl Heyes
d374d123be
dump listeners stats with stats tree information for admin requests, but
...
make sure that stats.xsl skips over them.
svn path=/icecast/branches/kh/icecast/; revision=9509
2005-06-23 03:22:48 +00:00
Karl Heyes
58f848a6c3
set the length properly or else we may get some junk chars at the end
...
svn path=/icecast/branches/kh/icecast/; revision=9504
2005-06-22 00:36:54 +00:00
Karl Heyes
e6ddfb430f
slight reduction in lock taking at stream start and end. make sure fallback
...
to file is marked hidden in stats.
svn path=/icecast/branches/kh/icecast/; revision=9503
2005-06-21 22:19:38 +00:00
Karl Heyes
bb1ac78191
batch up passthrough stream like mp3 into bigger blocks, that way we can
...
reduce protocol overhead. Also drop nodelay setting as that just adds to
the problem (at low bitrates).
svn path=/icecast/branches/kh/icecast/; revision=9465
2005-06-18 13:31:41 +00:00
Karl Heyes
8fecc11c4d
missed relay list for slaves when sending response via file server thread.
...
svn path=/icecast/branches/kh/icecast/; revision=9463
2005-06-18 01:43:56 +00:00
Karl Heyes
b343f84502
send automatic m3u generated output via the file serving thread
...
svn path=/icecast/branches/kh/icecast/; revision=9461
2005-06-17 21:00:14 +00:00
Karl Heyes
31c6e21467
fix fd leak on streamlist.txt. A deletion too far when making admin responses
...
be handled by the file serving thread
svn path=/icecast/branches/kh/icecast/; revision=9459
2005-06-16 13:42:27 +00:00
Karl Heyes
548e6eb783
plug fd leak on error case. start at correct offset from burst point when
...
searching for sync point.
svn path=/icecast/branches/kh/icecast/; revision=9458
2005-06-16 01:58:53 +00:00
Karl Heyes
02604f1f9a
bump version to kh11
...
svn path=/icecast/branches/kh/icecast/; revision=9455
2005-06-15 02:53:30 +00:00
Karl Heyes
8831099472
update auth. small mem leaks fixed. make user pass requirement dependent on
...
specific auth component. pass original listener url request in auth url
svn path=/icecast/branches/kh/icecast/; revision=9454
2005-06-15 02:44:02 +00:00
Karl Heyes
054043eb02
minor changes
...
svn path=/icecast/branches/kh/icecast/; revision=9452
2005-06-15 02:13:43 +00:00