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

1331 Commits

Author SHA1 Message Date
Philipp Schafft
319b6d577f Fix: fix memory leak of active and pending ypdata_t
This (hopefully) fixes a memory leak that caused active and
pending ypdata_t objects to be not freed up on server shutdown
or config reload.

To testers: please enable yp submission and restart and SIGHUP
your instance several times with loglevel set to warning or higher.
Each time after shutdown or SIGHUP check your log for one of the
following two warnings:
 * 'active ypdata not freed up'
 * 'pending ypdata not freed up'

Those warnings must not be in the log. If you spot one please report.
2015-01-18 17:51:58 +00:00
Philipp Schafft
cc613d405f Fix: do not release events that are still in the queue 2015-01-18 17:26:07 +00:00
Philipp Schafft
7e4650138e Fix: fixed memory leak on XSPF generation 2015-01-18 17:14:03 +00:00
Philipp Schafft
5e5d575a77 Cleanup: Corrected link
Corrected link pointing to http://www.icecast.org/svn.php to
point to http://www.icecast.org/download/ as this is what the
webserver now redirects to.
2015-01-16 09:20:16 +00:00
Thomas B. Ruecker
b914a4a9dc Hide listener information by default. 2015-01-16 06:23:25 +00:00
Philipp Schafft
616de4f798 Merge branch 'master' of ssh://git.xiph.org/icecast-server 2015-01-13 08:47:02 +00:00
Philipp Schafft
3b4e3ed0ed Cleanup: more cleanly define blocks for admin command IDs
This adds info to the blocks about their size.
Also added two more blocks:
* for experimental features such as in private branches or
  or feature branches. This is for command IDs that are going to
  be merged with master some day. At merge they need to be changed
  and put into the regular position.
* for private features that are not going to be merged into master.
  e.g. specific features for a very specific user that are not
  useful for general audiance.

