Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | src/makefile: remove visibility and dllexport defines in favor of in-source ↵ | E. Westbrook | 2019-02-25 | 1 | -27/+12 |
| | | | | labeling | ||||
* | usocket.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -24/+26 |
| | |||||
* | usocket.c use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -28/+30 |
| | |||||
* | unixstream.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -2/+4 |
| | |||||
* | unixdgram.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -3/+6 |
| | |||||
* | udp.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -3/+5 |
| | |||||
* | timeout.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -15/+17 |
| | |||||
* | tcp.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -3/+6 |
| | |||||
* | serial.c: include luasocket.h | E. Westbrook | 2019-02-25 | 1 | -0/+2 |
| | |||||
* | select.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -2/+4 |
| | |||||
* | options.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -48/+46 |
| | |||||
* | io.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -2/+3 |
| | |||||
* | inet.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -12/+14 |
| | |||||
* | except.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -1/+3 |
| | |||||
* | pragma.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -2/+3 |
| | |||||
* | buffer.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -7/+9 |
| | |||||
* | auxiliar.c: use LUASOCKET_PRIVATE | E. Westbrook | 2019-02-25 | 1 | -13/+13 |
| | |||||
* | unix.c: use LUASOCKET_API | E. Westbrook | 2019-02-25 | 1 | -1/+3 |
| | |||||
* | mime.c: use LUASOCKET_API | E. Westbrook | 2019-02-25 | 1 | -1/+1 |
| | |||||
* | unix.h: use LUASOCKET_API | E. Westbrook | 2019-02-25 | 1 | -5/+2 |
| | |||||
* | mime.h: use LUASOCKET_API | E. Westbrook | 2019-02-25 | 1 | -8/+2 |
| | |||||
* | luasocket.h: define LUASOCKET_API and LUASOCKET_PRIVATE for export visibility | E. Westbrook | 2019-02-25 | 1 | -1/+13 |
| | |||||
* | http.lua: Error informatively if insufficient LuaSec support | E. Westbrook | 2019-02-24 | 1 | -1/+5 |
| | |||||
* | socket.http.request(): simultaneous support for http and https URL schemes, ↵ | E. Westbrook | 2019-02-24 | 1 | -19/+37 |
| | | | | with caller-adjustable scheme-to-transport mappings (default "socket.http" and "ssl.https") | ||||
* | Merge pull request #224 from pdgendt/patch-2 | Diego Nehab | 2019-02-24 | 1 | -2/+1 |
|\ | | | | | mime.lua: Obsolete require("io") | ||||
| * | mime.lua: Obsolete require("io") | Pieter De Gendt | 2017-09-04 | 1 | -2/+1 |
| | | | | | | The `io` package is included but never used. | ||||
* | | Merge pull request #246 from xyida/yoda | Diego Nehab | 2019-02-24 | 1 | -2/+9 |
|\ \ | | | | | | | Fixed an issue that was mistaken for HTTP 0.9 when timeout | ||||
| * | | Fixed an issue that was mistaken for HTTP 0.9 when timeout | xyida | 2018-04-26 | 1 | -2/+9 |
| | | | |||||
* | | | Merge pull request #244 from leyyer/options | Diego Nehab | 2019-02-24 | 4 | -0/+32 |
|\ \ \ | | | | | | | | | add options: | ||||
| * | | | add options: | surenyi | 2018-03-25 | 4 | -0/+32 |
| |/ / | | | | | | | | | | | | | | | | | | | get/set : recv-buffer-size get/set : send-buffer-size Signed-off-by: surenyi <surenyi82@163.com> | ||||
* | | | Merge pull request #116 from linuxmaniac/master | Diego Nehab | 2019-02-24 | 3 | -0/+72 |
|\ \ \ | | | | | | | | | Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" options | ||||
| * | | | Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" options | Victor Seva | 2014-12-05 | 3 | -0/+72 |
| | | | | |||||
* | | | | Merge pull request #258 from ewestbrook/luasec117 | Diego Nehab | 2019-02-24 | 1 | -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:" header | E. Westbrook | 2019-02-20 | 1 | -6/+14 |
| | | | | | |||||
* | | | | | Merge pull request #265 from ewestbrook/dualincpaths | Diego Nehab | 2019-02-24 | 1 | -12/+12 |
|\ \ \ \ \ | | | | | | | | | | | | | src/makefile: support both lua/$(LUAV) and lua$(LUAV) include paths | ||||
| * | | | | | src/makefile: support both lua/$(LUAV) and lua$(LUAV) include paths | E. Westbrook | 2019-02-22 | 1 | -12/+12 |
| |/ / / / | |||||
* | | | | | Merge pull request #266 from siffiejoe/luajit-static-linking | Diego Nehab | 2019-02-24 | 1 | -0/+2 |
|\ \ \ \ \ | | | | | | | | | | | | | Fix static linking problem with LuaJIT | ||||
| * | | | | | Fix static linking problem with LuaJIT | Philipp Janda | 2019-02-23 | 1 | -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 | ||||
* / / / / | http.lua: allow override of hard-coded 5 max redirects | E. Westbrook | 2019-02-23 | 1 | -1/+4 |
|/ / / / | |||||
* | | | | Merge pull request #264 from ewestbrook/freebsd-unix-bind-connect | Diego Nehab | 2019-02-19 | 1 | -15/+12 |
|\ \ \ \ | | | | | | | | | | | src/unixdgram.c: fix connect() and bind() on FreeBSD | ||||
| * | | | | Use SUN_LEN macro | E. Westbrook | 2019-02-19 | 1 | -2/+8 |
| | | | | | |||||
| * | | | | src/unixdgram.c: allow connect() and bind() on freebsd without dummy char, ↵ | E. Westbrook | 2019-02-19 | 1 | -15/+6 |
| | | | | | | | | | | | | | | | | | | | | and simplify calculations | ||||
* | | | | | src/makefile: define UNIX_HAS_SUN_LEN for FreeBSD builds | E. Westbrook | 2019-02-19 | 1 | -2/+2 |
|/ / / / | |||||
* | | | | Update to Visual Studio 2017. | Diego Nehab | 2018-08-22 | 4 | -5/+5 |
| | | | | |||||
* | | | | url.lua:remove_dot_components(): avoid ambiguous numeric representation as ↵ | E. Westbrook | 2018-08-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | empty-path-segment marker | ||||
* | | | | url.lua:remove_dot_components(): use temporary NUL marker to reduce ↵ | E. Westbrook | 2018-08-21 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | empty-segment special-case code | ||||
* | | | | url.lua:remove_dot_components(): empty path component double-dot corner case | E. Westbrook | 2018-08-21 | 1 | -0/+4 |
| | | | | |||||
* | | | | url.lua:absolute_path(): ensure a separator between base_path and relative_path | E. Westbrook | 2018-08-21 | 1 | -0/+1 |
| | | | | |||||
* | | | | url.lua:remove_dot_components(): avoid overconsuming dot segments | E. Westbrook | 2018-08-21 | 1 | -2/+2 |
| | | | | |||||
* | | | | url.lua:remove_dot_components(): limit beginning-of-string double-dot corner ↵ | E. Westbrook | 2018-08-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | case to prevent triple-dot activation and authority collision |