Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/AzuraCast/icecast-kh-ac

A specialized derivative of the Icecast-KH fork of Icecast with special changes intended for the AzuraCast web radio suite. See the upstream repository for assistance!
https://github.com/AzuraCast/icecast-kh-ac

make mpeg parser pass through data if no frames can be found.

cbf0887bd89c1ab0ab60d40a21e0ce3d3f3da04e authored over 9 years ago by Karl Heyes <[email protected]>
avoid worker stall in non-critical path for YP recheck

2970edf9cba56c49d480f561956869829d00db22 authored over 9 years ago by Karl Heyes <[email protected]>
have the return code check on a mutex lock get verified in all cases.

normally the code is 0 for the mutex lock case or it blocks, any other code should
mean a signif...

675e6bedd6b4b3fe439b63858e2033918e232db9 authored over 9 years ago by Karl Heyes <[email protected]>
set a max send size default in cases of mp3/aac files, else it gets stuck thinking nothing to send

421f15c4ac262cd6c0a561ba11b92173d768a32a authored over 9 years ago by Karl Heyes <[email protected]>
make range requests 0- be treated as 200 OK. should fix chrome

a33c630de792e06c2c6f75603384e764b3a881f4 authored over 9 years ago by Karl Heyes <[email protected]>
prevent HEAD request on inactive relay causing crash

baa96a36104017b54c92d6d302bfd4014a2651b6 authored over 9 years ago by Karl Heyes <[email protected]>
improve the range and HEAD handling.

certain players like iphone issue range requests but react poorly if a 206 response code
is retu...

b02080feb46a51bb2ca7bf6848a2992d8adb17ab authored over 9 years ago by Karl Heyes <[email protected]>
small logging fix to previous commit, only report on inconsistency

c02e9b79e7e0faac8dd0ce4913697eb0bfb19757 authored over 9 years ago by Karl Heyes <[email protected]>
error message on odd cases, help to guard against races

313400b214148158d162a01754739cf578282d18 authored over 9 years ago by Karl Heyes <[email protected]>
update to non-ogg speed and buffer size determination rules

This makes the default queue block size slightly larger (setting settable with qblock-size)
but ...

66525240bf8522051b8bdc28a16d1d61605b49a0 authored over 9 years ago by Karl Heyes <[email protected]>
allow for qblock-size figure to override the automatic block size adjustment

To allow for site specific concerns, allow for a target for block sizing on non-ogg
streams. Thi...

4c742634385c3e310a0461ba76ff7bc987bcea9e authored over 9 years ago by Karl Heyes <[email protected]>
avoid possible div zero error

c7ad7471128718cca70fbe98c5558f223d505ad1 authored over 9 years ago by Karl Heyes <[email protected]>
increase the cap on the largest block size allowed, about 8k

1738628eccc43f60da19d46adf602a22fc494d7e authored over 9 years ago by Karl Heyes <[email protected]>
scale up the queue block size from ~480kbps.

this may need a more non-linear scaling eventually so this should just allow for
a larger bandwi...

a6bd6f965ee86537dfc4e1370df199b031486394 authored over 9 years ago by Karl Heyes <[email protected]>
two timing changes for source/listener client rescheduling and a automatic queue block size adjustment

With dealing with very high bitrate streams, 1 mbit+, certain internal limits prevent
sufficient...

c8209a2684e2ec984be3006d40698743b5d8aaa4 authored over 9 years ago by Karl Heyes <[email protected]>
code re-org to get length header in certain less common cases

87b5670f15af045787d732eebf9bba772ede5af3 authored over 9 years ago by Karl Heyes <[email protected]>
fix possible crash case with both MY_ALLOC and the xml x-forward-for set

ff29f45ed5c69eb44ad9ac415aef8adbc8f7451e authored over 9 years ago by Karl Heyes <[email protected]>
prevent illegal instruction dump on icecast shutdown.

It only shows on later glibc and really means a multiple unlock which is undefined per spec.
the...

8eea519462aa7d6d0da7bf2c60e689873e1f6b1d authored over 9 years ago by Karl Heyes <[email protected]>
changes for later autofoo. removes warnings

222dc006f9017e5fc28d96bf7534d1cfd8086b2e authored over 9 years ago by Karl Heyes <[email protected]>
win32 update since updating mingw32 build

