Partially revert restriction of socket_wrapper to 1500 byte writes
authorAndrew Bartlett <abartlet@samba.org>
Fri, 19 Jun 2009 03:25:28 +0000 (13:25 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 19 Jun 2009 04:36:06 +0000 (14:36 +1000)
commit17e1cbb6d33614aaf5b6d8aaf4c6cf0dab84dfa6
tree828070dac7461c55ce50cc1384ee72ef909ef9a4
parentdcc9ae69953ac03f539a4be8f52ee1c13cfe985d
Partially revert restriction of socket_wrapper to 1500 byte writes

This keeps the restriction for stream sockets (where the caller will
retry), without creating problems on datagram sockets (CLDAP is not
defined, as far as I know, across multiple UDP packets).

The commit adding this restriction was
47b106c0ae8b91c9cccfc21bf8e4e416b1abfd5d

Andrew Bartlett
lib/socket_wrapper/socket_wrapper.c