aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" optionsVictor Seva2014-12-055-1/+81
| | | | |
| * | | | Merge pull request #259 from davidgumberg/patch-1Diego Nehab2019-02-241-1/+1
| |\ \ \ \ | | | | | | | | | | | | Make macosx.cmd generic
| | * | | | Make macosx.cmd genericDavid Gumberg2018-09-291-1/+1
| | | | | |
| * | | | | Merge pull request #258 from ewestbrook/luasec117Diego Nehab2019-02-241-6/+14
| |\ \ \ \ \ | | | | | | | | | | | | | | http.lua: if default for scheme, omit port number in "Host:" header
| | * | | | | http.lua: if default for scheme, omit port number in "Host:" headerE. Westbrook2019-02-201-6/+14
| | | | | | |
| * | | | | | Merge pull request #262 from fregie/masterDiego Nehab2019-02-241-1/+1
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | compile unixdgram.c, unixstream.c into unix.so
| | * | | | | | compile unixdgram.c, unixstream.c into unix.sofregie2019-01-111-1/+1
| | | |/ / / / | | |/| | | |
| * | | | | | Merge pull request #265 from ewestbrook/dualincpathsDiego Nehab2019-02-241-12/+12
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | src/makefile: support both lua/$(LUAV) and lua$(LUAV) include paths
| | * | | | | | src/makefile: support both lua/$(LUAV) and lua$(LUAV) include pathsE. Westbrook2019-02-221-12/+12
| | | |/ / / / | | |/| | | |
| * | | | | | Merge pull request #266 from siffiejoe/luajit-static-linkingDiego Nehab2019-02-241-0/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | Fix static linking problem with LuaJIT
| | * | | | | | Fix static linking problem with LuaJITPhilipp Janda2019-02-231-0/+2
| | |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LuaJIT and LuaSocket both define new Lua APIs from Lua 5.2 (in particular `luaL_setfuncs` and `luaL_testudata`). When linking both statically, the one definition rule strikes and linking fails. This commit fixes the issue by renaming the LuaSocket versions of those functions behind the scenes using the C preprocessor. Closes #214
| * | | | | | Merge pull request #267 from ewestbrook/prc-maxredirectsDiego Nehab2019-02-242-4/+9
| |\ \ \ \ \ \ | | |/ / / / / | |/| | | | | Allow overriding of hard-coded redirect limit
| | * | | | | http.lua: allow override of hard-coded 5 max redirectsE. Westbrook2019-02-232-4/+9
| |/ / / / /
| * | | | | Merge pull request #264 from ewestbrook/freebsd-unix-bind-connectDiego Nehab2019-02-191-15/+12
| |\ \ \ \ \ | | | | | | | | | | | | | | src/unixdgram.c: fix connect() and bind() on FreeBSD
| | * | | | | Use SUN_LEN macroE. Westbrook2019-02-191-2/+8
| | | | | | |
| | * | | | | src/unixdgram.c: allow connect() and bind() on freebsd without dummy char, ↵E. Westbrook2019-02-191-15/+6
| | |/ / / / | | | | | | | | | | | | | | | | | | and simplify calculations
| * | | | | Merge pull request #263 from ewestbrook/freebsd-has-sun-lenDiego Nehab2019-02-191-2/+2
| |\ \ \ \ \ | | |/ / / / | |/| | | | src/makefile: enable UNIX_HAS_SUN_LEN for FreeBSD builds
| | * | | | src/makefile: define UNIX_HAS_SUN_LEN for FreeBSD buildsE. Westbrook2019-02-191-2/+2
| |/ / / /
| * | | | Update to Visual Studio 2017.Diego Nehab2018-08-2210-178/+151
| | | | |
| * | | | Merge pull request #256 from ewestbrook/luasocket254Diego Nehab2018-08-222-26/+82
| |\ \ \ \ | | | | | | | | | | | | url.lua:absolute_path(): fix issue #254
| | * | | | 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-212-2/+7
| | | | | | | | | | | | | | | | | | | | | | | | empty-segment special-case code
| | * | | | url.lua:remove_dot_components(): empty path component double-dot corner caseE. Westbrook2018-08-212-0/+5
| | | | | |
| | * | | | url.lua:absolute_path(): ensure a separator between base_path and relative_pathE. Westbrook2018-08-212-1/+2
| | | | | |
| | * | | | url.lua:remove_dot_components(): avoid overconsuming dot segmentsE. Westbrook2018-08-212-2/+7
| | | | | |
| | * | | | url.lua:remove_dot_components(): limit beginning-of-string double-dot corner ↵E. Westbrook2018-08-212-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | case to prevent triple-dot activation and authority collision
| | * | | | url.lua: separate remove_dot_components() from absolute_path(); also use in ↵E. Westbrook2018-08-212-21/+38
| | | | | | | | | | | | | | | | | | | | | | | | _M.absolute() even when not merging
| | * | | | url.lua:absolute_path(): fix issue #254, simplify, add more test casesE. Westbrook2018-08-192-15/+36
| |/ / / /
| * | | | Merge pull request #253 from flyingdutchman23/masterDiego Nehab2018-08-061-0/+1
| |\ \ \ \ | | | | | | | | | | | | Fix gcc-8.1.0 warning.
| | * | | | 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
| | | |/ / | | |/| |
| * | | | Merge pull request #251 from ewestbrook/ltn12tblsrcDiego Nehab2018-06-054-1/+31
| |\ \ \ \ | | |/ / / | |/| | | Add ltn12.source.table()
| | * | | Add ltn12.source.table()E. Westbrook2018-06-054-1/+31
| |/ / /
| * | | Merge pull request #239 from ewestbrook/namebuf57Diego Nehab2017-12-231-2/+2
| |\ \ \ | | | | | | | | | | Fix buffer size error in src/options.c detected by GCC 7
| | * | | 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)
| * | | Merge pull request #238 from hleuwer/masterDiego Nehab2017-11-232-8/+77
| |\ \ \ | | |_|/ | |/| | Fix URL parsing of userinfo containing # character.
| | * | fixed url parsing; postpone fragment parsing after authority parsing; added ↵Herbert Leuwer2017-11-222-8/+77
| | | | | | | | | | | | | | | | | | | | | | | | 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.
| * | Merge pull request #213 from elliptica/masterDiego Nehab2017-05-151-1/+1
| |\ \ | | | | | | | | Fix typo
| | * | 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-202-3/+4
| | | |
| * | | Fix issue #196Diego Nehab2017-03-201-0/+1
| | | |
| * | | Merge pull request #211 from fperrad/patch-1Diego Nehab2017-03-201-1/+1
| |\ \ \ | | |/ / | |/| | fix for Lua 5.3 built without number / string conversion
| | * | 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" ```
| * | Merge pull request #207 from cbane/unix-socketsDiego Nehab2017-01-251-5/+45
| |\ \ | | | | | | | | Add backwards compatibility wrappers for socket.unix