1
0
mirror of https://gitlab.xiph.org/xiph/icecast-common.git synced 2024-09-22 04:15:55 -04:00

Commit Graph

  • 8e7def3ad4 minor cleanups. Karl Heyes 2009-07-07 16:37:31 +0000
  • 6ddf620a21 bug+fix reported on icecast-dev (Petr Pisar, 06/07/2009). poll implementation of sock_connected had incorrect return in failure case. Karl Heyes 2009-07-06 14:28:16 +0000
  • 65eb342fd8 non-blocking setting on win32 broke with previous patch. Add optional xml setting for specifying the TCP send buffer size, it seems that on at least some win32 systems, the window size stays at 8k (even with registry settings) which could limit available streaming bandwidth. Karl Heyes 2009-03-14 16:05:12 +0000
  • 3937e807fe Add handlers for spinlocks if available, map to mutexes when not. Karl Heyes 2009-01-09 03:18:03 +0000
  • a80483333d avoid SOCK_NONBLOCK name clash with recent glibc. Add support for optional bind parameter to connect_wto call. Some small compiler cleanups. Karl Heyes 2009-01-08 02:47:44 +0000
  • 8acf94cdb5 log: When keeping around log lines, only allocate what we actually use. Allow compiler printf arg checking. timing: win32 fix, don't use timeGetTime, fixes access log timestamp Karl Heyes 2009-01-08 02:18:11 +0000
  • 441c2c0988 Don't include a per node lock unless it is really wanted. I don't think anyone is using them currently, so lets reduce the structure size. On win32, this extra lock increases the handles usage considerably. Karl Heyes 2008-07-19 01:30:16 +0000
  • ce28de7894 build fix for older setups with IPv6 Karl Heyes 2008-02-28 02:16:23 +0000
  • 81ca1569fa Use poll if available, select can cause stack corruption if descriptor value is over 1024 Karl Heyes 2008-02-05 04:21:12 +0000
  • e5be87d818 fix possible junk chars passed back and don't call strftime each log line, under glibc this calls for a stat of /etc/localtime each time Karl Heyes 2008-01-24 03:28:11 +0000
  • 5c1bdc9705 drop const usage and work around a FBSD issue with listening sockets Karl Heyes 2007-12-20 16:49:02 +0000
  • 28fa4f56b5 reduce wasted memory on 64bit systems, 32bit has no change Karl Heyes 2007-12-15 17:51:33 +0000
  • 4d379b74b1 clean up prototypes and sock_t handling, for win32 mainly, no functional change Karl Heyes 2007-10-24 21:42:01 +0000
  • daa8d10380 add guards for NULL dereference Karl Heyes 2007-09-14 03:09:32 +0000
  • 0bbed6c78d added function to check whether the socket is still alive Karl Heyes 2007-08-21 22:17:13 +0000
  • 98546247b1 const updates, again no functional change Karl Heyes 2007-08-16 22:52:24 +0000
  • ef2a81e8ed minor build update Karl Heyes 2007-08-09 23:51:26 +0000
  • 5c2887a2a1 update to server side socket creation. Where IPv6-aware functions are available, use them to create dual IPv4/6 capable sockets. Karl Heyes 2007-08-09 03:19:24 +0000
  • 14afbc0312 Only define [u]int64_t on Windows if they haven't been defined already (e.g. in os.h from libshout or stdint.h in case they ever show up there.) moritz 2007-03-06 13:35:29 +0000
  • 167bf0c527 off by 1 error, although not triggered by icecast/ices Karl Heyes 2006-03-31 02:14:12 +0000
  • ecca4eb6bc allow the last N lines to be cached and retrieved from each log, the default is nothing cached (current behaviour). Karl Heyes 2006-03-27 02:26:06 +0000
  • 4dd3524428 Free tree if we fail to allocate root node. Michael Smith 2006-03-07 19:22:29 +0000
  • 8a87821bdc Add a missing check for LOG_MAXLOGS, fix another check to be >= rather than > Michael Smith 2006-03-07 19:17:06 +0000
  • 8d771bc2d6 Allow a NULL filename in log_set_filename, since it's allowed elsewhere. Thanks Coverity! Michael Smith 2006-03-07 19:07:20 +0000
  • 7cd4e78bd8 os.h doesn't exist anymore, use compat.h. oddsock 2006-02-24 04:37:22 +0000
  • efc35f79d5 More function decl/defn fixes Michael Smith 2005-12-17 12:23:54 +0000
  • 89833f1a19 new external api to support log archiving oddsock 2005-10-24 14:52:35 +0000
  • e649b8e209 reduce stack allocation to 512k, the defaults tend to be quite large Karl Heyes 2005-09-15 22:33:13 +0000
  • 69739738f9 force a large filesize limit on log files before cycling Karl Heyes 2005-08-06 13:10:30 +0000
  • 050d5b9026 implement.h, a pthreads include file, is no longer required for win32. oddsock 2005-07-28 21:10:29 +0000
  • 792df7892f store the original full uri if there are query parameters. small cleanup to prototype definitions Karl Heyes 2005-06-15 02:32:26 +0000
  • 431e4d1ac2 simple sanity check Karl Heyes 2005-04-08 03:48:08 +0000
  • cec0361503 removal of old and unused code add '+' to those fields that are url decoded. oddsock 2004-12-07 22:42:50 +0000
  • 5ec3665f1a merged from kh branch, allow for handling the vsnprintf return code better on older systems. Karl Heyes 2004-10-06 14:07:55 +0000
  • d85ee1db3f add extra boundary checks when splitting headers Karl Heyes 2004-08-10 00:03:14 +0000
  • 265752a303 make sure sock_connected does not block with timeout 0, use -1 for that, also handle the sock_connected return values properly in the case of timeout. Karl Heyes 2004-07-26 16:03:52 +0000
  • 0d5a600afc Migrate .cvsignore to svn:ignore brendan 2004-07-11 16:51:34 +0000
  • 9f9c163bb2 Move .cvsignore into svn:ignore brendan 2004-07-06 19:22:26 +0000
  • f17f4c2e6b minor build fix Karl Heyes 2004-06-25 19:39:12 +0000
  • 0206dce79b The httpp module is also used by icecast and related projects. giles 2004-03-22 03:26:08 +0000
  • 7bd73dfa33 handle error condition at connection Karl Heyes 2004-02-17 14:17:57 +0000
  • 5f34462604 a few cleanups and a fix for async connects Karl Heyes 2004-02-12 21:28:35 +0000
  • 3165c25cd3 added win32 support to libshout oddsock 2004-01-30 00:08:02 +0000
  • d5bc449998 Add Copyright notice to each source file, as requested by debian. Michael Smith 2004-01-29 01:02:12 +0000
  • a3b60b2713 minor cleanups, and only have one thread responding to TERM Karl Heyes 2004-01-27 02:16:25 +0000
  • e15c02cbec Remove explicit exit() calls...this was possibly causing some cases of immediate UI termination without any messages... oddsock 2003-12-04 16:27:30 +0000
  • 862baa20e8 patch from mike, unlock logger on failure case. Karl Heyes 2003-11-17 23:53:37 +0000
  • 830b1966b2 proper cleanup of the rwlocks in the avl trees. oddsock 2003-10-31 19:18:42 +0000
  • 56f94c7dcb typo brendan 2003-10-20 16:32:55 +0000
  • 5a30452547 Leigh Smith's MINGW32 compatibility patch, with modifications for better autoconf feng shui brendan 2003-10-20 03:08:46 +0000
  • c6313c016c another compiler cleanup wrt 64bit int/pointer mismatches, thanks to the ports maintainers Karl Heyes 2003-07-29 00:30:36 +0000
  • 68bf65ca25 Plug small memory leak when a thread exits. Allow new threads to inherit scheduling policy. Use long instead of int in thread_exit, thanks to the ports maintainers for the heads up. Karl Heyes 2003-07-27 18:19:31 +0000
  • 909455fd42 Assign LGP to thread module brendan 2003-07-14 02:17:52 +0000
  • d495a6d185 Assign LGPL to files (as implied by COPYING) brendan 2003-07-14 02:14:59 +0000
  • e6b15c7d0c inverted logic used by some of the new functions fixed, locking updates and some code cleanups Karl Heyes 2003-07-11 23:36:49 +0000
  • 63bee088df Modify logging framework for providing log cycling. By default the logging is indefinite but here ices2 is capping the logs at around 2Meg, which is currently fixed. Karl Heyes 2003-07-09 02:45:22 +0000
  • 92e633e11b more portable va_copy for win32 oddsock 2003-07-08 02:39:33 +0000
  • e2272351a3 va_copy is undefined on windows brendan 2003-07-07 21:33:58 +0000
  • 29fa0ec38f The last of the convenience lib cleanups. A little forethought in designing a keyboard macro made this one a lot easier. brendan 2003-07-07 20:38:34 +0000
  • 16badcd760 MAX may be defined elsewhere brendan 2003-07-07 03:37:23 +0000
  • 533772ff76 httpp goes through the rinse cycle brendan 2003-07-07 01:49:27 +0000
  • a9e671088c I missed a spot. And another one. brendan 2003-07-07 01:40:08 +0000
  • 4a83cc46cd net gets the namespace deep cleansing treatment. I suspect all this may be unnecessary, only because I've never heard of this before. But then, I don't do much library work, and better safe than sorry. brendan 2003-07-07 01:32:42 +0000
  • d0a179694b Namespace cleanup: _mangle exported symbols, declare others static. This is tedious. brendan 2003-07-07 01:10:14 +0000
  • cfb106b16b Add a name mangling mechanism so we can safely compile in code we share with applications that might link with use. Currently only hooked up for the timing liblet, but thread is the real target. giles 2003-07-04 23:18:26 +0000
  • 11fbb2eb0c Get everthing in make dist, and remove bitkeeper cruft brendan 2003-07-03 12:59:06 +0000
  • a01b835e1d this was never used and it's handled elsewhere anyway Karl Heyes 2003-07-02 21:29:08 +0000
  • 11498d9569 finish what we started re: resolver brendan 2003-07-01 18:49:07 +0000
  • ec380c4565 ermmm, let's use the right operator. Karl Heyes 2003-06-18 15:52:25 +0000
  • 5408558756 minor cleanup, removes compiler warning, makes it static, and doesn't re-evaluate string length each time. Karl Heyes 2003-06-18 11:13:11 +0000
  • 6ce5ec2b0d remove file descriptor leak when IPv6 is being used. Karl Heyes 2003-06-18 11:05:49 +0000
  • c8d79db03a gcc 3.3 warns: dereferencing type-punned pointer will break strict-aliasing rules brendan 2003-06-09 22:30:09 +0000
  • 4ef26ef74e Lets put this in the right place. Karl Heyes 2003-06-06 11:19:50 +0000
  • 08bf02cf67 Another net change, making it more bullet-proof, before could silently miss data. so now we allocate enough space for the write to succeed fully. Karl Heyes 2003-06-06 00:05:19 +0000
  • eb5afc0cfb whoops brendan 2003-06-05 19:18:00 +0000
  • 0fdc54b774 Karl's sys/select.h patch for fbsd. It must be under another std include on OS X for some reason. brendan 2003-06-05 19:02:36 +0000
  • ced88f98a8 Karl's patch for freebsd, minus the sys/select.h test which breaks on OS X. Also enables IPV6 in libshout! brendan 2003-06-05 17:09:12 +0000
  • a9419adb1a Karl's patch for a namespace collision he reports on some BSD systems. brendan 2003-06-03 18:29:23 +0000
  • 09aa3b40db Fix some function comments, sock_write_string() and sock_write may NOT be called with a non-blocking socket Michael Smith 2003-05-29 12:18:04 +0000
  • 71ba9e88d6 Don't pass 0x1 as a pointer to a syscall. oops. Michael Smith 2003-04-08 12:09:57 +0000
  • d8a5b64b1b Add package wide CFLAGS, typically used for the pthread options Karl Heyes 2003-03-26 22:13:54 +0000
  • 1c5ecba2f3 tabs needed for Makefile Karl Heyes 2003-03-21 23:54:09 +0000
  • 1ff64d456e better fix for cases with missing inet_aton Karl Heyes 2003-03-17 16:47:20 +0000
  • d0cf9fe000 Brendan was getting pissed off about inconsistent indentation styles. Convert all tabs to 4 spaces. All code must now use 4 space indents. Michael Smith 2003-03-15 02:10:19 +0000
  • 6198c728e1 avoid freeing a thread structure a second time. Karl Heyes 2003-03-12 03:59:55 +0000
  • a420bd0b4f reduce include file namespace clutter for libshout and the associated smaller libs. Karl Heyes 2003-03-09 22:56:46 +0000
  • 2116bd0d5e include the automake config.h file if the application defines one Karl Heyes 2003-03-08 16:05:38 +0000
  • cd0f3c47e0 Set another parameter in the icy protocol parse that logging expects Michael Smith 2003-03-08 05:27:17 +0000
  • 8dec7ae9d5 Added support for shoutcast login protocol (ewww...) Michael Smith 2003-03-08 04:57:02 +0000
  • f5c688d43b more on the XIPH_CFLAGS. For the smaller libs like thread etc put any passed flags into the compiling rules. Also configure in libshout now sets up the XIPH_CFLAGS Karl Heyes 2003-03-08 00:46:59 +0000
  • c54d71e63b Implement listing of all currently connected clients on a mountpoint Michael Smith 2003-03-07 14:57:36 +0000
  • 2fcbb9e4cb BitKeeper go bye-bye Whoops, broke thread include path brendan 2003-03-06 05:56:03 +0000
  • 9f7156859d Require NO_THREAD to be defined to turn off locking in avl and net According to Karl, defining nops with do{}while(0) is a la mode. brendan 2003-03-06 02:35:12 +0000
  • 8dbdefbc10 Use gnu archive ACX_PTHREAD macro to figure out how to compile thread support. Also make it possible to build libshout without threads, albeit without locking in the resolver or avl trees. New option --disable-pthread too. brendan 2003-03-06 01:55:20 +0000
  • 1067a6e76b rwlocks were not getting destroyed when avl nodes or trees were freed. avl.h already includes thread.h brendan 2003-03-06 00:59:41 +0000
  • 35dedf9ac4 Remove some namespace pollution brendan 2003-03-05 19:52:10 +0000
  • eb9a7d367f Make various thread structures omit the bits only used in debug mode. Some of these are pretty heavily used, so saving 10-20 bytes each can be quite significant. Michael Smith 2003-03-04 15:31:34 +0000
  • 72ad409e7a win32 doesn't support line buffering with setvbuf() properly, so for win32 lets just set it to no-buffering for logs. oddsock 2003-02-27 03:02:30 +0000
  • de873ff693 Fix formatting of ip addresses so that v6 sockets are logged correctly. Michael Smith 2003-02-14 11:14:55 +0000
  • 66757da884 Remove comment added earlier - that version of the function is only there for backwards compatibility, and isn't MEANT to do ipv6. Oops. Michael Smith 2003-02-13 11:51:35 +0000