aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | Update to Visual Studio 2017.Diego Nehab2018-08-224-5/+5
| | | |
* | | | url.lua:remove_dot_components(): avoid ambiguous numeric representation as ↵E. Westbrook2018-08-211-2/+3
| | | | | | | | | | | | | | | | empty-path-segment marker
* | | | url.lua:remove_dot_components(): use temporary NUL marker to reduce ↵E. Westbrook2018-08-211-2/+3
| | | | | | | | | | | | | | | | empty-segment special-case code
* | | | url.lua:remove_dot_components(): empty path component double-dot corner caseE. Westbrook2018-08-211-0/+4
| | | |
* | | | url.lua:absolute_path(): ensure a separator between base_path and relative_pathE. Westbrook2018-08-211-0/+1
| | | |
* | | | url.lua:remove_dot_components(): avoid overconsuming dot segmentsE. Westbrook2018-08-211-2/+2
| | | |
* | | | url.lua:remove_dot_components(): limit beginning-of-string double-dot corner ↵E. Westbrook2018-08-211-1/+1
| | | | | | | | | | | | | | | | case to prevent triple-dot activation and authority collision
* | | | url.lua: separate remove_dot_components() from absolute_path(); also use in ↵E. Westbrook2018-08-211-17/+34
| | | | | | | | | | | | | | | | _M.absolute() even when not merging
* | | | url.lua:absolute_path(): fix issue #254, simplify, add more test casesE. Westbrook2018-08-191-14/+12
| | | |
* | | | Fix gcc-8.1.0 warning.Joris Clement2018-08-061-0/+1
| | | |
* | | | Merge pull request #250 from ewestbrook/testudata-compatDiego Nehab2018-06-053-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.1E. Westbrook2018-06-042-0/+19
| | | | |
| * | | | Update auxiliar.cGeorge Zhao2018-06-031-1/+1
| | |/ / | |/| |
* / | | Add ltn12.source.table()E. Westbrook2018-06-051-0/+10
|/ / /
* | | src/options.c: increase buffer from 45 to 57, to accommodate string sizes ↵E. Westbrook2017-12-221-2/+2
| | | | | | | | | | | | specified (detected by gcc7's -Wstringpop-overflow)
* | | fixed url parsing; postpone fragment parsing after authority parsing; added ↵Herbert Leuwer2017-11-221-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 Leuwer2017-11-191-5/+5
| |/ |/| | | | | password.
* | Fix typoElliptica2017-04-171-1/+1
| |
* | Merge pull request #210 from Lord-Helmchen/patch-1Diego Nehab2017-03-201-2/+2
|\ \ | | | | | | make protect_segment in url.lua rfc compliant
| * | correct typoLordHelmchen2017-03-161-1/+1
| | |
| * | make protect_segment in url.lua rfc compliantLordHelmchen2017-03-161-1/+1
| | | | | | | | | | | | percent-encode uppercase see https://tools.ietf.org/html/rfc3986#section-6.2.2
* | | Preserve path when parsing urls.Diego Nehab2017-03-201-2/+3
| | |
* | | Fix issue #196Diego Nehab2017-03-201-0/+1
| | |
* | | fix for Lua 5.3 built without number / string conversionFrançois Perrad2017-03-161-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.unixCourtney Bane2017-01-251-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 usedNatanael Copa2017-01-251-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.dgramenginix2016-12-257-124/+124
| |
* | allow DESTDIR to be set from the environmentMike Usenko2016-11-081-1/+1
| |
* | 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
| | |