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
Karl Heyes
22bfd6585c
allow for changes to touch frequency on touch request as well as add. send
...
useragent as icecast version
svn path=/icecast/branches/kh/icecast/; revision=9450
2005-06-14 13:20:52 +00:00
Karl Heyes
22fe9593a0
missed this from previous patch, error case
...
svn path=/icecast/branches/kh/icecast/; revision=9446
2005-06-13 21:54:16 +00:00
Karl Heyes
0797820aab
file serve update. xsl/xml pages from webroot or adminroot are passed to file
...
server thread for delivery. Also small sync-up with trunk
svn path=/icecast/branches/kh/icecast/; revision=9445
2005-06-13 16:43:44 +00:00
Karl Heyes
f684729145
bump version to kh10
...
svn path=/icecast/branches/kh/icecast/; revision=9439
2005-06-11 13:39:00 +00:00
Karl Heyes
56db05a13f
small cleanups, and a few extra checks added
...
svn path=/icecast/branches/kh/icecast/; revision=9438
2005-06-11 13:31:40 +00:00
Karl Heyes
b48b6d2eb9
small stats cleanup, resync docs
...
svn path=/icecast/branches/kh/icecast/; revision=9436
2005-06-10 19:40:57 +00:00
Karl Heyes
5555f60b4e
sync up work from recent merging
...
svn path=/icecast/branches/kh/icecast/; revision=9433
2005-06-10 13:22:06 +00:00
Karl Heyes
343588ca3c
sync-up with recent merge
...
svn path=/icecast/branches/kh/icecast/; revision=9419
2005-06-09 13:55:59 +00:00
Karl Heyes
d051a7ceb6
bump version to kh9
...
svn path=/icecast/branches/kh/icecast/; revision=9351
2005-06-04 17:26:46 +00:00
Karl Heyes
bdca847e9f
don't go silly on the stats logging for the moment. Add user_agent to stats
...
from source client if one present. A small update to the xsl pages.
svn path=/icecast/branches/kh/icecast/; revision=9350
2005-06-04 17:12:33 +00:00
Karl Heyes
e2f81fa32e
oops, missed a ; from previous patchr. fix wrong time at start, and add
...
stat for server-wide accumulated listeners
svn path=/icecast/branches/kh/icecast/; revision=9348
2005-06-04 13:48:30 +00:00
Karl Heyes
9619ac178c
test fix for real/helix metadata bug. Make the initial metadata StreamTitle='';
...
so that playback isn't screwed up
svn path=/icecast/branches/kh/icecast/; revision=9347
2005-06-04 13:22:47 +00:00
Karl Heyes
c59efaa3f2
add listener peak stats and sync-up docs
...
svn path=/icecast/branches/kh/icecast/; revision=9346
2005-06-04 01:03:02 +00:00
Karl Heyes
2dfd97a1dd
update for intro and fallback to file handling.
...
svn path=/icecast/branches/kh/icecast/; revision=9339
2005-06-03 03:17:06 +00:00
Karl Heyes
0014544c8e
drop source_t pending list, a leftover from previous migration, ended up
...
causing more work than needed
svn path=/icecast/branches/kh/icecast/; revision=9332
2005-06-01 02:05:04 +00:00
Karl Heyes
99a8123504
bump version to kh8, a bug fix release really
...
svn path=/icecast/branches/kh/icecast/; revision=9329
2005-05-30 21:16:32 +00:00
Karl Heyes
5286957a8f
oops, moving clients broke, they became flagged for disconnection
...
svn path=/icecast/branches/kh/icecast/; revision=9328
2005-05-30 21:01:49 +00:00
Karl Heyes
86e238721f
docs update
...
svn path=/icecast/branches/kh/icecast/; revision=9327
2005-05-30 16:49:41 +00:00
Karl Heyes
1f890cae68
remove duplication
...
svn path=/icecast/branches/kh/icecast/; revision=9322
2005-05-28 14:58:27 +00:00
Karl Heyes
cfd08fc579
bump version to 2.2-kh7
...
svn path=/icecast/branches/kh/icecast/; revision=9319
2005-05-27 17:40:32 +00:00
Karl Heyes
c8973699d5
rename the relay admin handler now that the admin pages are updated
...
svn path=/icecast/branches/kh/icecast/; revision=9318
2005-05-27 17:34:46 +00:00
Karl Heyes
5f782591f6
various type cleanups. Add mechanism for enabling/disabling relays via
...
admin URL
svn path=/icecast/branches/kh/icecast/; revision=9317
2005-05-27 12:56:07 +00:00
Karl Heyes
f158db640d
handle changes to burst setting mid-stream
...
svn path=/icecast/branches/kh/icecast/; revision=9312
2005-05-25 15:20:56 +00:00
Karl Heyes
19961bb900
don't duplicate the setting for the [dis]connect scripts, lookup the mount
...
details when needed. Fix formating bug for win32 access.log
svn path=/icecast/branches/kh/icecast/; revision=9311
2005-05-25 14:27:33 +00:00
Karl Heyes
5635c6558e
cleanup the fast client processing, this has been wanted for some time but
...
recent changes in kh6 caused a busy loop effect so that forced the issue.
svn path=/icecast/branches/kh/icecast/; revision=9301
2005-05-22 17:01:30 +00:00
Karl Heyes
eea262bd39
a small update and bump version
...
svn path=/icecast/branches/kh/icecast/; revision=9293
2005-05-19 15:00:02 +00:00
Karl Heyes
d35d39c0d6
handle mount updates on active streams better. update YP and triggers for
...
rebuilding source stats to account for it as well
svn path=/icecast/branches/kh/icecast/; revision=9291
2005-05-18 14:46:00 +00:00
Karl Heyes
008bcd561b
sync-up work for trunk merging, cleanup the mechanism for rebuilding the
...
mount stats.
svn path=/icecast/branches/kh/icecast/; revision=9285
2005-05-15 17:24:44 +00:00
Karl Heyes
4916bf262d
more sync with trunk work. Do internal changes to remove some duplication
...
svn path=/icecast/branches/kh/icecast/; revision=9269
2005-05-11 20:34:10 +00:00
Karl Heyes
a5b51ecf37
sync up work. a couple of places where mount list traversal did not use
...
the search function. small bits from merge work were found
svn path=/icecast/branches/kh/icecast/; revision=9235
2005-05-07 22:42:39 +00:00
Karl Heyes
98d297a76c
sync-up and cleanup from recent merge
...
svn path=/icecast/branches/kh/icecast/; revision=9221
2005-05-07 01:07:56 +00:00
Karl Heyes
d0a89a9b22
bump version
...
svn path=/icecast/branches/kh/icecast/; revision=9211
2005-05-05 02:03:12 +00:00
Karl Heyes
545bc6011c
check in work. shoutcast source clients refer to mount list before selecting
...
the password to use. reduce usage of time syscall. fixup explicit stream stats.
initial implementation of average rate estimation. Added new stats
svn path=/icecast/branches/kh/icecast/; revision=9210
2005-05-04 17:47:05 +00:00
Karl Heyes
e140cf1b13
check in for various small bits. stats update (both the thread and added
...
per-mount bytes sent/received). Added client read function to remove some
code duplication. The default metadata interval for new clients should be
the same as the input if there is one.
svn path=/icecast/branches/kh/icecast/; revision=9204
2005-05-02 14:05:15 +00:00