aboutsummaryrefslogtreecommitdiff
path: root/gem
diff options
context:
space:
mode:
authorSam Roberts <vieuxtech@gmail.com>2011-06-17 13:51:34 -0700
committerSam Roberts <vieuxtech@gmail.com>2012-04-11 13:45:59 -0700
commit51acb54760dc91095d59839e8ea2256557f42781 (patch)
tree080967bc57ac420d8654e2652a14c5499fd0467f /gem
parenta8b19e5367738f606a051f254858dc09de2a695a (diff)
downloadluasocket-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 'gem')
0 files changed, 0 insertions, 0 deletions