<feed xmlns='http://www.w3.org/2005/Atom'>
<title>luasocket/src/usocket.c, branch docs/pre-release-audit</title>
<subtitle>A mirror of https://github.com/lunarmodules/luasocket.git
</subtitle>
<id>https://git.lua4.win/luasocket/atom?h=docs%2Fpre-release-audit</id>
<link rel='self' href='https://git.lua4.win/luasocket/atom?h=docs%2Fpre-release-audit'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/'/>
<updated>2026-08-30T06:46:47+00:00</updated>
<entry>
<title>fix(receive): a receive 0 should immediately return, not block</title>
<updated>2026-08-30T06:46:47+00:00</updated>
<author>
<name>Thijs Schreijer</name>
<email>thijs@thijsschreijer.nl</email>
</author>
<published>2026-08-29T17:59:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=e21720da69f2a505bcd1405cc7e8b52d5649df55'/>
<id>urn:sha1:e21720da69f2a505bcd1405cc7e8b52d5649df55</id>
<content type='text'>
The fix is slightly more complex because reading from a closed
socket should still return a closed-error.

fixes: #427
fixes: https://github.com/ledgetech/lua-resty-http/pull/313
</content>
</entry>
<entry>
<title>Revert "fix(usocket): Fix typo in return value function name"</title>
<updated>2022-08-30T21:34:39+00:00</updated>
<author>
<name>Caleb Maclennan</name>
<email>caleb@alerque.com</email>
</author>
<published>2022-08-30T21:34:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=26b524e1d7b9a00045882d3c0f25486485b1d6a8'/>
<id>urn:sha1:26b524e1d7b9a00045882d3c0f25486485b1d6a8</id>
<content type='text'>
This reverts commit 88c72acd771ac6c96ea7f4e57293307e282ad49f.

See discussion on #390
</content>
</entry>
<entry>
<title>style(usocket): Remove trailing space at EOL</title>
<updated>2022-08-30T10:16:38+00:00</updated>
<author>
<name>zhaozg</name>
<email>zhaozg@gmail.com</email>
</author>
<published>2022-08-30T07:20:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=159890c3662976dc027f2fe6bb94074ff62f15e7'/>
<id>urn:sha1:159890c3662976dc027f2fe6bb94074ff62f15e7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(usocket): Fix typo in return value function name</title>
<updated>2022-08-30T10:15:53+00:00</updated>
<author>
<name>zhaozg</name>
<email>zhaozg@gmail.com</email>
</author>
<published>2022-08-30T07:19:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=88c72acd771ac6c96ea7f4e57293307e282ad49f'/>
<id>urn:sha1:88c72acd771ac6c96ea7f4e57293307e282ad49f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix(build): Use gai_strerrorA not gai_strerror on Windows</title>
<updated>2022-07-27T06:51:35+00:00</updated>
<author>
<name>rpatters1</name>
<email>rpatters1@users.noreply.github.com</email>
</author>
<published>2022-07-27T06:51:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=5a7e3f08886ef2893148c1342fb6021291cf1307'/>
<id>urn:sha1:5a7e3f08886ef2893148c1342fb6021291cf1307</id>
<content type='text'>
* Explicitly call gai_strerrorA (for Windows builds), so that the code work correctly in 32bit or 64bit builds.

* Implement GAI_STRERROR macro to deal with Windows vs. Non-Windows compiles for 64-bit.

* make usocket.c consistent with other modules that call macro GAI_STRERROR

* Use different name not just different case for macro wrapping function

Co-authored-by: Caleb Maclennan &lt;caleb@alerque.com&gt;</content>
</entry>
<entry>
<title>usocket: pragma visibility</title>
<updated>2019-03-10T07:04:20+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2019-02-28T04:02:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=8b2dcdcf7d98194e9d501c0a76a048606761983f'/>
<id>urn:sha1:8b2dcdcf7d98194e9d501c0a76a048606761983f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Only use EAI_OVERFLOW, AI_NUMERICSERV if defined</title>
<updated>2019-02-26T08:30:15+00:00</updated>
<author>
<name>Mojca Miklavec</name>
<email>mojca.miklavec.lists@gmail.com</email>
</author>
<published>2018-03-21T17:02:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=d9afe3fd9ccf64a0686683f5453937c08611aa28'/>
<id>urn:sha1:d9afe3fd9ccf64a0686683f5453937c08611aa28</id>
<content type='text'>
Some systems like Mac OS X 10.5 (and lower) do not have EAI_OVERFLOW and
AI_NUMERICSERV defined.

These variables are used to avoid a potentially slow name resolution
for the hostname (which will always be an ip address)
and for service name (which will always be an actual port number).

The code might be slower, but it should still work.

Closes: #242
</content>
</entry>
<entry>
<title>usocket.c use LUASOCKET_PRIVATE</title>
<updated>2019-02-25T23:04:16+00:00</updated>
<author>
<name>E. Westbrook</name>
<email>github@westbrook.io</email>
</author>
<published>2019-02-25T23:04:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=d7ffc2f4e69ff24a88f00456cd9a538ecc90d14c'/>
<id>urn:sha1:d7ffc2f4e69ff24a88f00456cd9a538ecc90d14c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix typo</title>
<updated>2017-04-17T15:47:48+00:00</updated>
<author>
<name>Elliptica</name>
<email>elliptica.magnificum@gmail.com</email>
</author>
<published>2017-04-17T15:47:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=aef7bcf2882263d4b56dd3f6ed4707193719f3d8'/>
<id>urn:sha1:aef7bcf2882263d4b56dd3f6ed4707193719f3d8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>New agnostic IPv4 IPv6 functions.</title>
<updated>2015-08-22T22:52:01+00:00</updated>
<author>
<name>Diego Nehab</name>
<email>diego@impa.br</email>
</author>
<published>2015-08-22T22:52:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/luasocket/commit/?id=96965b179c7311f850f72a8629b9ba6d3a31d117'/>
<id>urn:sha1:96965b179c7311f850f72a8629b9ba6d3a31d117</id>
<content type='text'>
Also dealing with EPROTOTYPE Yosemite seems to be throwing
at us for no reason.
</content>
</entry>
</feed>
