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

small changes for reporting memory used by libxml2 with MY_ALLOC

76281d8b6b11cbe1a4a3f53fb84066999d8065d5 authored over 8 years ago by Karl Heyes <[email protected]>
fix for iphone playback, became broke with some header changes

on range request, return the range and use * for the size of streams. All other
aspects should r...

f5c02f153b7f8a852c22263c2d0963904abf245a authored over 8 years ago by Karl Heyes <[email protected]>
off by 1 fix on range requests.

69ebb6c4af2c491fa696eae196d456e2afbeffcd authored over 8 years ago by Karl Heyes <[email protected]>
fix silly crash bug on failed server startup

because fserve init is dependent on change owner, it is not done during the normal
subsystem ini...

dfd7550c0db3ff05f6060367daccc892e28ed798 authored over 8 years ago by Karl Heyes <[email protected]>
add guard in case of being twice

e6fd6e6d53a107085db0278e998e3a45fe807f2b authored over 8 years ago by Karl Heyes <[email protected]>
expand on message about dropping listener, too vague when many streams

022fcecade4588355c5cd33cb2ac2e8813f3e801 authored over 8 years ago by Karl Heyes <[email protected]>
Subtle API change for the log content routine, fix leak case

The headers on log content request was getting leaked.

API change is really for the allocation ...

c665375d0a2146b01e687062415ee58dce217563 authored over 8 years ago by Karl Heyes <[email protected]>
block size scaling and listener throttling changes

The default max-send-size is set very high now. As block sizes are scaled based on
the incoming ...

682aeab5e5a876c1d08692ebab3fa422ce1c73c7 authored over 8 years ago by Karl Heyes <[email protected]>
reduce auth related processing in odd cases

drop the LD_PRELOAD on after fork for auth command. AIS uses this to do extra processing
for adv...

87e14ca475a04d67c753166777ffe7f804f42152 authored over 8 years ago by Karl Heyes <[email protected]>
small log message update on error

b5c28f75e7f8f5aeefb0a4570934dc56c2d1ecab authored almost 9 years ago by Karl Heyes <[email protected]>
don't be too aggressive on resuming a burst/catch up

The blocks scale in size now and the limiter expands based on bitrate so we do not need to
resch...

a1e2d68237f296bf327e241d6a3a90c27efb3aed authored almost 9 years ago by Karl Heyes <[email protected]>
allow for building with clang

the gnu_printf attribute is slightly more useful to us instead of printf as mingw uses the
mingw...

0844672ba826142f55ad1b718ff6b0f2b8872bd0 authored almost 9 years ago by Karl Heyes <[email protected]>
avoid windows request ending in dot "feature"

a filename is very varied in windows, historic from DOS, a dot at the end of a filename request
...

e9d16f921fbcac0966b9184c2cb07006b6951912 authored almost 9 years ago by Karl Heyes <[email protected]>
stupid type fix, unlikely to show in runtime though

cad8a93d1f39fbf74c61af0f0a04d3cba4a871a0 authored almost 9 years ago by Karl Heyes <[email protected]>
just for completeness, no trigger case identified

1bf67f6e95d1c3ca87f0cd616631e90498cfc77d authored almost 9 years ago by Karl Heyes <[email protected]>
fix initialisation bug, could of closed a valid FD, typically in background mode

0af9dd34993c33a4e2ed2574e7eba455ec62892b authored almost 9 years ago by Karl Heyes <[email protected]>
fix race case if fallback present and auth configured

on override, the listener will have handle to the source set up before the fh is
dropped and pos...

270abdb3bf64251a1181e3f69d6306b32e49433f authored almost 9 years ago by Karl Heyes <[email protected]>
identify mountpoint for auth if 404 triggers

2fae2337da135466edc48073a4329dbbecac2e4f authored almost 9 years ago by Karl Heyes <[email protected]>
race fix on client cleanup

The data referred to by fh could of been freed at any time after the client is made active again...

6c2518d9e8a830ce7b6332873cd44b428e7ca225 authored almost 9 years ago by Karl Heyes <[email protected]>
minor leak on config error case

56e7f3075f8dafa65a29679bdd79c9f9678c15f9 authored almost 9 years ago by Karl Heyes <[email protected]>
Merge pull request #128 from balbinus/balbinus-patch-setresgid

Fix setresgid() (gid not uid)

