Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
| * | | | | Merge pull request #250 from ewestbrook/testudata-compat | Diego Nehab | 2018-06-05 | 3 | -1/+20 | |
| |\ \ \ \ | | | | | | | | | | | | | Update auxiliar.c to use luaL_testudata (#249), now with Lua 5.1 compatibility | |||||
| | * | | | | src/compat.c: provide luaL_testudata() for use by auxiliar.c under Lua 5.1 | E. Westbrook | 2018-06-04 | 2 | -0/+19 | |
| | | | | | | ||||||
| | * | | | | Update auxiliar.c | George Zhao | 2018-06-03 | 1 | -1/+1 | |
| | | |/ / | | |/| | | ||||||
| * / | | | Add ltn12.source.table() | E. Westbrook | 2018-06-05 | 1 | -0/+10 | |
| |/ / / | ||||||
| * | | | src/options.c: increase buffer from 45 to 57, to accommodate string sizes ↵ | E. Westbrook | 2017-12-22 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | specified (detected by gcc7's -Wstringpop-overflow) | |||||
| * | | | fixed url parsing; postpone fragment parsing after authority parsing; added ↵ | Herbert Leuwer | 2017-11-22 | 1 | -5/+5 | |
| | | | | | | | | | | | | | | | | | | | | | | | | test cases to test/urltest.lua fixed reference patterns in check_protect() to upper case hex letters | |||||
| * | | | fixed URL parsing in url.lua: parse fragment after parsing username and ↵ | Herbert Leuwer | 2017-11-19 | 1 | -5/+5 | |
| | |/ | |/| | | | | | | | password. | |||||
| * | | Fix typo | Elliptica | 2017-04-17 | 1 | -1/+1 | |
| | | | ||||||
| * | | Merge pull request #210 from Lord-Helmchen/patch-1 | Diego Nehab | 2017-03-20 | 1 | -2/+2 | |
| |\ \ | | | | | | | | | make protect_segment in url.lua rfc compliant | |||||
| | * | | correct typo | LordHelmchen | 2017-03-16 | 1 | -1/+1 | |
| | | | | ||||||
| | * | | make protect_segment in url.lua rfc compliant | LordHelmchen | 2017-03-16 | 1 | -1/+1 | |
| | | | | | | | | | | | | | | | | percent-encode uppercase see https://tools.ietf.org/html/rfc3986#section-6.2.2 | |||||
| * | | | Preserve path when parsing urls. | Diego Nehab | 2017-03-20 | 1 | -2/+3 | |
| | | | | ||||||
| * | | | Fix issue #196 | Diego Nehab | 2017-03-20 | 1 | -0/+1 | |
| | | | | ||||||
| * | | | fix for Lua 5.3 built without number / string conversion | François Perrad | 2017-03-16 | 1 | -1/+1 | |
| |/ / | | | | | | | | | | | | | | | | This kind of Lua could be built with this command: ``` hererocks --lua 5.3 --cflags="-DLUA_NOCVTN2S -DLUA_NOCVTS2N" ``` | |||||
| * | | Add backwards compatibility wrappers for socket.unix | Courtney Bane | 2017-01-25 | 1 | -5/+45 | |
| | | | | | | | | | | | | | | | | | | Add backwards compatibility aliases "tcp" and "udp" for the recently renamed "stream" and "dgram" functions, as well as a wrapper function and metatable setup so that socket.unix() calls socket.unix.stream(). | |||||
| * | | Create socket on first sendto if family agnostic udp() was used | Natanael Copa | 2017-01-25 | 1 | -0/+21 | |
| | | | | | | | | | | | | | | | | | | | | | Create socket and set family on first sendto() if udp() was created without address family. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> | |||||
| * | | rename unix.tcp to unix.stream, unix.udp to unix.dgram | enginix | 2016-12-25 | 7 | -124/+124 | |
| | | | ||||||
| * | | allow DESTDIR to be set from the environment | Mike Usenko | 2016-11-08 | 1 | -1/+1 | |
| | | | ||||||
| * | | add getsockname api for unix {udp,tcp} socket | enginix | 2016-07-22 | 2 | -0/+36 | |
| | | | ||||||
| * | | fix unixudp object checking issue | enginix | 2016-07-04 | 1 | -2/+2 | |
| | | | ||||||
| * | | unix socket: compat lua 5.1 | enginix | 2016-06-30 | 3 | -2/+5 | |
| | | | ||||||
| * | | support datagram unix domain sockets | enginix | 2016-06-24 | 6 | -314/+783 | |
| | | | ||||||
| * | | Merge pull request #171 from JonasKunze/feature/overwriteFlags | Diego Nehab | 2016-04-12 | 1 | -2/+4 | |
| |\ \ | | | | | | | | | Enabled overwriting of MYCF/MYLDFlAGS | |||||
| | * | | Enabled overwriting of MYCF/MYLDFlAGS | Jonas Kunze | 2016-04-12 | 1 | -2/+4 | |
| | | | | ||||||
| * | | | URL-decode user password before adding to authorization header. | Okash Khawaja | 2016-04-12 | 1 | -1/+2 | |
| | | | | ||||||
| * | | | Update comments for url.unescape() function. | Okash Khawaja | 2016-04-12 | 1 | -3/+3 | |
| |/ / | ||||||
| * | | Hide ftp.PORT "constant" as a local | Diego Nehab | 2016-03-07 | 1 | -2/+2 | |
| | | | ||||||
| * | | Family agostic FTP and expose HTTP/FTP url parsing | Diego Nehab | 2016-03-07 | 3 | -21/+73 | |
| | | | ||||||
| * | | Remove global PORT. Fix https redirect. | Diego Nehab | 2016-03-04 | 1 | -17/+25 | |
| | | | ||||||
| * | | Added gettimeout for completeness. | Diego Nehab | 2016-03-04 | 4 | -0/+26 | |
| | | | | | | | | | | | | | | | Also documented. Rordered manuals so order is alphabetical. | |||||
| * | | Added support for FTP command lists | Diego Nehab | 2016-03-04 | 2 | -3/+15 | |
| | | | ||||||
| * | | Always put metatable in first upvalue. | Philipp Janda | 2016-02-24 | 1 | -4/+6 | |
| | | | ||||||
| * | | Don't swallow errors in finalizers. | Philipp Janda | 2016-02-24 | 1 | -1/+1 | |
| | | | ||||||
| * | | Update comment in except.h | Philipp Janda | 2016-02-21 | 1 | -9/+14 | |
| | | | ||||||
| * | | 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 | 1 | -2/+28 | |
| |\ \ | | | | | | | | | Added Solaris platform | |||||
| | * | | Added solaris platform | Jonas Kunze | 2016-01-15 | 1 | -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_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 | 2 | -4/+4 | |
| | | | ||||||
| * | | Changed buffer-per-socket to buffer-per-operation. | Diego Nehab | 2015-10-06 | 3 | -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 Nehab | 2015-10-05 | 2 | -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 Nehab | 2015-10-05 | 3 | -21/+19 | |
| |\ \ | | | | | | | | | | | | | KateAdams-tcp_reuseport | |||||
| | * | | Added ability to set the option `reuseport` of a tcp socket. | kobra | 2013-09-12 | 2 | -1/+3 | |
| | | | | ||||||
* | | | | Changed return text for ETIMEDOUT/ WSAETIMEDOUT | Egil Hjelmeland | 2015-09-03 | 1 | -1/+1 | |
|/ / / | | | | | | | | | | | | | Changed return text for ETIMEDOUT/ WSAETIMEDOUT to “connection timeout”. This is needed for the application to be able tell to the difference between timeout of TCP connection (ETIMEDOUT/ WSAETIMEDOUT) and a normal return from a non-blocking socket (error codes EAGAIN/WSAEWOULDBLOCK). Both situations returned the text “timeout”. | |||||
* | | | Merge branch 'agnostic' | Diego Nehab | 2015-08-25 | 8 | -205/+177 | |
|\ \ \ | | | | | | | | | | | | | Seems safe to move to master. | |||||
| * | | | Fixes suggested by @Florob in #147. | Diego Nehab | 2015-08-25 | 4 | -69/+54 | |
| | | | |