diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-01-02 23:31:14 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2005-01-02 23:31:14 +0000 |
commit | c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268 (patch) | |
tree | a66d0ea7bc47b2b5cf6565dfd455a2ad24f3eee8 | |
parent | 49445951a8e3a6960c9024a6686d4c14fb81f43c (diff) | |
download | luasocket-c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268.tar.gz luasocket-c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268.tar.bz2 luasocket-c5486e206c2cbb6ee64e2dd3f0d8efafe1e51268.zip |
Releasing.
-rw-r--r-- | NEW | 46 | ||||
-rw-r--r-- | README | 6 | ||||
-rw-r--r-- | doc/index.html | 5 | ||||
-rw-r--r-- | test/httptest.lua | 2 |
4 files changed, 22 insertions, 37 deletions
@@ -1,31 +1,21 @@ | |||
1 | What's New | 1 | What's New |
2 | 2 | ||
3 | Changes in the 2.0-beta2 were mostly bug-fixes. | 3 | The big change for the 2.0 (beta3) release was the adoption of the Lua |
4 | 4 | 5.1 package proposal. There were several bug fixes too (a beta is a | |
5 | <> Fixed silly last-minute-change bug in HTTP/SMTP running; | 5 | beta, 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 | ||
@@ -1,11 +1,7 @@ | |||
1 | This release is a "beta" version. It has been tested on WinXP, Mac OS X, | 1 | This release is a "beta" version. It has been tested on WinXP, Mac OS X, |
2 | SunOS and Linux. Although no major API changes should happen before the | 2 | and Linux. Although no major API changes should happen before the |
3 | final version is released, please look for and report any bugs (or | 3 | final version is released, please look for and report any bugs (or |
4 | "features") you encounter. | 4 | "features") you encounter. |
5 | 5 | ||
6 | For this version, all modules should be loaded with the provided "require" | ||
7 | function, and the binaries should be compliled as shared libraries. Check | ||
8 | the makefiles in the distribution and the readme in the 'etc' directory. | ||
9 | |||
10 | Have fun, | 6 | Have fun, |
11 | Diego Nehab. | 7 | Diego 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 | |||
23 | local t = socket.gettime() | 23 | local t = socket.gettime() |
24 | 24 | ||
25 | host = host or "diego.student.princeton.edu" | 25 | host = host or "diego.student.princeton.edu" |
26 | proxy = proxy or "http://localhost:3128" | 26 | proxy = proxy or "http://dell-diego:3128" |
27 | prefix = prefix or "/luasocket-test" | 27 | prefix = prefix or "/luasocket-test" |
28 | cgiprefix = cgiprefix or "/luasocket-test-cgi" | 28 | cgiprefix = cgiprefix or "/luasocket-test-cgi" |
29 | index_file = "test/index.html" | 29 | index_file = "test/index.html" |