aboutsummaryrefslogtreecommitdiff
path: root/NEW
diff options
context:
space:
mode:
Diffstat (limited to 'NEW')
-rw-r--r--NEW69
1 files changed, 18 insertions, 51 deletions
diff --git a/NEW b/NEW
index 7c94368..f6210b2 100644
--- a/NEW
+++ b/NEW
@@ -1,54 +1,21 @@
1What's New 1What's New
2 2
3There is no big change for the 2.0 (final) release. It is 3This is just a bug-fix/update release.
4basically a bug fix release. The main improvement is in the
5non-blocking support.
6 4
7 * New: sample module dispatch.lua implements a coroutine 5 * Updated: now using compat-5.1r5;
8 based dispatcher; 6
9 * New: sample check-links.lua works both in blocking and 7 * Improved: http.request is more robust to malformed
10 non-blocking mode using coroutines (using the new 8 URLs (Adrian Sietsma);
11 dispatcher); 9
12 * New: sample forward.lua implements a coroutine based 10 * Improved: the simple http.request interface sends a
13 forward server (using the new dispatcher); 11 "Content-type: application/x-www-form-urlencoded" header
14 * Improved: tcp:send(data, i, j) to return (i+sent-1). This 12 (William Trenker);
15 is great for non-blocking I/O, but might break some code; 13
16 * Improved: HTTP, SMTP, and FTP functions to accept a new 14 * Improved: http.request is robust to evil servers that
17 field create that overrides the function used to create 15 send inappropriate 100-continue messages (David Burgess);
18 socket objects; 16
19 * Improved: smtp.message now supports multipart/alternative 17 * Fixed: sample unix.c had fallen through the cracks
20 (for the HTML messages we all love so much); 18 during development (Matthew Percival);
21 * Fixed: smtp.send was hanging on errors returned by LTN12 19
22 sources; 20 * Fixed: error code was not being propagated correctly
23 * Fixed: url.absolute() to work when base_url is in parsed 21 in ftp.lua (David Burgess).
24 form;
25 * Fixed: http.request() not to redirect when the location
26 header is empty (naughty servers...);
27 * Fixed: tcp{client}:shutdown() to check for class instead
28 of group;
29 * Fixed: The manual to stop using socket.try() in place of
30 assert(), since it can't;
31 * Improved: Got rid of package.loaded.base = _G kludge;
32 * Fixed: Parts of the manual referred to require("http")
33 instead of require("socket.http");
34 * Improved: Socket and MIME binaries are called 'core' each
35 inside their directory (ex. "socket/core.dll"). The 'l'
36 prefix was just a bad idea;
37 * Improved: Using bundles in Mac OS X, instead of dylibs;
38 * Fixed: luasocket.h to export luaopen_socket_core;
39 * Fixed: udp:setpeername() so you can "disconnect" an UDP
40 socket;
41 * Fixed: A weird bug in HTTP support that caused some
42 requests to fail (Florian Berger);
43 * Fixed: Bug in socket.select() that caused sockets with
44 descriptor 0 to be ignored (Renato Maia);
45 * Fixed: "Bug" that caused dns.toip() to crash under uLinux
46 (William Trenker);
47 * Fixed: "Bug" that caused gethostbyname to crash under VMS
48 (Renato Maia);
49 * Fixed: tcp:send("") to return 0 bytes sent (Alexander
50 Marinov);
51 * Improved: socket.DEBUG and socket.VERSION became
52 socket._DEBUGs and socket._VERSION for uniformity with other
53 libraries;
54 * Improved: socket.select now works on empty sets on Windows.