b163b288361f8f7bcacce469efb161d12b256fa3 authored almost 9 years ago by Karl Heyes <[email protected]>
Fix setresgid() (gid not uid)

814d27a6169802bff95d63157269ef2f15083177 authored almost 9 years ago by Vince <[email protected]>
expansion routine was failing when passed a mountpoint of /

This had the effect of preventing certain things like fallback override working on
a mountpoint ...

ffa563d1b75fda1ea0bb2b85c2f1640df2b68eff authored almost 9 years ago by Karl Heyes <[email protected]>
fix for triggering auth remove event for missing request

Because the 404 route dropped the client onto the generic no_file handle, the auth lookup
failed...

ceaecadda7ba6436d483f93bb00919ba6aebed1d authored almost 9 years ago by Karl Heyes <[email protected]>
add extra check as the remove trigger also uses this routine

There could be a fault trigger in here if the remove responses looks similar to the
add response...

20e8415074a74ed682ef1377895d7f0c5ffdfac5 authored almost 9 years ago by Karl Heyes <[email protected]>
remove this log message as it can be misleading.

1a9fbeaddb2a73bd94e537397da57a771bf8adc2 authored almost 9 years ago by Karl Heyes <[email protected]>
expand on debug messages to report which auth is being used

c77b67a2ff216097ca92396875b8bcb93d1af537 authored about 9 years ago by Karl Heyes <[email protected]>
fix NULL deref on auth stream start/end caused by recent commit

ac6c98fd8c094a09d50ae7b53e085e6c5ef5e3da authored about 9 years ago by Karl Heyes <[email protected]>
truncate individual parts of the access log lines, to keep consistency

4839308c49a0303c122f17db7023e87316969993 authored about 9 years ago by Karl Heyes <[email protected]>
fix for trigger of auth listener remove on failed relay

030b4b17c02c534bb4b58b586a2ee9586bad9241 authored about 9 years ago by Karl Heyes <[email protected]>
fix backward compatable playlist settings for playlist log archive/sizing

c17868a92344e3895da5da8709b8e7094c60d88e authored about 9 years ago by Karl Heyes <[email protected]>
small header updates, added missing date and maybe fix FF playback issue

after a report came in about FF playback, it seems that the accept-ranges header may be
causing ...

d2d1eceab1513a7c0c9a5d7adbe85469513a9299 authored about 9 years ago by Karl Heyes <[email protected]>
add missing include for errno

61bb6b1d93010ef2e92c9d33388c7d232deaf813 authored about 9 years ago by Karl Heyes <[email protected]>
do not initialise the file offset in intro setup as content has been read at that point

this would cause a small repeat effect on initial playback, the initialisation is done
either in...

0ce36d25771a9d8639ef0f5d59c65074f0f9023d authored about 9 years ago by Karl Heyes <[email protected]>
add so-mss option on to listen-socket

For platforms that support setting MSS then allow for that to be set from the default in
cases o...

aba2f6200091d83d7c9c8e546bdae0780c77cf16 authored about 9 years ago by Karl Heyes <[email protected]>
move cache routines into util for more general use

97310ca55834d5663e25ef1b3d7cf7ff81817d69 authored about 9 years ago by Karl Heyes <[email protected]>
fixed (null) message in logging of PUT requests

ad8a6b718b839f658c4750ec53454fd4975bdc8d authored about 9 years ago by Karl Heyes <[email protected]>
missed the version update on the win32 installer

244e5006b8f3f475598e0f4001e46c19a29f9591 authored about 9 years ago by Karl Heyes <[email protected]>
flush updates for kh3

5a7ad8184e40f4850247a30cb002c7cd2b1d5df3 authored about 9 years ago by Karl Heyes <[email protected]>
a few more small tweaks to client scheduling

allow for the avoidance of skipping when not that many listeners on and expand
the scope for res...

f02bc97c9f5b514c2a36a59b12ed8d10b90bd315 authored about 9 years ago by Karl Heyes <[email protected]>
place worker timer update in a better location

6320aa9abdff7cf79311af0b6ee39f1ac5a3783d authored about 9 years ago by Karl Heyes <[email protected]>
make sure any mini range build on an inactive relay does not get retried again.

We also need to make sure any intro content is not present as it could look the same
as a mini r...

333b0f7136c4746e6299b7f912edc80a731636d9 authored about 9 years ago by Karl Heyes <[email protected]>
make sure any intro content on small range gets truncated

