diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2011-06-17 13:51:34 -0700 |
---|---|---|
committer | Sam Roberts <vieuxtech@gmail.com> | 2012-04-11 13:45:59 -0700 |
commit | 51acb54760dc91095d59839e8ea2256557f42781 (patch) | |
tree | 080967bc57ac420d8654e2652a14c5499fd0467f /NEW | |
parent | a8b19e5367738f606a051f254858dc09de2a695a (diff) | |
download | luasocket-51acb54760dc91095d59839e8ea2256557f42781.tar.gz luasocket-51acb54760dc91095d59839e8ea2256557f42781.tar.bz2 luasocket-51acb54760dc91095d59839e8ea2256557f42781.zip |
Stop returning an error after successful send of zero length UDP packets
A zero-length send is invalid with TCP, but well defined with UDP.
udp:send"" was returning (nil,"refused"), indicating that it failed when
the packet was actually sent. The test script reproduces the bug, and
includes a tcpdump of the zero length packet being sent.
Diffstat (limited to 'NEW')
0 files changed, 0 insertions, 0 deletions