aboutsummaryrefslogtreecommitdiff
path: root/src (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* buffer: pragma visibilityE. Westbrook2019-03-102-16/+14
|
* auxiliar: pragma visibilityE. Westbrook2019-03-102-22/+20
|
* Fix formatting.Diego Nehab2019-03-101-3/+3
|
* Use static initializationDiego Nehab2019-03-092-10/+145
| | | | This helps with multi-threaded apps.
* Update Windows projects vor Visual Studio 2017Diego Nehab2019-03-011-7/+43
|
* bugfix: http.lua multischeme change that got dropped during PR conflict ↵E. Westbrook2019-02-281-4/+2
| | | | resolution
* Only use EAI_OVERFLOW, AI_NUMERICSERV if definedMojca Miklavec2019-02-262-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. Westbrook2019-02-251-27/+12
| | | | labeling
* usocket.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-24/+26
|
* usocket.c use LUASOCKET_PRIVATEE. Westbrook2019-02-251-28/+30
|
* unixstream.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-2/+4
|
* unixdgram.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-3/+6
|
* udp.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-3/+5
|
* timeout.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-15/+17
|
* tcp.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-3/+6
|
* serial.c: include luasocket.hE. Westbrook2019-02-251-0/+2
|
* select.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-2/+4
|
* options.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-48/+46
|
* io.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-2/+3
|
* inet.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-12/+14
|
* except.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-1/+3
|
* pragma.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-2/+3
|
* buffer.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-7/+9
|
* auxiliar.c: use LUASOCKET_PRIVATEE. Westbrook2019-02-251-13/+13
|
* unix.c: use LUASOCKET_APIE. Westbrook2019-02-251-1/+3
|
* mime.c: use LUASOCKET_APIE. Westbrook2019-02-251-1/+1
|
* unix.h: use LUASOCKET_APIE. Westbrook2019-02-251-5/+2
|
* mime.h: use LUASOCKET_APIE. Westbrook2019-02-251-8/+2
|
* luasocket.h: define LUASOCKET_API and LUASOCKET_PRIVATE for export visibilityE. Westbrook2019-02-251-1/+13
|
* http.lua: Error informatively if insufficient LuaSec supportE. Westbrook2019-02-241-1/+5
|
* socket.http.request(): simultaneous support for http and https URL schemes, ↵E. Westbrook2019-02-241-19/+37
| | | | with caller-adjustable scheme-to-transport mappings (default "socket.http" and "ssl.https")
* Merge pull request #224 from pdgendt/patch-2Diego Nehab2019-02-241-2/+1
|\ | | | | mime.lua: Obsolete require("io")
| * mime.lua: Obsolete require("io")Pieter De Gendt2017-09-041-2/+1
| | | | | | The `io` package is included but never used.
* | Merge pull request #246 from xyida/yodaDiego Nehab2019-02-241-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 timeoutxyida2018-04-261-2/+9
| | |
* | | Merge pull request #244 from leyyer/optionsDiego Nehab2019-02-244-0/+32
|\ \ \ | | | | | | | | add options:
| * | | add options:surenyi2018-03-254-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/masterDiego Nehab2019-02-243-0/+72
|\ \ \ | | | | | | | | Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" options
| * | | Add "tcp-keepidle", "tcp-keepcnt" and "tcp-keepintvl" optionsVictor Seva2014-12-053-0/+72
| | | |
* | | | 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 #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
* / / / / http.lua: allow override of hard-coded 5 max redirectsE. Westbrook2019-02-231-1/+4
|/ / / /
* | | | 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
* | | | | src/makefile: define UNIX_HAS_SUN_LEN for FreeBSD buildsE. Westbrook2019-02-191-2/+2
|/ / / /