aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Nehab <diego@tecgraf.puc-rio.br>2005-01-02 23:31:14 +0000
committerDiego Nehab <diego@tecgraf.puc-rio.br>2005-01-02 23:31:14 +0000
commitc5486e206c2cbb6ee64e2dd3f0d8efafe1e51268 (patch)
treea66d0ea7bc47b2b5cf6565dfd455a2ad24f3eee8
parent49445951a8e3a6960c9024a6686d4c14fb81f43c (diff)
downloadluasocket-c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268.tar.gz
luasocket-c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268.tar.bz2
luasocket-c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268.zip
Releasing.
-rw-r--r--NEW46
-rw-r--r--README6
-rw-r--r--doc/index.html5
-rw-r--r--test/httptest.lua2
4 files changed, 22 insertions, 37 deletions
diff --git a/NEW b/NEW
index 3d7a19a..b84b5fb 100644
--- a/NEW
+++ b/NEW
@@ -1,31 +1,21 @@
1What's New 1What's New
2 2
3Changes in the 2.0-beta2 were mostly bug-fixes. 3The big change for the 2.0 (beta3) release was the adoption of the Lua
4 45.1 package proposal. There were several bug fixes too (a beta is a
5<> Fixed silly last-minute-change bug in HTTP/SMTP running; 5beta, is a beta).
6<> usocket.c/wsocket.c look nicer thanks to Mike;
7<> Finally total timeout is reliable on Windows! (found a pretty
8 simple work around);
9<> UDP has a reasonable maximum datagram size (8k);
10<> Receive accepts the prefix optional argument (good for
11 non-blocking);
12<> <b>Send doesn't support multiple arguments anymore</b>;
13<> Instead, send allows the selection of the substring
14 to be sent (good for non-blocking);
15<> Fixed bug that caused select return tables not to be associative
16 on windows;
17<> Should compiles with g++;
18<> New sample unix domain support;
19<> New sample LPD support;
20<> Comprehensive error messages;
21<> New getstats and setstats methods to help
22 throttling;
23<> Listen defaults to 32 backlog;
24<> SMTP/FTP/HTTP fail gracefully;
25<> accept/connect/select interrupt safe
26<> Fixed bug that didn't set accepted sockets as non-blocking
27<> <b>New timming functions sleep and gettime have
28 higher resolution and no wrap around problems</b>;
29<> Bug fixes in the manual;
30<> Fixed bug of missing cast in getfd.
31 6
7* New compat-5.1 distribution:
8 - Instalation uses new directory structure;
9 - Namespace hierarchy is in now back in use (ex. socket.url instead of url);
10 - All modules call require even for standard libraries;
11* LTN12 avoids coroutines (so you can go wild on the C side);
12* socket.select wasn't calling tm_markstart;
13* Kludge on wsocket.c:sock_send for Windows timeout issue moved to
14 buffer.c:sendraw so it's not a kludge anymore;
15* socket.protect only catches errors thrown by socket.try;
16* Fixed udp:sendto to call sock_sendto instead of sock_send;
17* close wasn't returning 1!
18* socket.gettime returns time since Unix Epoch 1/1/1970 (UTC)
19* socket.sleep is robust to interrupts;
20* http.PROXY wasn't working.
21* fixed some of the examples
diff --git a/README b/README
index b072084..8572736 100644
--- a/README
+++ b/README
@@ -1,11 +1,7 @@
1This release is a "beta" version. It has been tested on WinXP, Mac OS X, 1This release is a "beta" version. It has been tested on WinXP, Mac OS X,
2SunOS and Linux. Although no major API changes should happen before the 2and Linux. Although no major API changes should happen before the
3final version is released, please look for and report any bugs (or 3final version is released, please look for and report any bugs (or
4"features") you encounter. 4"features") you encounter.
5 5
6For this version, all modules should be loaded with the provided "require"
7function, and the binaries should be compliled as shared libraries. Check
8the makefiles in the distribution and the readme in the 'etc' directory.
9
10Have fun, 6Have fun,
11Diego Nehab. 7Diego Nehab.
diff --git a/doc/index.html b/doc/index.html
index aabf315..f0661e2 100644
--- a/doc/index.html
+++ b/doc/index.html
@@ -183,19 +183,18 @@ beta, is a beta).
183<li> Installation uses new directory structure; 183<li> Installation uses new directory structure;
184<li> Namespace hierarchy is in now back in use (ex. <tt>socket.url</tt> 184<li> Namespace hierarchy is in now back in use (ex. <tt>socket.url</tt>
185 instead of <tt>url</tt>); 185 instead of <tt>url</tt>);
186<li> Globals not visible from inside namespaces;
187<li> All modules call <tt>require</tt> even for standard libraries; 186<li> All modules call <tt>require</tt> even for standard libraries;
188</ul> 187</ul>
188<li> <tt>socket.select</tt> wasn't calling <tt>tm_markstart</tt>;
189<li> LTN12 avoids coroutines (so you can go wild on the C side); 189<li> LTN12 avoids coroutines (so you can go wild on the C side);
190<li> Kludge on wsocket.c:sock_send for windows timeout issue 190<li> Kludge on wsocket.c:sock_send for windows timeout issue
191 moved to buffer.c:sendraw; 191 moved to buffer.c:sendraw so it's not a kludge anymore;
192<li> <tt>socket.protect </tt>only catches errors thrown by <tt>socket.try</tt>; 192<li> <tt>socket.protect </tt>only catches errors thrown by <tt>socket.try</tt>;
193<li> Fixed <tt>udp:sendto</tt> to call <tt>sock_sendto</tt> instead of 193<li> Fixed <tt>udp:sendto</tt> to call <tt>sock_sendto</tt> instead of
194 <tt>sock_send</tt>; 194 <tt>sock_send</tt>;
195<li> <tt>close</tt> wasn't returning 1! 195<li> <tt>close</tt> wasn't returning 1!
196<li> <tt>socket.gettime</tt> returns time since Unix Epoch 1/1/1970 (UTC); 196<li> <tt>socket.gettime</tt> returns time since Unix Epoch 1/1/1970 (UTC);
197<li> <tt>socket.sleep</tt> is robust to interrupts; 197<li> <tt>socket.sleep</tt> is robust to interrupts;
198<li> <tt>socket.select</tt> wasn't calling <tt>tm_markstart</tt>;
199<li> <tt>http.PROXY</tt> wasn't working; 198<li> <tt>http.PROXY</tt> wasn't working;
200<li> <tt>url.escape</tt> escapes only dangerous characters. 199<li> <tt>url.escape</tt> escapes only dangerous characters.
201</ul> 200</ul>
diff --git a/test/httptest.lua b/test/httptest.lua
index 2335fcb..8862ceb 100644
--- a/test/httptest.lua
+++ b/test/httptest.lua
@@ -23,7 +23,7 @@ http.TIMEOUT = 10
23local t = socket.gettime() 23local t = socket.gettime()
24 24
25host = host or "diego.student.princeton.edu" 25host = host or "diego.student.princeton.edu"
26proxy = proxy or "http://localhost:3128" 26proxy = proxy or "http://dell-diego:3128"
27prefix = prefix or "/luasocket-test" 27prefix = prefix or "/luasocket-test"
28cgiprefix = cgiprefix or "/luasocket-test-cgi" 28cgiprefix = cgiprefix or "/luasocket-test-cgi"
29index_file = "test/index.html" 29index_file = "test/index.html"