1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-18 00:23:50 +03:00
Commit Graph

63 Commits

Author SHA1 Message Date
Andrew Tridgell
c1a0c2042d r7913: prevent recursion in the socket wrapper code 2007-10-10 13:18:49 -05:00
Andrew Tridgell
d2e9e95ea2 r7910: fixed typo in _SAMBA_BUILD_ macro 2007-10-10 13:18:48 -05:00
Andrew Tridgell
56fe27623c r7754: fixed the local port of accepted sockets in socket_wrapper. This fixes
the problem with the ldap tests in 'make test'
2007-10-10 13:18:31 -05:00
Andrew Tridgell
417e967afb r7460: fixed several problems with the socket wrapper code and unbound sockets
This should fix the LOCAL-SOCKET test in the build farm
2007-10-10 13:17:55 -05:00
Andrew Tridgell
9b33d0ca58 r7011: when using macros, the parameters should be specified unless its a
varargs function you are replacing. Otherwise if you have any
structure element called "socket" and you have a macro for "socket"
then the code will fail.
2007-10-10 13:17:06 -05:00
Jelmer Vernooij
d63086918b r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
d3b0ad8b4b r6617: Let --enable-developer imply --enable-socket-wrapper
Add socket-wrapper-enabled test target and use that by
default when the socket wrapper was included
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
7d2d4a57e0 r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
2007-10-10 13:16:26 -05:00
Andrew Tridgell
11e245a3f0 r6222: fixed the socket wrapper code for getsockname() 2007-10-10 13:11:27 -05:00
Andrew Tridgell
61e1eea0fd r6150: fixed a few socket_wrapper bugs.
- now works properly with UDP, so the NBT tests work
  - fixed byte order in a few places
  - connect() now fails to non-localhost
  - fixed some places that tested for < 0, which should be == -1 (most syscalls
    return -1 on error, not "negative")
2007-10-10 13:11:22 -05:00
Jelmer Vernooij
88d93b9782 r6144: Apparently there are more systems that have AF_UNIX then
AF_LOCAL (we already use AF_UNIX in other places).
2007-10-10 13:11:22 -05:00
Jelmer Vernooij
443fb7853b r6140: - Add configure option for enabling the socket-wrapper library, so it
can be enabled on the buildfarm without requiring --enable-developer
- Support tcp and udp being used on the same port
- FIx some portability issues (should fix the build on
							   some hosts on the buildfarm)
- Ignore setting TCP_NODELAY on (semi-)TCP sockets rather then complain about
  it not being supported (saves us from a couple of error messages for each
						  connection that is opened)
2007-10-10 13:11:21 -05:00
Jelmer Vernooij
a2ef9225f1 r6139: Move socket_wrapper to a seperate directory 2007-10-10 13:11:21 -05:00