search for: warn2

Displaying 12 results from an estimated 12 matches for "warn2".

Did you mean: warn
2004 Aug 06
2
improved error.log output --diff
...); + "request (command: %s), %s", command_string, client->con->ip); client_send_401(client); return; } @@ -264,14 +264,14 @@ avl_tree_unlock(global.source_tree); if(source == NULL) { - WARN2("Admin command %s on non-existent source %s", - command_string, mount); + WARN2("Admin command %s on non-existent source %s, %s", + command_string, mount, client->con->ip); client_send_400(client, "Source...
2007 Nov 14
2
Problems compiling current SVN
...appear > here. I removed the tree which I'd just checked out, reran svn co http://svn.xiph.org/icecast/trunk/icecast icecast cd icecast ./autogen.sh make and got the same error. Either autogen is mangling it or the file in SVN is problematic. The line in question says: 342: WARN2 ("failed to check status of \"%s\": %s", cache->filename,strerror(errno)); Geoff.
2005 Oct 24
1
dump-file per source per mount
Hi ! Maybe you could find something with this line in the <mount> section of the icecast.xml file: <dump-file>/tmp/dump-example1.ogg</dump-file> But I prefer to use streamripper which can do this easily on a client side: http://streamripper.sourceforge.net/ http://packages.debian.org/unstable/sound/streamripper yomguy Stefan de Konink wrote: > On Mon, 24 Oct 2005, Jaakko
2011 Feb 25
0
[patch] Reopen dumpfiles on signal
...ead of waiting for the source to dis/re-connect. > >> + if (source->dumpfilename) { >> + source->dumpfile = fopen(source->dumpfilename, "ab"); >> + if (source->dumpfile == NULL) { >> + WARN2("Cannot re-open dump file \"%s\" for appending: %s, disabling.", >> + source->dumpfilename, strerror(errno)); >> + } >> + } >> + source->reopen_dumpfile = 0; >> + } >>...
2007 Nov 10
2
Problems compiling current SVN
Hi, I'm trying to compile Icecast from SVN (revision 14115). But make bombs out: make[3]: Entering directory `/usr/src/svn/icecast/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -ffast-math -fsigned-char -I/usr/include/libxml2 -I/usr/local/include -pthread -g -O2 -MT connection.o -MD -MP -MF ".deps/connection.Tpo" -c -o connection.o connection.c; \ then mv -f
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
2005 Feb 19
0
[PATCH] check read/write return values
...* Xen guys, nuke this if you wish. */ +#if 0 /* NOT CALLED */ void dumpit(int xc_handle, u32 dom, int start_page, int tot, unsigned long *page_array) @@ -85,6 +86,7 @@ munmap(vaddr, PAGE_SIZE); } } +#endif int blah(char *b) { --- xen-unstable/tools/libxc/xc_private.c.warn2 2005-02-19 12:12:44.000000000 -0500 +++ xen-unstable/tools/libxc/xc_private.c 2005-02-19 12:14:44.000000000 -0500 @@ -276,12 +276,14 @@ unsigned long sz; lseek(fd, 0, SEEK_SET); - read(fd, &sig, sizeof(sig)); + if ( read(fd, &sig, sizeof(sig)) != sizeof(sig) ) + return 0;...
2004 Aug 06
4
No Duplicate Users - Patch
...wlock_rlock(&state->file_rwlock); + if (!state->allow_duplicate_users) { + if (auth_is_listener_connected(source, username)) { + return AUTH_FAILED; + } + } + passwdfile = fopen(state->filename, "rb"); if(passwdfile == NULL) { WARN2("Failed to open authentication database \"%s\": %s", state->filename, strerror(errno)); @@ -208,9 +239,12 @@ state = calloc(1, sizeof(htpasswd_auth_state)); + state->allow_duplicate_users = 1; while(options) { if(!strcmp(options...
2004 Aug 06
1
[PATCH] IceCast2 - aliasing (reimplementation of the patch I posted earlier)
...in IceCast/src/net: libicenet_la-sock.o Only in IceCast/src: refbuf.o Only in IceCast/src: sighandler.o diff -ur icecast/src/slave.c IceCast/src/slave.c --- icecast/src/slave.c 2003-03-27 12:10:02.000000000 -0500 +++ IceCast/src/slave.c 2003-04-18 09:13:27.000000000 -0400 @@ -91,7 +91,7 @@ WARN2("Failed to relay stream from master server, couldn't connect to http://%s:%d", server, port); return; } - con = create_connection(streamsock, NULL); + con = create_connection(streamsock, -1, NULL); if(mp3) { /* Some mp3 servers are bitchy, send a user...
2004 Aug 06
0
[PATCH] IceCast2 - socket-based default mount
...in IceCast/src/net: libicenet_la-sock.o Only in IceCast/src: refbuf.o Only in IceCast/src: sighandler.o diff -ur icecast/src/slave.c IceCast/src/slave.c --- icecast/src/slave.c 2003-03-27 12:10:02.000000000 -0500 +++ IceCast/src/slave.c 2003-04-18 09:13:27.000000000 -0400 @@ -91,7 +91,7 @@ WARN2("Failed to relay stream from master server, couldn't connect to http://%s:%d", server, port); return; } - con = create_connection(streamsock, NULL); + con = create_connection(streamsock, -1, NULL); if(mp3) { /* Some mp3 servers are bitchy, send a user...
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
2006 Sep 24
1
Add-on patch to support .pls .asx .ram .qtl listing formats
...if (m3u_requested == 0) + /* an listing can be generated, but send an listing file if available */ + if ( (m3u_requested == 0) && (pls_requested == 0) && (asx_requested == 0) && (ram_requested == 0) && (qtl_requested == 0) ) { WARN2 ("req for file \"%s\" %s", fullpath, strerror (errno)); client_send_404 (httpclient, "The file you requested could not be found"); @@ -397,6 +417,10 @@ return -1; } m3u_file_available = 0; + pls_file_available = 0; +...