NEW 2.3 KB

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