<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luasocket/test/udp-zero-length-send, branch v3.0-rc1</title>
<subtitle>A mirror of https://github.com/lunarmodules/luasocket.git
</subtitle>
<id>https://git.lua4.win/luasocket/atom?h=v3.0-rc1</id>
<link rel='self' href='https://git.lua4.win/luasocket/atom?h=v3.0-rc1'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/'/>
<updated>2012-04-11T20:45:59+00:00</updated>
<entry>
<title>Stop returning an error after successful send of zero length UDP packets</title>
<updated>2012-04-11T20:45:59+00:00</updated>
<author>
<name>Sam Roberts</name>
<email>vieuxtech@gmail.com</email>
</author>
<published>2011-06-17T20:51:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=51acb54760dc91095d59839e8ea2256557f42781'/>
<id>urn:sha1:51acb54760dc91095d59839e8ea2256557f42781</id>
<content type='text'>
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.
</content>
</entry>
</feed>