This is because gmtime_r and localtime_r are not really defined by deault without some extra
def...

01fa840fe3e9ecd906c637f43f7d2b39049321a8 authored over 9 years ago by Karl Heyes <[email protected]>
cut a 2.4.0 kh1 release

eae8c9f75699d43df710f40875b23fe1418b7c0f authored over 9 years ago by Karl Heyes <[email protected]>
treat some failure cases correctly if the presume innocent setting is in use

cbbf32cee49a334f415e6774232b953487e70574 authored over 9 years ago by Karl Heyes <[email protected]>
fix for when MY_ALLOC is set. not normally used

3cb46248cff4cbc9a4191270657b3edc5ac88b0a authored over 9 years ago by Karl Heyes <[email protected]>
tidy build for win32

a77e6a32d3940ad95369840d40cbee96c0386862 authored over 9 years ago by Karl Heyes <[email protected]>
add sanity checks for obviously incorrect cases

8e773b9fe00e4f8a8a65dfac2ae1899157aeb452 authored over 9 years ago by Karl Heyes <[email protected]>
minor tweak to default mime types

68b511de0ee5290bc8293b3334cd1427f264ef58 authored over 9 years ago by Karl Heyes <[email protected]>
fix for the 'Detected an entity reference loop' message

65c8bc389c349d539d6efb8b576ccf4af58869f7 authored over 9 years ago by Karl Heyes <[email protected]>
header parsing in auth url updated to handle spacing better

f058f666cbac825e662f8dbb96889cb09376ffc5 authored almost 10 years ago by Karl Heyes <[email protected]>
preload default types then try to load the mime types file

seems that some installs of mime.types miss the audio/aac type, so by doing a small
rearrangment...

1874ea73e5371e62e45318cd3e9b5d13df55ec86 authored almost 10 years ago by Karl Heyes <[email protected]>
small build updates for win32 compatability

fc0f5f1f9cef9f2eeec0b20dabcd2d5177df5e1a authored almost 10 years ago by Karl Heyes <[email protected]>
fixed possible abort trigger with multiple missing xslt requests

double unlock causing thread routines to abort process

4ca442f9e7ee515deb70b8790378bfda5d35c008 authored almost 10 years ago by Karl Heyes <[email protected]>
update to autofoo

109bd6ac96b2cbb2b84f54815e17c2828183b0a5 authored almost 10 years ago by Karl Heyes <[email protected]>
fix issue in previous source client starting commit

Don't drop any data or else subsequent processing could get stuffed, shows up more so
with ogg, ...

c0ed89150d9f811148f7d3587c0235b1ea1f3f80 authored almost 10 years ago by Karl Heyes <[email protected]>
handle a PUT request sending an Expect header

d518fc88f5f8540342a98ced45821f0bf7aaf7aa authored almost 10 years ago by Karl Heyes <[email protected]>
minor cleanups

1de3d2c13539cf02030c00aee683826e00fae98d authored almost 10 years ago by Karl Heyes <[email protected]>
fixup requeue listener handler to work better.

requeuing listeners was not working best where it was, moved it into the queue advanced
function...

cdfef2bd9e4bfcc25ceb0e71dbc2589782dd851f authored almost 10 years ago by Karl Heyes <[email protected]>
avoid possible crash case. hard to trigger

if a client rejoins the queue, after a short write occurs on the metadata then the blocks are
co...

729a8de65a5ef8841867973145f045584ddc860e authored almost 10 years ago by Karl Heyes <[email protected]>
remove possible abort trigger when min queue size is reduced

the queue prune routine was had an abort trap if it ever came across the min queue. As it is
not...

4a0ef8fecce189a764a37982b397bfd75cb99c80 authored almost 10 years ago by Karl Heyes <[email protected]>
fix ssl routines to handle stalls better

stalls were being mistreated as significant errors, subtle differences between
openssl api and n...

0a516c10d399f60f18d65bdb76e04c16c3843490 authored almost 10 years ago by Karl Heyes <[email protected]>
Merge pull request #98 from kjwierenga/feature/source-x-forwarded-for

Also apply x-forwarded-for on source connections.

