aboutsummaryrefslogtreecommitdiff
path: root/test (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix. Optional IPv6 testmoteus2013-05-271-2/+8
|
* Fix. setsockname fails with "*" as host.moteus2013-05-271-0/+6
| | | | Add. test_bind.lua
* Fix. getaddrinfo returns garbage as address on Windows.moteus2013-05-271-0/+15
| | | | Add. test_getaddrinfo.lua
* Merge pull request #27 from catwell/pull-noargDiego Nehab2013-04-171-4/+4
|\ | | | | fix more uses of arg
| * remove uses of arg in the codebasePierre Chapuis2013-01-231-4/+4
| |
* | Use the length operator (#) instead of table.getn.Gerardo Marset2013-02-253-9/+9
|/ | | | | table.getn was deprecated in Lua 5.1 in favor of #, the length operator. See: http://www.lua.org/manual/5.1/manual.html#7.2
* Fix udp:setpeername("*")Diego Nehab2012-08-232-0/+35
| | | | | | | | | | | | | | There seems to be a curious difference between MacOS and Linux and I am not sure if this is documented. When you break a "connection" on Mac OS, you only eliminate the peer association, but the local address remains bound. On Linux, breaking a "connection" eliminates the binding to the local address. Have you guys ever come accross this? Another irritating difference is that connect() returns the error EAFNOSUPPORT on Mac OS. I am going to ignore all errors when the reason for calling connect() is simply to break the "connection".
* Test server exits gracefully at command of test clientDiego Nehab2012-05-011-0/+7
|
* Update method list in testsFlorian Zeitz2012-04-291-1/+4
|
* Select loadstring or load for Lua 5.1/5.2 respectivelyFlorian Zeitz2012-04-291-1/+1
|
* Test method registration for IPv6 socketsFlorian Zeitz2012-04-291-4/+9
|
* Making progress toward a releaseDiego Nehab2012-04-231-10/+121
| | | | | | | | | | Documented headers.lua Update copyright date everywhere Remove RCSID from files Move version back to 2.1 rather than 2.1.1 Fixed url package to support ipv6 hosts Changed "domain" to "family" in tcp and udp structures Implemented getfamily methods
* Merge branch 'git-sam' into diego-sam-mwild-integrationSam Roberts2012-04-115-1/+141
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts in options.c were just due to independent small functions being close to each other. unix.c in mwild was broken, it wasn't using LUASOCKET_API. serial.c needed luaL_reg renamed, and to use LUASOCKET_API. makefile didn't respect standard DESTDIR and prefix makefile variables, and didn't allow LUAV variable to select lua version to build against. I've tested the top-level install-both target builds and installs against both lua5.1 and lua5.2, but not done further testing. Conflicts: README config gem/ltn012.tex makefile src/makefile src/options.c src/options.h src/tcp.c src/usocket.c
| * On failure, exit with a message instead of blocking indefinitely.Sam Roberts2012-04-111-2/+4
| |
| * Support getoption method for tcp objects.Sam Roberts2012-04-111-0/+41
| |
| * testsrvr asserts when test finishes successfully.Sam Roberts2012-04-111-1/+6
| | | | | | | | | | | | | | When the test client finishes, the test server asserts with a "closed" message. After looking carefully at this, I think the tests are running successfully and passing. Since it appears to be a test failure, I modified the server to allow the client to close the control connection.
| * Utility to find how many TCP connections can be made.Sam Roberts2012-04-111-0/+32
| |
| * Test showing failure to receive a zero-length packet.Sam Roberts2012-04-111-0/+35
| |
| * Stop returning an error after successful send of zero length UDP packetsSam Roberts2012-04-111-0/+25
| | | | | | | | | | | | | | A zero-length send is invalid with TCP, but well defined with UDP. udp:send"" was returning (nil,"refused"), indicating that it failed when the packet was actually sent. The test script reproduces the bug, and includes a tcpdump of the zero length packet being sent.
* | change localhost to loopback ip to prevent error on my mac box????Liam Devine2012-04-111-2/+3
| |
* | Compiles with Lua 5.1.4 and Lua 5.2.0-beta, although the makefile needs ↵Liam Devine2012-04-112-6/+11
| | | | | | | | sorting out to take maybe a version number and also the local paths need removing.
* | Saving before big changes to support IPv6.Diego Nehab2011-05-257-515/+543
| |
* | Decent makefiles!Diego Nehab2009-05-276-10/+74
|/
* Removed os.exit from test.Diego Nehab2007-06-111-1/+0
|
* Crashy bug fixed in recvraw.Diego Nehab2007-06-112-2/+61
| | | | Also fixed returns on closed socket.
* Added simple unix tests.Diego Nehab2007-04-093-10/+17
|
* Couple bug fixes.Diego Nehab2007-03-123-10/+9
|
* Almost done 2.0.1.Diego Nehab2006-04-032-5/+2
|
* Final patches...Diego Nehab2006-04-034-6/+22
|
* Better image to test mail.Diego Nehab2006-04-021-0/+0
|
* Updates for 2.0.1 on the way.Diego Nehab2006-03-192-10/+5
|
* In pre release mode!Diego Nehab2005-11-201-2/+2
|
* Changed prefix of function names to match module names.Diego Nehab2005-11-201-2/+2
| | | | Removed some warnings and useless code.
* Before compiling on Windows.Diego Nehab2005-10-071-6/+6
|
* Test back to localhost.Diego Nehab2005-09-291-2/+2
|
* Tested on Windows.Diego Nehab2005-09-291-2/+2
|
* Almost ready to release.Diego Nehab2005-09-292-3/+4
|
* Compiled on Windows. Fixed a bunch of stuff. Almost ready to release.Diego Nehab2005-08-232-6/+40
| | | | | Implemented a nice dispatcher! Non-blocking check-links and forward server use the dispatcher.
* Final push for release...Diego Nehab2005-08-121-7/+8
|
* Added check-links-nb.lua that check links in a non-blocking way.Diego Nehab2005-06-201-1/+1
|
* Using core.so instead of csocket.so and cmime.so.Diego Nehab2005-06-171-1/+5
|
* Working on the manual.Diego Nehab2005-06-141-1/+1
|
* Stupid bug in http.lua.Diego Nehab2005-06-124-6/+6
|
* Tiny bug in forward.luaDiego Nehab2005-03-111-1/+1
|
* Forward server works for multiple tunnels.Diego Nehab2005-03-101-1/+1
| | | | | Http.lua has been patched to support non-blocking everything. Makefile for linux has been updated with new names.
* Forward server working on Mac OS X...Diego Nehab2005-02-086-11/+671
|
* Releasing.Diego Nehab2005-01-021-1/+1
|
* Few extra changes...Diego Nehab2005-01-021-1/+1
|
* Almost ready to release beta3Diego Nehab2005-01-021-2/+1
|
* More to do.Diego Nehab2004-12-071-1/+0
|