From 11282d17c8ecb6aa6fa31a3de742eae0215f4cc0 Mon Sep 17 00:00:00 2001
From: Diego Nehab
Date: Mon, 3 Apr 2006 04:45:42 +0000
Subject: Almost done 2.0.1.
---
doc/index.html | 77 ++++++++++++++--------------------------------------------
1 file changed, 18 insertions(+), 59 deletions(-)
(limited to 'doc/index.html')
diff --git a/doc/index.html b/doc/index.html
index f740d91..d5a1f30 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -78,7 +78,7 @@ LuaSocket.
-Copyright © 2004-2005 Diego Nehab. All rights reserved.
+Copyright © 2004-2006 Diego Nehab. All rights reserved.
Author: Diego Nehab
@@ -87,8 +87,8 @@ Author: Diego Nehab
Download
-LuaSocket version 2.0 (final) is now available for download! It is
-compatible with Lua 5.0 and has been tested on
+LuaSocket version 2.0.1 is now available for download! It is
+compatible with Lua 5.0 and has been tested on
Windows XP, Linux, and Mac OS X.
@@ -159,65 +159,24 @@ has been helping a lot too! Thanks to you all!
What's New
-There is no big change for the 2.0 (final) release. It is basically a
-bug fix release. The only improvement is in the non-blocking
-support.
+This is just a bug-fix/update release.
-- New: sample module dispatch.lua implements a
-coroutine based dispatcher;
-
- New: sample check-links.lua works
-both in blocking and non-blocking mode using coroutines
-(using the new dispatcher);
-
- New: sample forward.lua implements a coroutine
-based forward server (using the new dispatcher);
-
- Improved: tcp:send(data, i, j) to return (i+sent-1). This is great for non-blocking I/O, but might break some code;
-
- Improved: HTTP, SMTP, and FTP functions to accept a new field
-create that overrides the function used to create socket objects;
-
- Improved: smtp.message now supports multipart/alternative
-(for the HTML messages we all love so much);
-
- Fixed: smtp.send was hanging on errors returned by LTN12 sources;
-
- Fixed: url.absolute() to work when base_url is in
-parsed form;
-
- Fixed: http.request() not to redirect when the location
-header is empty (naughty servers...);
-
- Fixed: tcp{client}:shutdown() to check for class instead of
-group;
-
- Fixed: The manual to stop using socket.try() in place of
-assert(), since it can't;
-
- Improved: Got rid of package.loaded.base = _G kludge;
-
- Fixed: Parts of the manual referred to require("http") instead of
-require("socket.http");
-
- Improved: Socket and MIME binaries are called 'core' each inside their
-directory (ex. "socket/core.dll"). The 'l' prefix was just a bad idea;
-
- Improved: Using bundles in Mac OS X, instead of dylibs;
-
- Fixed: luasocket.h to export luaopen_socket_core;
-
- Fixed: udp:setpeername() so you can "disconnect" an
-UDP socket;
-
- Fixed: A weird bug in HTTP support that caused some requests to
-fail (Florian Berger);
-
- Fixed: Bug in socket.select() that caused sockets
-with descriptor 0 to be ignored (Renato Maia);
-
- Fixed: "Bug" that caused dns.toip() to crash under uLinux
-(William Trenker);
-
- Fixed: "Bug" that caused gethostbyname to crash under VMS
-(Renato Maia);
-
- Fixed: tcp:send("") to return 0 bytes sent (Alexander Marinov);
-
- Improved: socket.DEBUG and socket.VERSION became socket._DEBUGs and socket._VERSION for uniformity with other libraries;
-
- Improved: socket.select now works on empty sets on Windows.
-
-
-
-
-Incompatibilities with previous versions
-
-
-- If you use the return value of tcp:send() and you
-use the extra parameters to select only part of the string to be sent, your
-code is now broken, but when you fix it, it will be much simpler;
-
- If you check socket.DEBUG or socket.VERSION,
-change it to socket._DEBUG or socket._VERSION.
+
- Updated: now using compat-5.1r5;
+
- Improved: http.request is more robust to
+malformed URLs (Adrian Sietsma);
+
- Improved: the simple http.request interface sends a
+"Content-type: application/x-www-form-urlencoded"
+header (William Trenker);
+
- Improved: http.request is robust to evil
+servers that send inappropriate 100-continue messages
+(David Burgess);
+
- Fixed: sample unix.c had fallen through the
+cracks during development (Matthew Percival);
+
- Fixed: error code was not being propagated correctly in
+ftp.lua (David Burgess).
+
-
--
cgit v1.2.3-55-g6feb