| 1 |
What's New |
| 2 |
|
| 3 |
Main changes for LuaSocket 3.0-rc1 are IPv6 support and Lua 5.2 compatibility. |
| 4 |
|
| 5 |
* Added: Compatible with Lua 5.2 |
| 6 |
- Note that unless you define LUA_COMPAT_MODULE, package |
| 7 |
tables will not be exported as globals! |
| 8 |
* Added: IPv6 support; |
| 9 |
- Socket.connect and socket.bind support IPv6 addresses; |
| 10 |
- Getpeername and getsockname support IPv6 addresses, and |
| 11 |
return the socket family as a third value; |
| 12 |
- URL module updated to support IPv6 host names; |
| 13 |
- New socket.tcp6 and socket.udp6 functions; |
| 14 |
- New socket.dns.getaddrinfo and socket.dns.getnameinfo functions; |
| 15 |
* Added: getoption method; |
| 16 |
* Fixed: url.unescape was returning additional values; |
| 17 |
* Fixed: mime.qp, mime.unqp, mime.b64, and mime.unb64 could |
| 18 |
mistaking their own stack slots for functions arguments; |
| 19 |
* Fixed: Receiving zero-length datagram is now possible; |
| 20 |
* Improved: Hidden all internal library symbols; |
| 21 |
* Improved: Better error messages; |
| 22 |
* Improved: Better documentation of socket options. |
| 23 |
* Fixed: manual sample of HTTP authentication now uses correct |
| 24 |
"authorization" header (Alexandre Ittner); |
| 25 |
* Fixed: failure on bind() was destroying the socket (Sam Roberts); |
| 26 |
* Fixed: receive() returns immediatelly if prefix can satisfy |
| 27 |
bytes requested (M Joonas Pihlaja); |
| 28 |
* Fixed: multicast didn't work on Windows, or anywhere |
| 29 |
else for that matter (Herbert Leuwer, Adrian Sietsma); |
| 30 |
* Fixed: select() now reports an error when called with more |
| 31 |
sockets than FD_SETSIZE (Lorenzo Leonini); |
| 32 |
* Fixed: manual links to home.html changed to index.html (Robert Hahn); |
| 33 |
* Fixed: mime.unb64() would return an empty string on results that started |
| 34 |
with a null character (Robert Raschke); |
| 35 |
* Fixed: HTTP now automatically redirects on 303 and 307 (Jonathan Gray); |
| 36 |
* Fixed: calling sleep() with negative numbers could |
| 37 |
block forever, wasting CPU. Now it returns immediately (MPB); |
| 38 |
* Improved: FTP commands are now sent in upper case to |
| 39 |
help buggy servers (Anders Eurenius); |
| 40 |
* Improved: known headers now sent in canonic |
| 41 |
capitalization to help buggy servers (Joseph Stewart); |
| 42 |
* Improved: Clarified tcp:receive() in the manual (MPB); |
| 43 |
* Improved: Decent makefiles (LHF). |
| 44 |
* Fixed: RFC links in documentation now point to IETF (Cosmin Apreutesei). |