4109ab3dda20da1b7f04b0cdb5ce2484942c3c3c authored almost 10 years ago by Karl Heyes <[email protected]>
get log messages to be more strict on type checking

a couple of these were defintely wrong and can lead to invalid pointer access

8fc46eaeb1df3e07c229b82560b964cd9e88b119 authored almost 10 years ago by Karl Heyes <[email protected]>
fix issue raised by Klaas Jan, handle blank usernames and encode them to

keep the validity of the CLF format.

bca92f4379d3f6d77c7ff09b56962cba89e7b030 authored almost 10 years ago by Karl Heyes <[email protected]>
cleanup xslt cache/reader processing.

fixes some uninitialised memory issues

22e93f4a4e4b1bf254b21e0938a4ab6b40b1875a authored almost 10 years ago by Karl Heyes <[email protected]>
make PUT the same as SOURCE

21a7ec3b86da177e76473782cf381d834b4bf2ae authored almost 10 years ago by Karl Heyes <[email protected]>
allow type=.fla as a trigger for FLV wrapping

f729132f748048b2f4af5c1895ddac6947651f0c authored almost 10 years ago by Karl Heyes <[email protected]>
user the real/effective/saved user/group calls if available

0ff33d581f3ee6a82895c2917812757088c496fd authored almost 10 years ago by Karl Heyes <[email protected]>
drop FD 0 1 2 before source [dis]connect exec.

Most FDs are not exported to a child process, but it can leak, and there is no real
good way of ...

6aa0c0939d2697ffc8ca2083c3fa6229175832f7 authored almost 10 years ago by Karl Heyes <[email protected]>
prevent worker pipes being passed to exec'd processes

these are for linux only really but the POSIX standard does not really address
the issue of crea...

87f7236750722609ceb0a462b78541001edc7640 authored almost 10 years ago by Karl Heyes <[email protected]>
add in the " around the filename in Disposition header as well

17d0eb28e5e7f8126f1fe3bb0a117b801b4c84a1 authored almost 10 years ago by Karl Heyes <[email protected]>
revert a previous patch and leave a guard in place

c81947a2b9fbcff8f12b774ccaffa3299c2bfef2 authored almost 10 years ago by Karl Heyes <[email protected]>
fix header line Content-Disposition

4c6f5953117b8b3af93a1dc386f48f2c5972cd2c authored almost 10 years ago by Karl Heyes <[email protected]>
avoid possible race case in relay removal.

Hard to trigger currently without the STATS link being used to create relays

b9addb98f3edb45a9b7c157a602a747739783464 authored about 10 years ago by Karl Heyes <[email protected]>
minor stuff, no functional change

bfe7ba46bf26fe55f8b544ff5e1fc00df8811d4e authored about 10 years ago by Karl Heyes <[email protected]>
do not drop lock at this stage as the exit routine assumes it's already taken

The spec leaves it as undefined behaviour and some platforms trigger a crash

c8baa61cb6e6db635682fece0921da7097e11c57 authored about 10 years ago by Karl Heyes <[email protected]>
log error message failure from rwlock if present.

278854c1c17516b09cbd8932a16172ec2df8b51d authored about 10 years ago by Karl Heyes <[email protected]>
for ogg feeds, make sure a new block is allocated and index starting at beginning

2396a578ab2f925cebbbf3a7967038337e8ec7f7 authored about 10 years ago by Karl Heyes <[email protected]>
use 2.4.x setting for default SSL cipher settings.

54d6e4487ba3840658439beae21e61bb2a4381b1 authored about 10 years ago by Karl Heyes <[email protected]>
allow for moving a lagging listener to the front of the queue

In cases where links can have large periodic stalls, eg wireless, there can be a problem of
drop...

7f1337b2fdc181e597106d41954a9711a3c174cc authored about 10 years ago by Karl Heyes <[email protected]>
send a CORS template for both HEAD and OPTIONS requests

6f6702eb95b0665a4c40ec77fa87277fac7f29bd authored about 10 years ago by Karl Heyes <[email protected]>
open up the write throttle for unparsed file content

03af47cd8e4e525c92ca3c47a86e90d80cc0639d authored about 10 years ago by Karl Heyes <[email protected]>
minor log message change

886231fb2a08a833ff98886f76483fffab2a5157 authored over 10 years ago by Karl Heyes <[email protected]>
expand on previous patch, avoid messages in error log