7a114105277e63cfd45f7b19037d1269ce2e4219 authored about 9 years ago by Karl Heyes <[email protected]>
fix crash case, mini range filled out on inactive on-demand relay

this led to a retry of headers that ended up doing a derefernce of NULL

46ee6a2330da5ae61644da7d778750df8eed6577 authored about 9 years ago by Karl Heyes <[email protected]>
make the default setting on non-ogg streams allow for sending icy metadata

this is really for fallback to file where the initial stream is not running, we still
want a new...

06d0ccb712e69047d43e8db67c9592e43d47b82f authored about 9 years ago by Karl Heyes <[email protected]>
make sure ssl3 is off the default ciphers

7ed64491f6153a93e3cb60e33ef65d2a0bca0c05 authored about 9 years ago by Karl Heyes <[email protected]>
merge from Stéphane Lepin for adding agent to POST for listener_remove url auth

should close #121, was just missing the free of memory.

f24ffa7357baf2e77281143ea0d9d75eee435c69 authored about 9 years ago by Karl Heyes <[email protected]>
worker pass adjustments. spread processing client work for normal case.

keep timer updated for millisecond lookup, linux is quick these days for that but generally
it i...

b0d0ce9fb12c2de5ebb91f34af25a0fb5f30fe70 authored about 9 years ago by Karl Heyes <[email protected]>
change block count limiter and reschedule timer for none-lagging clients

don't loop on block reading, this should allow for being more even on low bitrate
streams but wi...

5e3d92932951b64bd5dcda55511d1235d36ce812 authored about 9 years ago by Karl Heyes <[email protected]>
expand the range of the block sizes for non-ogg streams

auto block sizing is based on incoming bitrate which works well but in cases where we
have many ...

a3e477f4bbe78b2978189eda12c49a351a046b29 authored about 9 years ago by Karl Heyes <[email protected]>
avoid dropping listeners with on-demand startup relays

the recent intro fix up affected the timer initialisation which would force this routine
to thin...

078ce1719b64dd80c3beedcbdd9acb76022a21dd authored about 9 years ago by Karl Heyes <[email protected]>
push ID3 tag detection into frame parser

ID3v2 tags were just filtered out at the file processing level but as ID3v2 can occur anywhere t...

91d5d88f2aa180078e3b85d9ae112e1163a7e45f authored over 9 years ago by Karl Heyes <[email protected]>
Merge branch 'master' of github.com:karlheyes/icecast-kh

fda58383795429b5f7bdbe74b43ce6cb0c9d110c authored over 9 years ago by Karl Heyes <[email protected]>
fix for chrome or anything else that use range 0-

the dummy block was being triggered like for iphone as it was not taking the end range
change in...

69870b91f1c040a6d2d82b0488ffca57ebca7274 authored over 9 years ago by Karl Heyes <[email protected]>
throttle on intro was getting stomped on.

The 0 addition into the throttle is wanted for making the limiter more even but
the main issue w...

fbaf1a212d9bc4825f1c443222d6245921ff35d2 authored over 9 years ago by Karl Heyes <[email protected]>
avoid null deref from previous commit

2eedb6b2ef5aea98408ecc05a004cbcba6e822d7 authored over 9 years ago by Karl Heyes <[email protected]>
rework headers to return 206 to iphone

While stream handling was ok, handling of files became a problem. This seems to work
on the late...

a30d94d52bb5caa1b11534a8e4d7b3c862c76b33 authored over 9 years ago by Karl Heyes <[email protected]>
bump to kh2

247bccca00a551ba5d84f4af9b0efd8e3cc40889 authored over 9 years ago by Karl Heyes <[email protected]>
compiler message cleanup, no functional change

71ed1272ef5a8c90798a876c8598b41ec878e34b authored over 9 years ago by Karl Heyes <[email protected]>
remove compiler warning, unsure if it would have any real world effect

1c0460d6818619bf10471b4ff55f9b54d39cd798 authored over 9 years ago by Karl Heyes <[email protected]>
minor adjustments on limiters, make sure they handle extreme cases

3f1381280b3879eae9c4275196d8cfeb60092887 authored over 9 years ago by Karl Heyes <[email protected]>
add <redirect-to> tag to <mount>, keep backward compatability for <redirect>

