diff options
author | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-03-21 07:50:15 +0000 |
---|---|---|
committer | Diego Nehab <diego@tecgraf.puc-rio.br> | 2004-03-21 07:50:15 +0000 |
commit | 4919a83d2271a9e43b83c7d488e3f94c850681e3 (patch) | |
tree | a2ae9a27ead4cb85cbbd857ef74bc39c01b9bf64 /test/testsrvr.lua | |
parent | 2a14ac4fe4bb4dd6d7a7ec5195c15a4e3f783ad5 (diff) | |
download | luasocket-4919a83d2271a9e43b83c7d488e3f94c850681e3.tar.gz luasocket-4919a83d2271a9e43b83c7d488e3f94c850681e3.tar.bz2 luasocket-4919a83d2271a9e43b83c7d488e3f94c850681e3.zip |
Changed receive function. Now uniform with all other functions. Returns nil
on error, return partial result in the end.
http.lua rewritten.
Diffstat (limited to '')
-rw-r--r-- | test/testsrvr.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/testsrvr.lua b/test/testsrvr.lua index 99b54e5..5c05239 100644 --- a/test/testsrvr.lua +++ b/test/testsrvr.lua | |||
@@ -22,6 +22,8 @@ while 1 do | |||
22 | print("server: closing connection...") | 22 | print("server: closing connection...") |
23 | break | 23 | break |
24 | end | 24 | end |
25 | print(command); | ||
26 | |||
25 | (loadstring(command))() | 27 | (loadstring(command))() |
26 | end | 28 | end |
27 | end | 29 | end |