Commit Graph

90 Commits

Author SHA1 Message Date
Diego Nehab
9d97d39575 Fix ltn12 version. 2012-12-10 15:50:44 -02:00
Diego Nehab
6368caeb5a Fix udp:setpeername("*")
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".
2012-08-23 19:31:15 -03:00
Diego Nehab
30d1aae140 Added Sam's suggestion to TODO 2012-04-27 02:03:09 +08:00
Diego Nehab
c2e29537f5 Fixed getpeername/getsockname situation
- Added IPv6 support to getsockname
- Simplified getpeername implementation
- Added family to return of getsockname and getpeername
and added modification to the manual to describe
2012-04-24 00:47:30 +08:00
Diego Nehab
1acf8188cd socket.bind also tries all addresses returned by getaddrinfo. 2012-04-23 01:40:31 +08:00
Diego Nehab
f960b3872a Making progress toward a release
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
2012-04-23 00:18:45 +08:00
Diego Nehab
f37e026026 First stab at documenation
Update Lua and Luasocket version in samples and in documentation
Documented ipv5_v6only default option being set
Documented tcp6 and udp6
Documented dns.getaddrinfo
Documented zero-sized datagram change?
Documented getoption
2012-04-17 01:15:26 +08:00
Diego Nehab
b3c4f46179 merged lua_typerrror.{c,h} into auxiliar.{c,h} 2012-04-16 20:41:48 +08:00
Diego Nehab
d1a72435d5 New release. 2007-10-13 23:55:20 +00:00
Diego Nehab
8bf9fb51dd Thread safety... 2006-04-28 07:06:42 +00:00
Diego Nehab
be57b387d2 Stupid bug was reusing the nreqt.headers.host during redirect. 2006-04-12 08:04:09 +00:00
Diego Nehab
93806208c7 Updates for 2.0.1 on the way. 2006-03-19 21:22:21 +00:00
Diego Nehab
f4dadea763 Before compiling on Windows. 2005-10-07 04:40:59 +00:00
Diego Nehab
72eceedc62 Bugs sent by David. 2005-10-05 03:16:17 +00:00
Diego Nehab
a32c6d9140 Almost ready to release. 2005-09-29 06:11:42 +00:00
Diego Nehab
773e35ced3 Compiled on Windows. Fixed a bunch of stuff. Almost ready to release.
Implemented a nice dispatcher! Non-blocking check-links and forward server
use the dispatcher.
2005-08-23 05:53:14 +00:00
Diego Nehab
0c3cdd5ef2 Final push for release... 2005-08-12 05:56:32 +00:00
Diego Nehab
ae4ba2aa98 Before tidying up directory structure. 2005-06-18 21:10:33 +00:00
Diego Nehab
4d455c6206 Using core.so instead of csocket.so and cmime.so. 2005-06-17 04:04:55 +00:00
Diego Nehab
65c35845c5 Working on the manual. 2005-06-14 04:29:23 +00:00
Diego Nehab
434e8e014c Better connection handling. 2005-04-21 03:15:34 +00:00
Diego Nehab
8d4e240f6a Forward server working on Mac OS X... 2005-02-08 10:01:01 +00:00
Diego Nehab
d429638d38 More to do. 2005-02-01 22:19:37 +00:00
Diego Nehab
c5fefd5529 Simplified use for sock:send. 2005-01-27 21:30:01 +00:00
Diego Nehab
b999686ea8 Yet more to do. 2005-01-21 07:54:09 +00:00
Diego Nehab
a4e35bc5d5 More to do... 2005-01-20 17:31:01 +00:00
Diego Nehab
9da4046463 More todo... 2005-01-19 08:33:35 +00:00
Diego Nehab
6b7aeb0cb9 Copyright. 2005-01-15 22:52:33 +00:00
Diego Nehab
d63ad26e67 More todo, always more. 2005-01-15 22:33:45 +00:00
Diego Nehab
02ffe9ce25 Always more to do... 2005-01-14 05:00:55 +00:00
Diego Nehab
fd3cb870d3 More to do. 2005-01-05 06:06:59 +00:00
Diego Nehab
33349fbd21 More to do. 2004-12-07 20:39:02 +00:00
Diego Nehab
534b0cedf7 Added new instalation section to the manual. 2004-11-28 08:17:16 +00:00
Diego Nehab
7c97e8e40a Almost ready for beta3 2004-11-27 07:58:04 +00:00
Diego Nehab
eb0fc857dd Probleminhas em compat-5.1.lua. 2004-11-26 07:55:57 +00:00
Diego Nehab
4964552718 My own ltn12.filter.chain is done.
Implemented part of DB's suggestion for ftp.
Mimetest.lua generates the test file for base64 instead of loading from disk.
2004-10-12 22:35:20 +00:00
Diego Nehab
396946b63a Using Wim's filter.chain... 2004-10-12 19:47:02 +00:00
Diego Nehab
3c51a4cdd1 Works on Linux. 2004-10-11 06:30:42 +00:00
Diego Nehab
1e5e8b5ce5 Fine tunned modules scheme.
Adjusted client modules.
Fixed proxy bug in http.
2004-10-11 06:18:57 +00:00
Diego Nehab
eba5f22437 Some changes. 2004-09-21 18:58:47 +00:00
Diego Nehab
e4d4c828d9 nanosleep patch. 2004-08-04 20:51:57 +00:00
Diego Nehab
0e77ad987f Don't forget! 2004-08-04 06:31:44 +00:00
Diego Nehab
cf57768e77 Accounting... 2004-07-29 05:55:51 +00:00
Diego Nehab
911e8d7e7f Beta2 is out! Total timeout works on Windows. 2004-07-26 05:17:37 +00:00
Diego Nehab
c8b402e004 Changed send function. 2004-07-18 22:56:14 +00:00
Diego Nehab
e4e2223cff Fixed a bunch of stuff. Added mike's patches. 2004-07-16 06:48:48 +00:00
Diego Nehab
9a79d500eb Still need to fix windows. :o/ 2004-07-15 06:11:53 +00:00
Diego Nehab
6058d1838e Releasing the beta-beta. 2004-07-02 23:31:32 +00:00
Diego Nehab
ae898616d1 Ready to release beta. 2004-07-02 22:25:58 +00:00
Diego Nehab
63807d6476 Added getstats. 2004-07-01 06:09:29 +00:00