because of previous behaviour of <redirect> introduce this tag which can take the form
of an exa...

e581592dd96d138fa2f6e6257f3826780c16cdf6 authored over 9 years ago by Karl Heyes <[email protected]>
fix possible busy loop and use chained in-memory blocks for small range requests

62bcab579df5305e1870ef82ec625997c6fe00ce authored over 9 years ago by Karl Heyes <[email protected]>
allow non-auth'd clients to send multiple in-memory blocks

bccefcf3b019e5bd6b89693f8dff72c35ee2e98b authored over 9 years ago by Karl Heyes <[email protected]>
don't decrease global listeners stat if listener not auth'd

a range request on a rate limited non-stream content could fall foul of this.

1dc72f57d5747f07a8fbd18521ccdf291512101e authored over 9 years ago by Karl Heyes <[email protected]>
use pattern expansion on mount redirect.

The previous behaviour was not really that good, a simple hack for redirecting dead mounts to
ot...

0e1aba836b7d99a9d4b10e577730ee321de2ce3a authored over 9 years ago by Karl Heyes <[email protected]>
very small range requests on files were not handled fully

in cases like iphone which request ranges like 0-1 or similar small lengths, would cause
a clien...

64e090731a68251308e085703571ba63874482fc authored over 9 years ago by Karl Heyes <[email protected]>
rework a previous commit for memory corruption on fallback failure

The previous patch worked for what it was targeted for but it does not handle all cases, so
push...

03f93d820ca50ee719667a5d7e11f1cf9747b5f4 authored over 9 years ago by Karl Heyes <[email protected]>
minor consistency change

cb00d82f5512c6766f2ebc42ef6aebac2190f860 authored over 9 years ago by Karl Heyes <[email protected]>
sync up configure with recent win32 fixup

ad9c57cae0c1ab0e858f1897cce341aaea0902d9 authored over 9 years ago by Karl Heyes <[email protected]>
make http 1.1 chunked transfer disabled by default for now

most clients can handle non-chunked non-length specified transfers without issue, but HTTP 1.1
d...

2c189907e7fefc4ca1fcf8fc70fc197d4feefbbf authored over 9 years ago by Karl Heyes <[email protected]>
set _POSIX 1 for win32 builds via config.h

with _POSIX, the mingw system uses the C99 style printf/scanf type parameters and
avoids the pos...

df9f56946c245cc6cfedc70df0f5e9e33ee63637 authored over 9 years ago by Karl Heyes <[email protected]>
type correctness

3ab198174d92365b7bdec0e2b38469fdf660f667 authored over 9 years ago by Karl Heyes <[email protected]>
possible memory corruption fix with missing or small fallback file

if listtener gets onto the source but the source terminates before even the headers
are made the...

c4fd15dacb9fe1c3303e8d261b3a7a44d9ab7a53 authored over 9 years ago by Karl Heyes <[email protected]>
don't do the socket available test in here, the normal read takes care of it.

there is a socket active test on the keep alive kick back to worker so no need
to do it here

614635aff0edd45785228c82e810584bbbbdc1e3 authored over 9 years ago by Karl Heyes <[email protected]>
build cleanup for win32

d35492adaf6a214c6ae4ca2857a7d356f7044f60 authored over 9 years ago by Karl Heyes <[email protected]>
allow for a more even throttle near the beginning

The rate calculation worked fine on longer durations but could suffer from some inaccuracy
when ...

c97de44e1826a8fe6b48c3e7b7f463e8b14a4125 authored over 9 years ago by Karl Heyes <[email protected]>
fix up the timestamp more accurately if having to repack the flv buffer

keep a note of the last change in samples so that we can rewind it and replay the
sample count w...

36cdfb4892fc7601cc635771b4f3331d5589834d authored over 9 years ago by Karl Heyes <[email protected]>
trap case for revalidating flv buffer on fallback during short write

This does not fix the timestamps so could create glitch in player but should
prevent stale point...

43be86fefb3e98a4e6a63bf61bc8498c7aad86e7 authored over 9 years ago by Karl Heyes <[email protected]>
minor internal name change

f40cc231ed424228caf379cfd70b66479b61ff49 authored over 9 years ago by Karl Heyes <[email protected]>
we need to set the counter if file throttling is to be done, FLV only

