Releasing.

This commit is contained in:
Diego Nehab 2005-01-02 23:31:14 +00:00
parent 49445951a8
commit c5486e206c
4 changed files with 22 additions and 37 deletions

46
NEW
View file

@ -1,31 +1,21 @@
What's New
Changes in the 2.0-beta2 were mostly bug-fixes.
<> Fixed silly last-minute-change bug in HTTP/SMTP running;
<> usocket.c/wsocket.c look nicer thanks to Mike;
<> Finally total timeout is reliable on Windows! (found a pretty
simple work around);
<> UDP has a reasonable maximum datagram size (8k);
<> Receive accepts the prefix optional argument (good for
non-blocking);
<> <b>Send doesn't support multiple arguments anymore</b>;
<> Instead, send allows the selection of the substring
to be sent (good for non-blocking);
<> Fixed bug that caused select return tables not to be associative
on windows;
<> Should compiles with g++;
<> New sample unix domain support;
<> New sample LPD support;
<> Comprehensive error messages;
<> New getstats and setstats methods to help
throttling;
<> Listen defaults to 32 backlog;
<> SMTP/FTP/HTTP fail gracefully;
<> accept/connect/select interrupt safe
<> Fixed bug that didn't set accepted sockets as non-blocking
<> <b>New timming functions sleep and gettime have
higher resolution and no wrap around problems</b>;
<> Bug fixes in the manual;
<> Fixed bug of missing cast in getfd.
The big change for the 2.0 (beta3) release was the adoption of the Lua
5.1 package proposal. There were several bug fixes too (a beta is a
beta, is a beta).
* New compat-5.1 distribution:
- Instalation uses new directory structure;
- Namespace hierarchy is in now back in use (ex. socket.url instead of url);
- All modules call require even for standard libraries;
* LTN12 avoids coroutines (so you can go wild on the C side);
* socket.select wasn't calling tm_markstart;
* Kludge on wsocket.c:sock_send for Windows timeout issue moved to
buffer.c:sendraw so it's not a kludge anymore;
* socket.protect only catches errors thrown by socket.try;
* Fixed udp:sendto to call sock_sendto instead of sock_send;
* close wasn't returning 1!
* socket.gettime returns time since Unix Epoch 1/1/1970 (UTC)
* socket.sleep is robust to interrupts;
* http.PROXY wasn't working.
* fixed some of the examples