1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-12-04 14:46:30 -05:00
Commit Graph

2167 Commits

Author SHA1 Message Date
Philipp Schafft
2d0d496ad4 Fix: Set con->readbuffer = NULL after free() 2018-08-02 09:09:19 +00:00
Philipp Schafft
4f25a5d08d Merge branch 'ph3-tests' 2018-08-01 08:29:43 +00:00
Philipp Schafft
69aff060bf Feature: Added more tests regarding refobject sizes 2018-08-01 07:24:20 +00:00
Philipp Schafft
f82df09d75 Feature: Added tests for refobject 2018-07-27 19:52:24 +00:00
Philipp Schafft
df9af991c5 Cleanup: Removed bad \n 2018-07-27 19:52:24 +00:00
Philipp Schafft
b0f0478655 Update: Updated .gitignore to include ctest tests 2018-07-27 19:52:24 +00:00
Philipp Schafft
5d3913c7a9 Feature: Added tests for resourcematch.c 2018-07-27 19:52:24 +00:00
Philipp Schafft
a1ff38aeba Feature: Added ctest_diagnostic_printf() 2018-07-27 19:52:24 +00:00
Philipp Schafft
0b559f0641 Fix: Corrected copyright 2018-07-27 19:52:24 +00:00
Philipp Schafft
9134c5553b Feature: Added a basic test suite for testing parts of the C code 2018-07-27 19:52:24 +00:00
Philipp Schafft
1d4ce33c1b Merge branch 'ph3-comments' 2018-07-27 19:52:03 +00:00
Philipp Schafft
9cdf5761a0 Update: Added some comments in reportxml.c 2018-07-27 11:55:00 +00:00
Philipp Schafft
3a64ffd2de Update: Improved comments on reportxml.h 2018-07-27 11:44:00 +00:00
Philipp Schafft
6f02daafbf Update: Added a huge number of comments to reportxml.h 2018-07-27 11:27:42 +00:00
Philipp Schafft
dd04ef5f77 Update: Added comments to refobject.h 2018-07-27 10:36:59 +00:00
Philipp Schafft
2f938b8500 Fix: set freed pointer to NULL to avoid access-after-free 2018-07-27 10:36:50 +00:00
Philipp Schafft
e900d8e80c Fix: Fixed end-of-input bug in Base64 encoder 2018-07-27 10:07:30 +00:00
Philipp Schafft
648947fe44 Cleanup: Provided connection_send_bytes() to avoid direct access to con->send() 2018-07-27 10:07:18 +00:00
Philipp Schafft
3f76299e3e Merge branch 'feature-relay-improvements' 2018-07-26 09:27:27 +00:00
Philipp Schafft
1c61903793 Feature: Allow <relay> within <mount> 2018-07-26 09:24:08 +00:00
Philipp Schafft
1e230972fa Feature: Allow <upstream> within <relay> to have a type="" that can be "normal" and "default" 2018-07-26 09:24:01 +00:00
Philipp Schafft
2c8d45310a Fix: Corrected and improved default value handling for relay upstreams 2018-07-26 09:23:56 +00:00
Philipp Schafft
4b2a062aa0 Feature: Allow actually using more than one upstream 2018-07-26 09:23:52 +00:00
Philipp Schafft
bde17102e2 Fix: Corrected copy function so that number of upstreams is preserved 2018-07-26 09:23:37 +00:00
Philipp Schafft
d61acebf96 Update: Fixed indenting 2018-07-26 09:23:32 +00:00
Philipp Schafft
59697252f0 Feature: Added <upstream>-tag to relay config 2018-07-26 09:23:24 +00:00
Philipp Schafft
fee836f697 Cleanup: Seperated relay upstream parser into seperate function 2018-07-26 09:23:16 +00:00
Philipp Schafft
fd4f28274b Cleanup: Seperated relay config from runtime data 2018-07-26 09:23:06 +00:00
Philipp Schafft
75314c2b34 Fix: Corrects setup of client_t in client mode.
Closes: #2336
2018-07-20 11:41:39 +00:00
Philipp Schafft
c40d12a1c7 Update: Moved _update_client_request_body_length() into new client_complete() 2018-07-20 11:41:37 +00:00
Philipp Schafft
c0155e2404 Fix: Do free connection's putback buffer regardless of it's size 2018-07-20 11:41:03 +00:00
Marvin Scholz
7eefec20d2 Update: Replace echo with more portable AS_ECHO 2018-07-11 12:41:16 +02:00
Marvin Scholz
2c9d33efb1 Cleanup: Use AS_CASE for sanitizer matching in configure 2018-07-11 12:17:31 +02:00
Marvin Scholz
1289c48b05 Fix: Do not use poll() on darwin
The poll() function is broken in some darwin versions.
2018-07-11 12:11:50 +02:00
Marvin Scholz
fae2bccf96 Update: Set SYS for easier host os detection in configure 2018-07-11 12:10:57 +02:00
Marvin Scholz
e55f42c528 Fix: Do not accept unknown flags with clang 2018-07-11 12:10:11 +02:00
Marvin Scholz
2a21bb8bfa Update: Replace Icecast logo with a new version 2018-07-09 17:37:35 +02:00
Philipp Schafft
cf093b11d7 Merge branch 'ph3-resourcematch' 2018-07-09 10:53:12 +00:00
Philipp Schafft
d782eb4c21 Feature: Allow admin commands to have embedded parameters 2018-07-09 10:42:14 +00:00
Philipp Schafft
046bfb9c85 Fix: Removed unused header 2018-07-09 10:41:34 +00:00
Philipp Schafft
43bc709b48 Feature: Added new resource match system 2018-07-09 09:29:54 +00:00
Philipp Schafft
fd2556b4c0 Fix: Corrected use of XMLSTR() 2018-07-09 08:36:48 +00:00
Marvin Scholz
449c9559b1 Update: Add sanitizer helper to configure
This allows easily enabling a sanitizer by passing --with-sanitizer=
when configuring.
2018-07-09 07:38:52 +02:00
Marvin Scholz
0df3e0eda1 Fix: Correct clearing of XSLT cache entry
Fix a double free that could happen when the cache was cleared
during config reload and then subsequent XSLT requests would try
to evict the same cache item, because the item name was not set to
NULL in clear_cache_entry.

Previously this was no problem as a cache entry would only be evicted
on load of a new XSLT and that one would immediately fill in the place
of the old one.
2018-07-09 04:00:18 +02:00
Marvin Scholz
5cd32038d0 Update: Reduce unnecessary config locks in XSLT loader 2018-07-09 03:36:37 +02:00
Marvin Scholz
f52f562e76 Fix: Clear XSLT admin path cache on config reload 2018-07-09 03:36:11 +02:00
Marvin Scholz
450c26a45b Fix: Convert admin path in XSLT loader to URI
The xmlBuildURI function only deals with URIs, not paths, therefore
the admin path has to be converted to a URI first.
2018-07-09 03:35:54 +02:00
Marvin Scholz
858ff390d3 Fix: Remove broken XSLT loader cache invalidation
The XSLT loader caches the admin path from the config file and
invalidates it by comparing the stored path with the one in the config.
But to the stored path a / is appended, which means the cache would
always invalidate as it never matches.
2018-07-09 03:35:48 +02:00
Marvin Scholz
c6a8859fbc Fix: compat: Use stdint on Windows if possible 2018-07-09 03:35:25 +02:00
Marvin Scholz
db95e9c6fc Fix: Guard include of <sys/select.h> 2018-07-09 03:35:15 +02:00