This should help keeping stuff sorted and largey reducing the risk
of command ID collissions on merges of branches.
Also this should make the merger's job a little bit more easy as
there are less likely any conflicts on merge if someone else got
a number closeby and those change is within the diff's context lines.
2015-01-13 08:42:02 +00:00
Thomas B. Ruecker
0a13b88acf <!-- --> 2015-01-13 08:37:33 +00:00
Thomas B. Ruecker
cf91615501 Directory listings are complicated, mention docs. 2015-01-13 08:25:37 +00:00
Marvin Scholz
4447e2edc4 Link to config reload xsl (fix #2143)
This re-adds a link to the config reload to the stats.xsl, the
admin interface.
2015-01-11 17:13:02 +01:00
Philipp Schafft
db9b419250 Cleanup: Removed left overs from pre-<role> auth 2015-01-11 15:40:36 +00:00
Philipp Schafft
11d5dffd49 Cleanup: Removed tailing spaces 2015-01-10 18:53:44 +00:00
Philipp Schafft
e9a90f9918 Cleanup: converted tabs into spaces 2015-01-10 01:48:15 +00:00
Philipp Schafft
99d9be1dc5 Cleanup: two minor code style corrections 2015-01-08 23:39:59 +00:00
Philipp Schafft
205eca50ab Fix: Do not shut down fserve engine if not started up
This avoids a endless loop in a spin lock that has not been inited
yet if fserve engine was not started up by the time it was sent to
go down. This happened if icecast couldn't read the config because
the file was corrupted or non-existent.
Closes: #2144
2015-01-08 23:15:13 +00:00
Philipp Schafft
f992da8cfa Fix: Set on_demand on creation of on-demand relay
This sets the on_demand parameter of the source correctly on
creation of a on-demand relay.
Thanks to Marvin Scholz <epirat07@gmail.com>.
Closes: #2054
2015-01-06 17:12:56 +00:00
Philipp Schafft
f39b7d8880 Cleanup: Removed trivial header files for auth backends
All Auth backends had just one prototype in auth_*.h. Those
got merged into auth.h to avoid to have many small files around.
2015-01-06 11:29:07 +00:00
Philipp Schafft
a52e2e1a35 Fix: SECURITY allow global admins to access all mounts 2015-01-05 16:58:43 +00:00
Thomas B. Ruecker
3d8245f71a making sure submodules are sync 2014-12-31 17:45:09 +00:00
Thomas B. Ruecker
7706fb10f2 Updated address of FSF and formatting
Obtained from: http://www.gnu.org/licenses/gpl-2.0.txt
No change to the license, just an updated copy.
This will make RPMLINT and debian complain less.
2014-12-31 17:37:45 +00:00
Thomas B. Ruecker
fd23554181 Ugly merge of docs for beta1 as generator failed 2014-12-31 17:33:36 +00:00
Philipp Schafft
e445065ab1 Fix: Do not display dummy <authenticator> tag. 2014-12-31 10:19:27 +00:00
Thomas B. Ruecker
f90fb78ba0 Define webdir and admindir in each file for now 2014-12-30 12:56:09 +00:00
Marvin Scholz
1d8e128320 Preparations for new webinterface design 2014-12-29 16:32:52 +01:00
Philipp Schafft
490482deaf Fix: SECURITY Corrected methods of anonymous role for htpasswd legacy auth 2014-12-29 09:48:00 +00:00
Philipp Schafft
0f311a318d Fix: Do not segfault if <role type="..."> is unknown 2014-12-28 21:11:52 +00:00
Marvin Scholz
a546d3cc8a Corrected stats.xsl to correct invalid markup
Correcting that the unordered list for authentication was wrapped in a table,
which is invalid.
2014-12-28 17:10:49 +01:00
Thomas B. Ruecker
5a9f0426a7 Epic transformation of git log into ChangeLog
git log 1a3fd18cd4075b5ff540334c2e0fa974885b6a7a..38dbb3a6fdf0fadc15e8a77f0735240c11da2854

For the future we might want to consider if we still want to maintain
this and in which format.
2014-12-28 15:05:38 +00:00
Marvin Scholz
1c57942267 Removed fr_FR xsl files since they aren't used 2014-12-28 13:21:52 +01:00
Thomas B. Ruecker
38dbb3a6fd Preparing for 2.5 beta1 aka 2.4.99.1 2014-12-28 11:08:56 +00:00
Philipp Schafft
5f962c9bdf Feature: Nicer display of <metadata>
This adds a little bit nicer display of <metadata> to the stats.xsl
page and avoids broken display of <metadata> and <authentication>.
2014-12-26 22:00:02 +00:00
Philipp Schafft
b638d3c939 Fix: Added support to admin/ interface to list <role>s
This adds support to list global and per mount roles on stats.xsl.
This isn't nicest formated but works.
This also adds <source>-like <authentication> with <role>s to
root node.
Closes: #2133
2014-12-26 21:57:50 +00:00
Thomas B. Ruecker
dfc30122ca height-adjusted logo2 for NSIS installer 2014-12-26 11:04:22 +00:00
Thomas B. Ruecker
cbc0ae46d8 Favicon was missing from the Makefile 2014-12-26 11:02:10 +00:00
Philipp Schafft
785c32bfc5 Revert "Fix: avoid assignment discards 'const' qualifier warning"
This reverts commit 0dbabcc44c.
Breaks other OpenSSL versions.
2014-12-24 11:36:34 +00:00
Philipp Schafft
0b1af34f0e Prevent various redefined definitions in win32-specific code
From: Erik van Pienbroek <epienbro@fedoraproject.org>
Date: Mon, 22 Dec 2014 18:02:09 +0100
2014-12-24 11:35:56 +00:00
Philipp Schafft
0dbabcc44c Fix: avoid assignment discards 'const' qualifier warning
Untested. Please test.
See #2063
2014-12-24 09:03:26 +00:00
Philipp Schafft
ddb58bfe37 Feature: Display username and role in listener listing
This adds display of role name and updates display of username in
listener listing of mount points on admin interface.
2014-12-22 09:08:24 +00:00
Philipp Schafft
bfd946520f Fix: corrected xsl to work in omode=normal 2014-12-22 07:58:37 +00:00
Philipp Schafft
d75d1d6a7a Feature: Allow <resource> to have only one of source and destination
This allows <resource> (former <alias>) to have only one of the
attribues source and destination. In that case other parameters
will be applied to the client but uri is not mapped.

See #2097
2014-12-20 18:48:03 +00:00
Philipp Schafft
7b5bafdf55 Merge branch fix for <metadata> of relays. 2014-12-20 18:07:04 +00:00
Philipp Schafft
7e9e298e33 Fix: avoid segfault by generating <metadata> for relays 2014-12-20 18:06:42 +00:00
Philipp Schafft
857264acdc Fix: memory leak and race condition fix 2014-12-20 16:12:27 +00:00
Philipp Schafft
2a99aa0f0b Fix: memory leak, now also releasing reglist[] members 2014-12-20 15:30:26 +00:00
Philipp Schafft
8702999204 Fix: memory leak now freeing null_device and global source_password 2014-12-20 15:29:53 +00:00
Philipp Schafft
d3bba3638e Fix: Added missing includes 2014-12-20 13:40:44 +00:00
Philipp Schafft
55d429a6c8 Fix: Corrected display of "login" on status page
This corrects the creation of <authenticator> in the status output
and this way fixes the display of login link on status page.
Closes #1939
2014-12-20 09:39:26 +00:00
Philipp Schafft
3d6ea2efdb Merged support for thread-less <role>s 2014-12-19 17:30:37 +00:00
Philipp Schafft
25f6c53929 Feature: immediate mode for <role>s
This allows a <role> represented by a auth_t to run in "immediate"
mode. In this mode no thread is created for this <role>. This is a
major speedup.

Closes #2124
2014-12-19 17:27:54 +00:00
Philipp Schafft
a83ac3f5e1 Feature: Allow mangement of <role>s via admin/ interface.
Updated admin/manageauth.xsl the way suggested by
0eb466b76d.
closes #2123
2014-12-19 16:40:41 +00:00