78f81c03c3a237125c89f5cf3daaac4e68e6065f authored over 10 years ago by Karl Heyes <[email protected]>
fix up error return values on socket for win32

not sure if my update to mingw has changed some assumptions or whether there was a
some mismatch...

069fa68b79ac83323785b5cae67d733d7e8f69ba authored over 10 years ago by Karl Heyes <[email protected]>
don't flag error if we are to send a further response.

dbb7c4f3153abbecd3782694f4b19b3818db5864 authored over 10 years ago by Karl Heyes <[email protected]>
minor tweak, avoid some work if banned client arrives

8f54823855e5d0e7e3a19add774eddbef41bba81 authored over 10 years ago by Karl Heyes <[email protected]>
Allow for using the local file reference as auth/accesslog selection

Still use the original name for the lookup if a fallback is in use, otherwise use
whatever file ...

01efe1f4c94cb68fdba9b3583fba146f6e48b140 authored over 10 years ago by Karl Heyes <[email protected]>
update installer config.

initial win32 was not quite complete since my last OS update changed some of the
assumptions fro...

f1ce51afa9000ee693a755830d9a4b8602cbe011 authored over 10 years ago by Karl Heyes <[email protected]>
Apply x-forwarded-for first (before break).

f1f2158730e6fc4eae9d47535b7e60da17c9e6ab authored over 10 years ago by Klaas Jan Wierenga <[email protected]>
Apply x-forwarded-for to source clients too.

b80bd7a2de5e91e374958d69bb1b3abcec4e320c authored over 10 years ago by Klaas Jan Wierenga <[email protected]>
update build scripts for kh11

This release has been waiting around for too long. many people have already
been using it from g...

a2a68b4b407046cbda0f15cc259701878bd27c36 authored over 10 years ago by Karl Heyes <[email protected]>
minor change, web pages could do with updating to newer standards

0cd8b150e9cc167609d030ab6b241ee730d51695 authored over 10 years ago by Karl Heyes <[email protected]>
update ssl loader to handle ciphers, keeps in sync with 2.4.x

953562d660fd331e8337163dc239414148887e13 authored over 10 years ago by Karl Heyes <[email protected]>
annoying to backward compatible (2.x) setting for external apps

56361fd7c8d9c00cad1b62bff1ffc63f628d395a authored over 10 years ago by Karl Heyes <[email protected]>
allow stack size to be larger than we set ages ago.

the stack was reduced because of the trunk build using 1 thread per stream model
doing so allowe...

f5eddfb49f90d9bfad28bb11880de6ebbe5cfa2c authored over 10 years ago by Karl Heyes <[email protected]>
report slow run throughs of a worker, should help identify a problem

cb5bf39be26e6bcf2ffed86f65005ee78e5647d5 authored over 10 years ago by Karl Heyes <[email protected]>
remove rare race case on source shutdown and delayed listener termination.

if the cleanup of listeners on source shutdown is delayed enough then the 1 second trap
can kick...

511e106ecd28d09bb238bd159a7d7c304a06a087 authored over 10 years ago by Karl Heyes <[email protected]>
do not disable an on-demand relay host if it hasn't streamed for long

7ae61ef6e5d2bbe1e891223f29006faebd2f8326 authored over 10 years ago by Karl Heyes <[email protected]>
avoid possible race with a stale stats handle

It could be possible for a new source to register and acquire a stats handle
after a previous so...

014b8d440d24ca733620ef2c3bb8808627966b32 authored over 10 years ago by Karl Heyes <[email protected]>
allow on-demand relays to run-on a short while when last listener goes

To prevent needless restarts on intermittent listeners connecting, allow an
on-demand relay to c...

f8e7edad73646c65d2da0349d17de85ccfccda24 authored over 10 years ago by Karl Heyes <[email protected]>
prevent possible crash

we should only do the shutdown extras like auth end if there is a parser as
well as a connection...

95d78a188d1db0b99f803463ff51e9d96941d481 authored over 10 years ago by Karl Heyes <[email protected]>
use an average for new block sizing on mp3/aac streams.

To help in reducing memory copies, the new block sizing when processing the
partial frames can n...

