1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-29 04:49:44 +03:00

13 Commits

Author SHA1 Message Date
Andrew Tridgell
eb11eeb5db r7913: prevent recursion in the socket wrapper code
(This used to be commit c1a0c2042d5bfce5781197919482481c007ff1b3)
2007-10-10 13:18:49 -05:00
Andrew Tridgell
fbb0ecd418 r7910: fixed typo in _SAMBA_BUILD_ macro
(This used to be commit d2e9e95ea2cab80badc23f0f1d416295f0a4bf9c)
2007-10-10 13:18:48 -05:00
Andrew Tridgell
683f3bc96e r7754: fixed the local port of accepted sockets in socket_wrapper. This fixes
the problem with the ldap tests in 'make test'
(This used to be commit 56fe27623ce31015a5a14f176f1445f51d57b0b8)
2007-10-10 13:18:31 -05:00
Andrew Tridgell
d543e4a265 r7460: fixed several problems with the socket wrapper code and unbound sockets
This should fix the LOCAL-SOCKET test in the build farm
(This used to be commit 417e967afb457ee505c2302cdc83d7060033b0aa)
2007-10-10 13:17:55 -05:00
Andrew Tridgell
30a5e1c1dc 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.
(This used to be commit 9b33d0ca583b0cc1602662220cade96b70c98306)
2007-10-10 13:17:06 -05:00
Jelmer Vernooij
6b68d5eb7b r6621: Warn when the user is trying to use socket wrapper
while it is not compiled in.
(This used to be commit d63086918ba79307089b3992dc7ed8fc8c6d18a8)
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
aed008c989 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
(This used to be commit d3b0ad8b4b6f8ee80a9c77e1102960d51ced5a5f)
2007-10-10 13:16:31 -05:00
Jelmer Vernooij
7fca1d46ce r6564: - Fix bug in socket_wrapper
- Add options --quiet and --outputdir options to the provisioning script
- Add simple 'make test' and 'make test-swrap'
(This used to be commit 7d2d4a57e0e58a51c76c2e86ea447e81a1d79544)
2007-10-10 13:16:26 -05:00
Andrew Tridgell
567a74690c r6222: fixed the socket wrapper code for getsockname()
(This used to be commit 11e245a3f0e1523eba3a042db140dec8732aa985)
2007-10-10 13:11:27 -05:00
Andrew Tridgell
4b96d83147 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")
(This used to be commit 61e1eea0fdb13577de2506472c5443ee92656263)
2007-10-10 13:11:22 -05:00
Jelmer Vernooij
07e3fa2146 r6144: Apparently there are more systems that have AF_UNIX then
AF_LOCAL (we already use AF_UNIX in other places).
(This used to be commit 88d93b9782766ab1159a233307ef508881caa615)
2007-10-10 13:11:22 -05:00
Jelmer Vernooij
848329b9a0 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)
(This used to be commit 443fb7853b8d3cb516c442fdc595038544b75738)
2007-10-10 13:11:21 -05:00
Jelmer Vernooij
44d7f4f238 r6139: Move socket_wrapper to a seperate directory
(This used to be commit a2ef9225f15e369af7b884262b997ab321fd24d6)
2007-10-10 13:11:21 -05:00