aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
* add getsockname api for unix {udp,tcp} socketenginix2016-07-222-0/+36
|
* fix unixudp object checking issueenginix2016-07-041-2/+2
|
* unix socket: compat lua 5.1enginix2016-06-303-2/+5
|
* support datagram unix domain socketsenginix2016-06-246-314/+783
|
* Merge pull request #171 from JonasKunze/feature/overwriteFlagsDiego Nehab2016-04-121-2/+4
|\ | | | | Enabled overwriting of MYCF/MYLDFlAGS
| * Enabled overwriting of MYCF/MYLDFlAGSJonas Kunze2016-04-121-2/+4
| |
* | URL-decode user password before adding to authorization header.Okash Khawaja2016-04-121-1/+2
| |
* | Update comments for url.unescape() function.Okash Khawaja2016-04-121-3/+3
|/
* Hide ftp.PORT "constant" as a localDiego Nehab2016-03-071-2/+2
|
* Family agostic FTP and expose HTTP/FTP url parsingDiego Nehab2016-03-073-21/+73
|
* Remove global PORT. Fix https redirect.Diego Nehab2016-03-041-17/+25
|
* Added gettimeout for completeness.Diego Nehab2016-03-044-0/+26
| | | | | Also documented. Rordered manuals so order is alphabetical.
* Added support for FTP command listsDiego Nehab2016-03-042-3/+15
|
* Always put metatable in first upvalue.Philipp Janda2016-02-241-4/+6
|
* Don't swallow errors in finalizers.Philipp Janda2016-02-241-1/+1
|
* Update comment in except.hPhilipp Janda2016-02-211-9/+14
|
* Support table errors.Philipp Janda2016-02-211-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/solarisDiego Nehab2016-02-111-2/+28
|\ | | | | Added Solaris platform
| * Added solaris platformJonas Kunze2016-01-151-2/+28
| | | | | | | | To compile on solaris some libs had to be linked. So far I was only able to test it on OmniOS r151006
* | Don't break global mbox table in mbox.split_mboxmpeterv2016-02-111-1/+1
| |
* | Fix sink method in tp modulempeterv2016-02-111-1/+1
| |
* | Fix base_parsed global in url modulempeterv2016-02-111-0/+1
| |
* | Use base.select instead of just selectmpeterv2016-02-111-1/+1
| |
* | Fix error in ltn12 under Lua 5.3mpeterv2016-02-111-0/+1
|/
* When zero-timeout, only try first address in connect.Diego Nehab2015-12-032-4/+4
|
* Changed buffer-per-socket to buffer-per-operation.Diego Nehab2015-10-063-34/+31
| | | | | | | | 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 Nehab2015-10-052-23/+40
| | | | | The maximum size is still constant per UDP object, but the size can be speficied at creation time.
* Merge branch 'tcp_reuseport' of https://github.com/KateAdams/luasocket into ↵Diego Nehab2015-10-053-21/+19
|\ | | | | | | KateAdams-tcp_reuseport
| * Added ability to set the option `reuseport` of a tcp socket.kobra2013-09-122-1/+3
| |
* | Merge branch 'agnostic'Diego Nehab2015-08-258-205/+177
|\ \ | | | | | | | | | Seems safe to move to master.
| * | Fixes suggested by @Florob in #147.Diego Nehab2015-08-254-69/+54
| | |
| * | New agnostic IPv4 IPv6 functions.Diego Nehab2015-08-228-152/+139
| | | | | | | | | | | | | | | Also dealing with EPROTOTYPE Yosemite seems to be throwing at us for no reason.
* | | Merge pull request #96 from chastabor/masterDiego Nehab2015-08-241-2/+11
|\ \ \ | |/ / |/| | Generate headers before proxy changes host and port
| * | Add proxy authentication headers if present.Charles Tabor2014-03-271-0/+9
| | |
| * | Generate headers before proxy changes host and portCharles Tabor2014-03-211-3/+3
| |/
* | Fix rockspec and serial.c module.Diego Nehab2015-08-212-17/+1
| |
* | Merge pull request #141 from cjtallman/masterDiego Nehab2015-08-213-1/+16
|\ \ | | | | | | Added missing options for UDP getoption.
| * | Added missing options for UDP getoption.cjtallman2015-06-113-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 Nehab2015-08-2119-172/+163
|/ / | | | | | | Makes initialization code simpler everywhere.
* | Fix cut-paste typo on PIE_HOST_NOT_FOUND.Diego Nehab2015-03-031-30/+30
| |
* | Merge branch 'errormsg' of https://github.com/Tieske/luasocket into ↵Diego Nehab2015-03-033-51/+78
|\ \ | | | | | | | | | Tieske-errormsg
| * | updated error messages, less error prone, platform independentThijs Schreijer2015-03-033-51/+78
| | |
* | | Merge pull request #119 from gatzka/masterDiego Nehab2015-03-033-12/+13
|\ \ \ | | | | | | | | Make casts const correct.
| * | | Remove unused function luaL_typerror().Stephan Gatzka2014-12-211-8/+0
| | | |
| * | | Add missing prototype for opt_get_reuseport().Stephan Gatzka2014-12-211-1/+2
| | | |
| * | | Make local function udp_strerror() static.Stephan Gatzka2014-12-211-1/+1
| | | |
| * | | Make casts const correct.Stephan Gatzka2014-12-211-10/+10
| | | |
* | | | Better solution to luaL_checkint...Diego Nehab2015-03-012-12/+2
| | | |
* | | | fixed accidental global in `ftp.lua`Thijs Schreijer2015-03-011-1/+1
| |/ / |/| |
* | | Fix inet_global_getaddrinfo leak of getnameinfoDiego Nehab2015-02-181-0/+1
| | | | | | | | | | | | Issue #127 closed.