Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | buffer: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -16/+14 | |
| | ||||||
* | auxiliar: pragma visibility | E. Westbrook | 2019-03-10 | 2 | -22/+20 | |
| | ||||||
* | Fix formatting. | Diego Nehab | 2019-03-10 | 1 | -3/+3 | |
| | ||||||
* | Use static initialization | Diego Nehab | 2019-03-09 | 2 | -10/+145 | |
| | | | | This helps with multi-threaded apps. | |||||
* | Update Windows projects vor Visual Studio 2017 | Diego Nehab | 2019-03-01 | 1 | -7/+43 | |
| | ||||||
* | bugfix: http.lua multischeme change that got dropped during PR conflict ↵ | E. Westbrook | 2019-02-28 | 1 | -4/+2 | |
| | | | | resolution | |||||
* | Only use EAI_OVERFLOW, AI_NUMERICSERV if defined | Mojca Miklavec | 2019-02-26 | 2 | -1/+6 | |
| | | | | | | | | | | | | | Some systems like Mac OS X 10.5 (and lower) do not have EAI_OVERFLOW and AI_NUMERICSERV defined. These variables are used to avoid a potentially slow name resolution for the hostname (which will always be an ip address) and for service name (which will always be an actual port number). The code might be slower, but it should still work. Closes: #242 | |||||
* | 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 | |
|/ / / / |