Commit Graph

  • c570a32c21 url.lua:remove_dot_components(): limit beginning-of-string double-dot corner case to prevent triple-dot activation and authority collision E. Westbrook 2018-08-21 09:07:42 -06:00
  • c905b5d44f url.lua: separate remove_dot_components() from absolute_path(); also use in _M.absolute() even when not merging E. Westbrook 2018-08-21 08:03:51 -06:00
  • 17a95c126a url.lua:absolute_path(): fix issue #254, simplify, add more test cases E. Westbrook 2018-08-19 11:32:42 -06:00
  • 5813cd0505
    Merge pull request #253 from flyingdutchman23/master Diego Nehab 2018-08-06 13:15:58 -03:00
  • 9b82c7871d Fix gcc-8.1.0 warning. Joris Clement 2018-08-06 15:30:13 +02:00
  • 4df569e9f8
    Merge pull request #250 from ewestbrook/testudata-compat Diego Nehab 2018-06-05 10:54:55 -03:00
  • cc42bcbf80
    Merge pull request #251 from ewestbrook/ltn12tblsrc Diego Nehab 2018-06-05 09:56:59 -03:00
  • 8fee636309 Add ltn12.source.table() E. Westbrook 2018-06-04 23:23:39 -06:00
  • 5848de4851 src/compat.c: provide luaL_testudata() for use by auxiliar.c under Lua 5.1 E. Westbrook 2018-06-04 20:14:13 -06:00
  • e1e41be948
    Update auxiliar.c George Zhao 2018-06-03 20:08:02 +08:00
  • 4a3504612c Fixed an issue that was mistaken for HTTP 0.9 when timeout xyida 2018-04-26 16:39:29 +08:00
  • 97bfe1e043 add options: get/set : recv-buffer-size get/set : send-buffer-size surenyi 2018-03-25 14:58:10 +08:00
  • 6529598909
    Merge pull request #239 from ewestbrook/namebuf57 Diego Nehab 2017-12-23 01:24:33 -02:00
  • 72fb9dcb49 src/options.c: increase buffer from 45 to 57, to accommodate string sizes specified (detected by gcc7's -Wstringpop-overflow) E. Westbrook 2017-12-22 16:57:20 -07:00
  • 88b13a825b
    Merge pull request #238 from hleuwer/master Diego Nehab 2017-11-23 13:28:25 -02:00
  • 2d6a0f7bda fixed url parsing; postpone fragment parsing after authority parsing; added test cases to test/urltest.lua fixed reference patterns in check_protect() to upper case hex letters Herbert Leuwer 2017-11-22 09:30:12 +01:00
  • 3ee89515a0 fixed URL parsing in url.lua: parse fragment after parsing username and password. Herbert Leuwer 2017-11-19 19:48:37 +01:00
  • 053c032a70 mime.lua: Obsolete require("io") Pieter De Gendt 2017-09-04 10:26:11 +02:00
  • 5a17f79b03 Merge pull request #213 from elliptica/master Diego Nehab 2017-05-15 15:29:49 -03:00
  • aef7bcf288 Fix typo Elliptica 2017-04-17 18:47:48 +03:00
  • ff1a447b4d Merge pull request #210 from Lord-Helmchen/patch-1 Diego Nehab 2017-03-20 17:01:30 -03:00
  • 47e644031f Preserve path when parsing urls. Diego Nehab 2017-03-20 16:56:15 -03:00
  • 1b4debffee Fix issue #196 Diego Nehab 2017-03-20 15:50:47 -03:00
  • 865356f6eb Merge pull request #211 from fperrad/patch-1 Diego Nehab 2017-03-20 13:58:33 -03:00
  • 44fb9e9112 correct typo LordHelmchen 2017-03-16 17:53:02 +01:00
  • 16bb548746 fix for Lua 5.3 built without number / string conversion François Perrad 2017-03-16 16:57:17 +01:00
  • 860da0f4b4 make protect_segment in url.lua rfc compliant LordHelmchen 2017-03-16 16:33:28 +01:00
  • 29e5ad610a Merge pull request #207 from cbane/unix-sockets Diego Nehab 2017-01-25 23:25:55 -02:00
  • ea0064625b Add backwards compatibility wrappers for socket.unix Courtney Bane 2017-01-25 18:04:35 -06:00
  • 843fe9b65f Merge pull request #206 from ncopa/create-socket-on-first-sendto Diego Nehab 2017-01-25 13:15:51 -02:00
  • 3041a808c3 Create socket on first sendto if family agnostic udp() was used Natanael Copa 2017-01-25 12:43:29 +01:00
  • a0baab5f3c Merge pull request #199 from enginix/master Diego Nehab 2017-01-04 18:41:31 -02:00
  • 3a33c37b9c rename unix.tcp to unix.stream, unix.udp to unix.dgram enginix 2016-12-25 23:15:12 +08:00
  • ac3201d620 Merge pull request #192 from mmaxs/master Diego Nehab 2016-11-11 02:28:07 -05:00
  • cd1e52eb7a allow DESTDIR to be set from the environment Mike Usenko 2016-11-08 22:07:20 +03:00
  • 316a9455b9 Merge pull request #181 from enginix/master Diego Nehab 2016-07-22 14:06:30 -03:00
  • 2205c2053c add getsockname api for unix {udp,tcp} socket enginix 2016-07-22 22:46:45 +08:00
  • c87f953d81 fix unixudp object checking issue enginix 2016-07-04 16:38:37 +08:00
  • 9f77f8b24f unix socket: compat lua 5.1 enginix 2016-06-30 15:40:51 +08:00
  • aa1b8cc9bc support datagram unix domain sockets enginix 2016-06-24 21:23:00 +08:00
  • 30a64c585a Merge pull request #178 from pdxmeshnet/master Diego Nehab 2016-06-17 11:17:26 -03:00
  • 3abd1f2dd0 Added future release rockspec file Alex R 2016-06-15 15:27:07 -07:00
  • 6aa4f2bc33 Merge pull request #167 from xspager/add_haiku_plat Diego Nehab 2016-04-12 09:29:46 -03:00
  • e2acf378ea Merge pull request #171 from JonasKunze/feature/overwriteFlags Diego Nehab 2016-04-12 09:29:14 -03:00
  • 6a0506ca44 Merge pull request #170 from bytefire/master Diego Nehab 2016-04-12 09:28:27 -03:00
  • 624924a77b Enabled overwriting of MYCF/MYLDFlAGS Jonas Kunze 2016-04-12 13:06:47 +02:00
  • b9f6fd215a URL-decode user password before adding to authorization header. Okash Khawaja 2016-04-12 00:04:21 +01:00
  • 9984741d94 Update comments for url.unescape() function. Okash Khawaja 2016-04-12 00:01:51 +01:00
  • 6fa6462636 Given LuaRocks support Haiku as a valid platform, link the network library Daniel Lemos 2016-03-11 16:03:22 -03:00
  • 23ce5aeaa2 Hide ftp.PORT "constant" as a local Diego Nehab 2016-03-07 01:33:08 -03:00
  • 916b548240 Family agostic FTP and expose HTTP/FTP url parsing Diego Nehab 2016-03-07 01:30:30 -03:00
  • 5b4b915879 Remove global PORT. Fix https redirect. Diego Nehab 2016-03-04 16:16:41 -03:00
  • 944305dc21 Added gettimeout for completeness. Diego Nehab 2016-03-04 15:36:32 -03:00
  • cdce73b226 Added support for FTP command lists Diego Nehab 2016-03-04 14:38:56 -03:00
  • fe7b37aced Merge pull request #166 from siffiejoe/exception-tweaks Diego Nehab 2016-02-24 13:23:20 -03:00
  • 0341516a29 Clarify documentation for try/protect. Philipp Janda 2016-02-24 06:59:37 +01:00
  • 4392bdcdd4 Always put metatable in first upvalue. Philipp Janda 2016-02-24 00:57:42 +01:00
  • 9fe38c654f Don't swallow errors in finalizers. Philipp Janda 2016-02-24 00:48:43 +01:00
  • 9ffd96724d Merge pull request #162 from siffiejoe/exception-meta Diego Nehab 2016-02-23 14:30:35 -03:00
  • 7cab8a5006 Update comment in except.h Philipp Janda 2016-02-21 12:28:13 +01:00
  • 7c1df8a7cd Update HTML docs for try/protect mpeterv 2016-02-16 11:44:02 +03:00
  • fb713cdedb Add more tests for socket.try/protect mpeterv 2016-01-25 15:14:34 +03:00
  • d075e7322f Support table errors. Philipp Janda 2016-02-21 11:59:44 +01:00
  • bf13ec7fd4 Merge pull request #155 from JonasKunze/feature/solaris Diego Nehab 2016-02-11 11:02:58 -02:00
  • 280e1d68a6 Merge pull request #157 from mpeterv/ltn12-lua53 Diego Nehab 2016-02-11 11:01:57 -02:00
  • 9192881346 Don't break global mbox table in mbox.split_mbox mpeterv 2016-02-11 15:57:56 +03:00
  • 52bb99af35 Fix sink method in tp module mpeterv 2016-02-11 15:56:57 +03:00
  • 700ece0721 Fix base_parsed global in url module mpeterv 2016-02-11 15:54:59 +03:00
  • 3c3a5d0011 Use base.select instead of just select mpeterv 2016-02-11 15:53:53 +03:00
  • a7f21e8ec4 Fix error in ltn12 under Lua 5.3 mpeterv 2016-01-25 13:52:41 +03:00
  • 5d52ffedf4 Added solaris platform Jonas Kunze 2016-01-15 18:48:57 +01:00
  • 83880dbed7 When zero-timeout, only try first address in connect. Diego Nehab 2015-12-03 12:56:18 -02:00
  • be67f63f4e Changed buffer-per-socket to buffer-per-operation. Diego Nehab 2015-10-06 11:33:50 +08:00
  • fd729b32a8 Added support for arbitrary datagram sizes. Diego Nehab 2015-10-05 11:47:51 +08:00
  • d1ec29be7f Merge branch 'KateAdams-tcp_reuseport' Diego Nehab 2015-10-05 10:28:54 +08:00
  • f4b4720073 Merge branch 'tcp_reuseport' of https://github.com/KateAdams/luasocket into KateAdams-tcp_reuseport Diego Nehab 2015-10-05 10:28:29 +08:00
  • ccef3bc4e2 Changed return text for ETIMEDOUT/ WSAETIMEDOUT Egil Hjelmeland 2015-09-03 15:24:22 +02:00
  • 4110e4125d Merge branch 'agnostic' Diego Nehab 2015-08-25 15:43:48 -03:00
  • 77bba625d7 Fixes suggested by @Florob in #147. Diego Nehab 2015-08-25 15:41:40 -03:00
  • 46d7e75f3e Merge pull request #96 from chastabor/master Diego Nehab 2015-08-24 16:41:24 -03:00
  • b6a10ccb68 Merge pull request #84 from PixelToast/patch-2 Diego Nehab 2015-08-24 16:31:42 -03:00
  • 96965b179c New agnostic IPv4 IPv6 functions. Diego Nehab 2015-08-22 19:52:01 -03:00
  • b211838648 Fix rockspec and serial.c module. Diego Nehab 2015-08-21 22:31:29 -03:00
  • 9322eacefd Merge pull request #141 from cjtallman/master Diego Nehab 2015-08-21 15:51:52 -03:00
  • e75444ccd1 New compat.h module implements luaL_setfuncs. Diego Nehab 2015-08-21 15:39:34 -03:00
  • 67abaf89eb Added missing options for UDP getoption. cjtallman 2015-06-11 09:02:20 -07:00
  • 321c0c9b1f Merge branch 'Tieske-errormsg' Diego Nehab 2015-03-03 19:20:44 -03:00
  • 863a54cbaf Fix cut-paste typo on PIE_HOST_NOT_FOUND. Diego Nehab 2015-03-03 19:20:13 -03:00
  • 892ea1791a Merge branch 'errormsg' of https://github.com/Tieske/luasocket into Tieske-errormsg Diego Nehab 2015-03-03 19:17:53 -03:00
  • 8066a90e87 Merge pull request #115 from tst2005/patch-1 Diego Nehab 2015-03-03 19:11:15 -03:00
  • bbcbbf845e Merge pull request #119 from gatzka/master Diego Nehab 2015-03-03 19:01:00 -03:00
  • d3ed08616b updated error messages, less error prone, platform independent Thijs Schreijer 2015-03-03 21:17:06 +01:00
  • 8396a0291b Better solution to luaL_checkint... Diego Nehab 2015-03-01 22:49:04 -03:00
  • 9d49cdcf05 Merge pull request #128 from Tieske/accidental_global Diego Nehab 2015-03-01 22:01:15 -03:00
  • 59869b8bf6 fixed accidental global in ftp.lua Thijs Schreijer 2015-03-01 20:34:53 +01:00
  • 76ed24fe8a Fix inet_global_getaddrinfo leak of getnameinfo Diego Nehab 2015-02-18 20:54:27 -02:00
  • ddf4292824 Out of the box support for Lua 5.3. Diego Nehab 2015-02-18 20:51:37 -02:00
  • d8f77cca64 Remove unused function luaL_typerror(). Stephan Gatzka 2014-12-21 07:45:36 +01:00
  • 9178451ef9 Add missing prototype for opt_get_reuseport(). Stephan Gatzka 2014-12-21 07:45:17 +01:00
  • c6f136c7f5 Make local function udp_strerror() static. Stephan Gatzka 2014-12-21 07:44:11 +01:00