Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add more tests for socket.try/protect | mpeterv | 2016-02-21 | 1 | -4/+29 |
| | |||||
* | Support table errors. | Philipp Janda | 2016-02-21 | 1 | -19/+27 |
| | | | | | | | | | LuaSocket wraps error messages raised by newtry() in a table and unpacks them later so that (string) errors raised by 3rd-party code can be passed through as-is. This obviously didn't work when the 3rd-party code raised a table as an error message. This change sets a private metatable on all wrapped LuaSocket exceptions to distinguish them from 3rd-party table errors. | ||||
* | Merge pull request #155 from JonasKunze/feature/solaris | Diego Nehab | 2016-02-11 | 2 | -3/+29 |
|\ | | | | | Added Solaris platform | ||||
| * | Added solaris platform | Jonas Kunze | 2016-01-15 | 2 | -3/+29 |
| | | | | | | | | To compile on solaris some libs had to be linked. So far I was only able to test it on OmniOS r151006 | ||||
* | | Merge pull request #157 from mpeterv/ltn12-lua53 | Diego Nehab | 2016-02-11 | 4 | -3/+5 |
|\ \ | |/ |/| | Fix error in ltn12 under Lua 5.3 | ||||
| * | Don't break global mbox table in mbox.split_mbox | mpeterv | 2016-02-11 | 1 | -1/+1 |
| | | |||||
| * | Fix sink method in tp module | mpeterv | 2016-02-11 | 1 | -1/+1 |
| | | |||||
| * | Fix base_parsed global in url module | mpeterv | 2016-02-11 | 1 | -0/+1 |
| | | |||||
| * | Use base.select instead of just select | mpeterv | 2016-02-11 | 1 | -1/+1 |
| | | |||||
| * | Fix error in ltn12 under Lua 5.3 | mpeterv | 2016-02-11 | 1 | -0/+1 |
|/ | |||||
* | When zero-timeout, only try first address in connect. | Diego Nehab | 2015-12-03 | 3 | -9/+12 |
| | |||||
* | Changed buffer-per-socket to buffer-per-operation. | Diego Nehab | 2015-10-06 | 7 | -62/+64 |
| | | | | | | | | This is a difficult tradeoff to measure. I think large datagrams won't be used very frequently. So it is better to not lock a large buffer to each socket object and instead allocate and deallocate for each operation receiving a datagram larger than UDP_DATAGRAMSIZE. | ||||
* | Added support for arbitrary datagram sizes. | Diego Nehab | 2015-10-05 | 3 | -29/+68 |
| | | | | | The maximum size is still constant per UDP object, but the size can be speficied at creation time. | ||||
* | Merge branch 'KateAdams-tcp_reuseport' | Diego Nehab | 2015-10-05 | 5 | -34/+21 |
|\ | |||||
| * | Merge branch 'tcp_reuseport' of https://github.com/KateAdams/luasocket into ↵ | Diego Nehab | 2015-10-05 | 5 | -34/+21 |
|/| | | | | | | | KateAdams-tcp_reuseport | ||||
| * | Added ability to set the option `reuseport` of a tcp socket. | kobra | 2013-09-12 | 2 | -1/+3 |
| | | |||||
* | | Merge branch 'agnostic' | Diego Nehab | 2015-08-25 | 14 | -411/+460 |
|\ \ | | | | | | | | | | Seems safe to move to master. | ||||
| * | | Fixes suggested by @Florob in #147. | Diego Nehab | 2015-08-25 | 7 | -76/+78 |
| | | | |||||
| * | | New agnostic IPv4 IPv6 functions. | Diego Nehab | 2015-08-22 | 14 | -351/+398 |
| | | | | | | | | | | | | | | | Also dealing with EPROTOTYPE Yosemite seems to be throwing at us for no reason. | ||||
* | | | Merge pull request #96 from chastabor/master | Diego Nehab | 2015-08-24 | 1 | -2/+11 |
|\ \ \ | | | | | | | | | Generate headers before proxy changes host and port | ||||
| * | | | Add proxy authentication headers if present. | Charles Tabor | 2014-03-27 | 1 | -0/+9 |
| | | | | |||||
| * | | | Generate headers before proxy changes host and port | Charles Tabor | 2014-03-21 | 1 | -3/+3 |
| | |/ | |/| | |||||
* | | | Merge pull request #84 from PixelToast/patch-2 | Diego Nehab | 2015-08-24 | 1 | -2/+1 |
|\ \ \ | |_|/ |/| | | the universe has only existed for 43.8 years | ||||
| * | | the universe has only existed for 43.8 years | PixelToast | 2013-11-07 | 1 | -2/+1 |
| |/ | |||||
* | | Fix rockspec and serial.c module. | Diego Nehab | 2015-08-21 | 3 | -25/+6 |
| | | |||||
* | | Merge pull request #141 from cjtallman/master | Diego Nehab | 2015-08-21 | 3 | -1/+16 |
|\ \ | | | | | | | Added missing options for UDP getoption. | ||||
| * | | Added missing options for UDP getoption. | cjtallman | 2015-06-11 | 3 | -1/+16 |
| | | | | | | | | | | | | | | | | | | Documentation says "dontroute", "broadcast", "reuseaddr", and "reuseport" are supported as arguments to getoption, however their implementations were missing. | ||||
* | | | New compat.h module implements luaL_setfuncs. | Diego Nehab | 2015-08-21 | 20 | -173/+164 |
|/ / | | | | | | | Makes initialization code simpler everywhere. | ||||
* | | Merge branch 'Tieske-errormsg' | Diego Nehab | 2015-03-03 | 3 | -80/+107 |
|\ \ | |||||
| * | | Fix cut-paste typo on PIE_HOST_NOT_FOUND. | Diego Nehab | 2015-03-03 | 1 | -30/+30 |
| | | | |||||
| * | | Merge branch 'errormsg' of https://github.com/Tieske/luasocket into ↵ | Diego Nehab | 2015-03-03 | 3 | -51/+78 |
|/| | | | | | | | | | | | Tieske-errormsg | ||||
| * | | updated error messages, less error prone, platform independent | Thijs Schreijer | 2015-03-03 | 3 | -51/+78 |
| | | | |||||
* | | | Merge pull request #115 from tst2005/patch-1 | Diego Nehab | 2015-03-03 | 1 | -0/+1 |
|\ \ \ | | | | | | | | | white background | ||||
| * | | | white background | TsT | 2014-11-28 | 1 | -0/+1 |
| | | | | | | | | | | | | white background (successfully tested on https://tst2005.github.io/luasocket/ in https://tst2005.github.io/luasocket/reference.css ) | ||||
* | | | | Merge pull request #119 from gatzka/master | Diego Nehab | 2015-03-03 | 3 | -12/+13 |
|\ \ \ \ | | | | | | | | | | | Make casts const correct. | ||||
| * | | | | Remove unused function luaL_typerror(). | Stephan Gatzka | 2014-12-21 | 1 | -8/+0 |
| | | | | | |||||
| * | | | | Add missing prototype for opt_get_reuseport(). | Stephan Gatzka | 2014-12-21 | 1 | -1/+2 |
| | | | | | |||||
| * | | | | Make local function udp_strerror() static. | Stephan Gatzka | 2014-12-21 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Make casts const correct. | Stephan Gatzka | 2014-12-21 | 1 | -10/+10 |
| |/ / / | |||||
* | | | | Better solution to luaL_checkint... | Diego Nehab | 2015-03-01 | 2 | -12/+2 |
| | | | | |||||
* | | | | Merge pull request #128 from Tieske/accidental_global | Diego Nehab | 2015-03-01 | 1 | -1/+1 |
|\ \ \ \ | |_|/ / |/| | | | fixed accidental global in `ftp.lua` | ||||
| * | | | fixed accidental global in `ftp.lua` | Thijs Schreijer | 2015-03-01 | 1 | -1/+1 |
|/ / / | |||||
* | | | Fix inet_global_getaddrinfo leak of getnameinfo | Diego Nehab | 2015-02-18 | 1 | -0/+1 |
| | | | | | | | | | | | | Issue #127 closed. | ||||
* | | | Out of the box support for Lua 5.3. | Diego Nehab | 2015-02-18 | 7 | -85/+96 |
|/ / | |||||
* | | Merge pull request #114 from siffiejoe/yieldable_protect52 | Diego Nehab | 2014-11-10 | 1 | -5/+30 |
|\ \ | | | | | | | make socket.protect yieldable on Lua 5.2/5.3 | ||||
| * | | make socket.protect yieldable on Lua 5.2/5.3 | Philipp Janda | 2014-11-10 | 1 | -5/+30 |
| | | | |||||
* | | | Merge pull request #113 from siffiejoe/yieldable_protect51 | Diego Nehab | 2014-11-10 | 1 | -15/+22 |
|\ \ \ | |/ / |/| | | fixed yieldable socket.protect in etc/dispatch.lua | ||||
| * | | fixed yieldable socket.protect in etc/dispatch.lua | Philipp Janda | 2014-11-10 | 1 | -15/+22 |
|/ / | |||||
* | | Merge pull request #108 from daurnimator/master | Diego Nehab | 2014-10-27 | 1 | -5/+0 |
|\ \ | | | | | | | src/usocket: Do not setblocking on destroy, shutdown, and listen. | ||||
| * | | src/usocket: Don't unset/set O_NONBLOCK around listen() or shutdown() calls. | daurnimator | 2014-10-27 | 1 | -4/+0 |
| | | | | | | | | | | | | | | | It doesn't effect them. Not true on windows |