search for: mount_proxy

Displaying 7 results from an estimated 7 matches for "mount_proxy".

2004 Aug 06
2
[patch] time stamps in dump file names
...ime stamps in dump file names: diff -ur icecast-2.0.1/src/source.c icecast-2.0.1.scram/src/source.c --- icecast-2.0.1/src/source.c Wed May 12 17:55:30 2004 +++ icecast-2.0.1.scram/src/source.c Wed Jun 2 23:17:29 2004 @@ -50,6 +50,16 @@ http_parser_t *parser, const char *mount, format_type_t type, mount_proxy *mountinfo) { + char buffer[PATH_MAX]; + time_t curtime; + struct tm *loctime; + + /* Get the current time. */ + curtime = time (NULL); + + /* Convert it to local time representation. */ + loctime = localtime (&curtime); + source_t *src; src = (source_t *)malloc(sizeof(sou...
2004 Aug 06
2
[patch] time stamps in dump file names
...ime stamps in dump file names: diff -ur icecast-2.0.1/src/source.c icecast-2.0.1.scram/src/source.c --- icecast-2.0.1/src/source.c Wed May 12 17:55:30 2004 +++ icecast-2.0.1.scram/src/source.c Wed Jun 2 23:17:29 2004 @@ -50,6 +50,16 @@ http_parser_t *parser, const char *mount, format_type_t type, mount_proxy *mountinfo) { + char buffer[PATH_MAX]; + time_t curtime; + struct tm *loctime; + + /* Get the current time. */ + curtime = time (NULL); + + /* Convert it to local time representation. */ + loctime = localtime (&curtime); + source_t *src; src = (source_t *)malloc(sizeof(sou...
2006 Feb 24
1
Request: Time Stamped Dump-Files
Hi, I urgently need a feature to save the dump-files in splitted timestamped chunks or - much better - named accordingly to the stream metadata. I don?t want to use utilities like streamripper to make dumps because they act as a client and thus the "relay on-demand" feature of icecast isn't usable anymore. I only want to have a copy of the stream when somebody is actually
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...eCast/src: client.o diff -ur icecast/src/config.c IceCast/src/config.c --- icecast/src/config.c 2003-03-14 21:10:17.000000000 -0500 +++ IceCast/src/config.c 2003-04-18 20:20:31.000000000 -0400 @@ -98,6 +98,7 @@ ice_config_dir_t *dirnode, *nextdirnode; relay_server *relay, *nextrelay; mount_proxy *mount, *nextmount; + aliases *alias, *nextalias; int i; if (c->config_filename) @@ -160,6 +161,16 @@ } thread_mutex_unlock(&(_locks.mounts_lock)); + alias = c->aliases; + while(alias) { + nextalias = alias->next; + xmlFree(alias->sourc...
2004 Aug 06
0
[PATCH] Add per-listener and per-mount connection time limits.
...ly use the global limit) */ + int max_listener_time; /* Maximum amount of time in seconds a listener can + be connected to this mount. -1 to not limit here + (i.e. only use the global limit) */ char *fallback_mount; struct _mount_proxy *next; } mount_proxy; *************** *** 65,70 **** --- 68,74 ---- int client_limit; int source_limit; + long client_time_limit; long queue_size_limit; int threadpool_size; int client_timeout; *** src/source.c.orig Mon Dec 29 10:38:58 2003 --- src/source.c Fr...
2012 Dec 11
2
Adding additional mount info to xsl stylesheet
...ient->parser, "user-agent"); + stats_event_args (source->mount, "user-agent", "%s", user_agent); DEBUG0("Source creation complete"); source->last_read = time (NULL); @@ -947,6 +951,8 @@ static void source_apply_mount (source_t *source, mount_proxy *mountinfo) source->max_listeners = mountinfo->max_listeners; source->fallback_override = mountinfo->fallback_override; source->hidden = mountinfo->hidden; + source->max_listener_duration = mountinfo->max_listener_duration; + source->user_agent...
2010 Jul 30
33
[PATCHES] Smartjog PatchDump
Hello, I work at SmarctJog.com, we have here some patches on IceCast for performance and reliability, these are mostly client/connection/source cleanups (a slave merge is underway, and some more good stuff (c)), but we'd like this to be merged in before the list gets any longer. Please find attached a list of our patches with a short desc: This one is actually not from us/me, it was found