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

18 Commits

Author SHA1 Message Date
Karl Heyes
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.

svn path=/icecast/trunk/net/; revision=7349
2004-07-26 16:03:52 +00:00
brendan
5a30452547 Leigh Smith's MINGW32 compatibility patch, with modifications for better
autoconf feng shui

svn path=/trunk/net/; revision=5490
2003-10-20 03:08:46 +00:00
brendan
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.

svn path=/trunk/net/; revision=5083
2003-07-07 01:32:42 +00:00
Karl Heyes
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.

svn path=/trunk/net/; revision=4888
2003-06-06 00:05:19 +00:00
brendan
ced88f98a8 Karl's patch for freebsd, minus the sys/select.h test which breaks on OS X.
Also enables IPV6 in libshout!

svn path=/trunk/httpp/; revision=4884
2003-06-05 17:09:12 +00:00
Karl Heyes
1ff64d456e better fix for cases with missing inet_aton
svn path=/trunk/net/; revision=4500
2003-03-17 16:47:20 +00:00
Michael Smith
c54d71e63b Implement listing of all currently connected clients on a mountpoint
svn path=/trunk/net/; revision=4434
2003-03-07 14:57:36 +00:00
Michael Smith
38ab54d207 Better IPv6 support. Hopefully logging will work correctly now.
However, some things still won't work, notably relaying (the relay can be
ipv6, the server being relayed _from_ may not be).
I'll fix that some time soon.

svn path=/trunk/net/; revision=4342
2003-02-13 11:29:07 +00:00
Michael Smith
c32404d742 Lots of fixes for screwy code formatting, plus:
make streams public by default, send ice-private: 1 to make them private.
However, default config file has yp servers commented out.

A little fix for compilation on some solaris systems

Redo some config file stuff: now all the passwords are inside an element
<authentication>, (though for now they're also accepted in the old location),
and added admin username and password. Move some of the admin activities over
to using the admin passwords (admin action that affect a mountpoint use the
source password)

Fill in some (but not yet all, maybe i'll do that later) of the infrastructure
for per-mountpoint passwords.

Fix lots of headers/code so that it works properly/portably  on non-win32
systems.

svn path=/trunk/net/; revision=4325
2003-02-06 13:10:48 +00:00
Michael Smith
6bc46604b9 Set TCP_NODELAY on sockets for streams and fileserving.
Adapted from a patch sent by Richard Galli

svn path=/trunk/net/; revision=4260
2003-01-18 07:08:00 +00:00
Michael Smith
524480687e Fix compilation errors on non-windows platforms.
svn path=/trunk/net/; revision=4133
2002-12-01 02:11:07 +00:00
oddsock
dd6dba9d4e win32 port updates to recent changes
svn path=/trunk/net/; revision=4117
2002-11-23 15:55:27 +00:00
Michael Smith
614bf95a68 Fix a compile error.
svn path=/trunk/net/; revision=4115
2002-11-22 13:13:04 +00:00
Michael Smith
29cf9fe727 Karl Heyes: patches for better networking code. IPv6 support (complete? Not
sure).

svn path=/trunk/net/; revision=4114
2002-11-22 13:02:51 +00:00
Jack Moffitt
366d560cde Ricardo Galli found this too. We weren't setting no linger and keepalive
as we used to in icecast1.  They make things work a bit better.

svn path=/trunk/net/; revision=3177
2002-03-22 21:44:29 +00:00
Jack Moffitt
c334915e67 minor build fixes for win32 courtesy of Oddsock
svn path=/trunk/net/; revision=3029
2002-02-07 01:04:09 +00:00
Jack Moffitt
315259ae9f Win32 updates. Mostly header fixes and defines for windows. Apparently
interface is a reserved word, so we've renamed one variable.  There's
also no sethostent on win32, and Oddsock seems to think we need
DeleteCriticalSection instead of DestroyCriticalSection.  I was unable
to figure out from msdn.microsoft.com why this was, but I'll trust
Oddsock's judgement.

svn path=/trunk/net/; revision=2194
2001-10-20 05:57:28 +00:00
Jack Moffitt
a8824b7f95 Initial revision
svn path=/trunk/avl/; revision=1997
2001-09-10 02:24:39 +00:00