158d808682d30dd1a4007bc2a512735a9efe094d authored over 9 years ago by Karl Heyes <[email protected]>
during shutdown. don't keep-alive closing clients.

b8f89a0c3f2091f63ae68a0678a9ee7adecdbdee authored over 9 years ago by Karl Heyes <[email protected]>
fix possible bad pointer references, with FLV currently on file override.

As FLV clients use vectors for frame lookups, if that buffer goes then that invaliates
the vecto...

96ffe48fcc7acfd173deb74abb9fa20076d91e80 authored over 9 years ago by Karl Heyes <[email protected]>
the MS snprintf is rubbish, enforce a string length limit for nul termination

878aaff7163f8ddeacd80da2d6f6b3412ef643e3 authored over 9 years ago by Karl Heyes <[email protected]>
tidy up xml callback settings for warning message reporting/logging

be36b7587323d15478d57de7f25c8b0e9ab7fe12 authored over 9 years ago by Karl Heyes <[email protected]>
use the more recent xml2 error reporting routine

in cases where things are misaligned like charset mis-matches for there is a xml
parsing issue t...

a8209364c0d94e6fd0d48da46b1d07755f180c76 authored over 9 years ago by Karl Heyes <[email protected]>
make inbuilt m3u creator return content length as well as possible keepalive

9da252b201c08a6f9eccedffb890eced93cf794d authored over 9 years ago by Karl Heyes <[email protected]>
redo a patch from the 11th for client cleanup from fallback file

The original issue still needed addressing, the fh would get destroyed if flagged with
FS_DELETE...

301a903c296cac3aa9312baaa320d70862bc4990 authored over 9 years ago by Karl Heyes <[email protected]>
fix possible segv case on HEAD request

b55c2cdc0ae5b02fb7c0f2688296e0987a6ad410 authored over 9 years ago by Karl Heyes <[email protected]>
on shutdown, don't hang around for the fh expire to trigger.

expire is set to 10 seconds currently but could be longer in later releases. The shutdown
will w...

c03c7e9c96fcd39eea7ddace3cb936874e5fffec authored over 9 years ago by Karl Heyes <[email protected]>
move the client detachment from the fh later to avoid possible stale pointer reference

b4cb34077dc1d981336f84bed5e548190cc85b9a authored over 9 years ago by Karl Heyes <[email protected]>
add guard to prevent new blocks not being large enough

e67f3af0e20d2d1a9e3c8daf37e467ba6616d309 authored over 9 years ago by Karl Heyes <[email protected]>
intro limiting, tie in with the burst size

c88852c2c2385e70661585780c7467650bd0f301 authored over 9 years ago by Karl Heyes <[email protected]>
force a drop if waiting for requests if the server is shutting down

minor issue, in some cases a 1.1 client (keep alive) could leave a connection open
which could s...

ca1880f90e6b818c4c5e2ac93160480028e26382 authored over 9 years ago by Karl Heyes <[email protected]>
drop any possible keep alive on these 4xx responses

In theory, they could but that can be fixed up later, for now make sure the
connection gets closed.

ba510f17c2814a2693967f3060d192d095453d0b authored over 9 years ago by Karl Heyes <[email protected]>
some leftovers from the chunked/keep-alive changes

Disable the keep alive setting for typical stream connection, as that is unlikely to
be used aga...

3f9ad6cdd8c49b95e2d641510c8f35b079973a3b authored over 9 years ago by Karl Heyes <[email protected]>
fixup chunked responses for short write case

do what we do for flv, only adjust the buffer pos when all of it has been written, using
the chu...

7535d54f1ff449e71109c6f7788152b7df9d82c1 authored over 9 years ago by Karl Heyes <[email protected]>
avoid memory leak in yp at exit, typical of relays at shutdown

minor issue, as the memory is only created at shutdown. we just prevent the
new details being qu...

b0ca5040b57914fe14887ea826ec11b05fee0663 authored over 9 years ago by Karl Heyes <[email protected]>
add chunked and keep alive capabilities to connections.

chunked response is now allowed but can be disabled via _hdr=8, but it also seems that
some play...

a9774b4e6cf9779c773662c2cb8df98ac990603d authored over 9 years ago by Karl Heyes <[email protected]>
move the auto block scaler to validation routine, adjust the scale to account for a larger block default

978138168ae85bb0cb326e92a047fbb540534ce4 authored over 9 years ago by Karl Heyes <[email protected]>