a57476265ad4f9b818663dff41a030b38e5181ef authored over 10 years ago by Karl Heyes <[email protected]>
fix possible misalignment of icy metadata if headers and data are received at once

The block containing that data was getting dropped after the header processing so
ignored the in...

b4118f2e82a1678c9d1e9b3ed5dc8c4dfc96f74f authored over 10 years ago by Karl Heyes <[email protected]>
dynamically added IPs removal code incorrectly removed static banned IPs

The selection criteria didn't exclude the zero timestamp, so provided the static IP
was in the p...

c8a448b2f735a00dc15bb6b65103d3a027a0484f authored over 10 years ago by Karl Heyes <[email protected]>
smaller update to previous cache file check.

make sure the whole structure is initialized when started, so that any file reading
is done on t...

b6e74ae9346cce03854220d896915b62d7fa1357 authored over 10 years ago by Karl Heyes <[email protected]>
wildcard in IP/agent files fixed

the wildcard handling was broken in a number of cases when you placed multiple wildcards
in the ...

8248216ca34f3e8c8d6ac85fe2c8300df8ad52b5 authored over 10 years ago by Karl Heyes <[email protected]>
add referer to listener stats

a46161df0b155091273a01a4a433579d4bf36676 authored over 10 years ago by Karl Heyes <[email protected]>
handle unrecognised icy metadata from relay to be sent to listeners

both StreamTitle and StreamUrl are recognised but some may use others to
provide information so ...

2a5952638178b4e7c4677290389b9d51d6455054 authored over 10 years ago by Karl Heyes <[email protected]>
whitespace removal

c8924b252c91a0d33aec39e8bba8c00d0c531750 authored over 10 years ago by Karl Heyes <[email protected]>
drop the WMFSDK check for triggering ICY response

4d92acee8a2e2b277237bd2690c1048e160915a5 authored over 10 years ago by Karl Heyes <[email protected]>
add UTF8 check, prevents mismatched encoding getting through to breaking xsl translations

a0a92b92167684edd1c9c319b8e21e254e89910d authored over 10 years ago by Karl Heyes <[email protected]>
remove any YP error message after logging it

If something like 'success' was returned initially, any subsequent failure would
still have that...

3fd8e57d332bd31ca9773a3f050178b2a1cc95f8 authored over 10 years ago by Karl Heyes <[email protected]>
add CORS and connection close headers to streams/files, was just on xsl

93e5de78ccf6edaf6b30878bc533d3d1850b0f3a authored over 10 years ago by Karl Heyes <[email protected]>
make sure multiple blocks are checked for and released in all cases with non-shared blocks.

we used to have special case for intro content from auth to flush out multiple
blocks but since ...

407261b1084052d9abbe53c5afba7238ed6df59c authored over 10 years ago by Karl Heyes <[email protected]>
report mountpoint in yp log messages

ddea22b758a95b4913eded4b24ce1da36c81fc28 authored over 10 years ago by Karl Heyes <[email protected]>
fix compile error in test cases

a23ba37ab8e4f9f68e1546e323b52c36537ae822 authored over 10 years ago by Karl Heyes <[email protected]>
merge alloc routine for memory checker

only used if explicitly enabled

bde59cc7f313d570690725607b1fb88e32e0dcd4 authored over 10 years ago by Karl Heyes <[email protected]>
add ip/agent onto mount_remove triggers for use by url auth

this expands on a previous commit to add the same information for the stream
remove case.

944598e87cce0e6d9910defdee84bb33b6bbd5e4 authored over 10 years ago by Karl Heyes <[email protected]>
force an initialisation for optional cases although they should not be an issue now

be3a6b7633b007bd7fc2a3f10cf8c2304a289076 authored over 10 years ago by Karl Heyes <[email protected]>
make sure we provide an IP on mount_add triggers, also provide useragent

Case to watch for here is slow auth. If the auth processing is getting delayed for whatever
reas...

a5260a6bf1703fe9f4bd4bb4a6c33f19cb9ad65d authored over 10 years ago by Karl Heyes <[email protected]>
avoid possible bad pointer on race case

It is possible that on a relay restart, after the stats are flushed, and the slave thread
kicks ...

45cf6dfee313e0cdab10ecc6ddf4d9a19312fece authored almost 11 years ago by Karl Heyes <[email protected]>