Commit Graph
953 Commits
Author SHA1 Message Date
Bjørnar Ness 9418bf69d9 Add abstract socket support on Linux
This adds abstract socket support for Linux, making it possible
to do for example:

server {
    listen unix:@abstract-socket;

    location / {
        content_by_lua_block {
            ngx.say("hello from @abstract-socket")
        }
    }

    location /abstract-socket {
        content_by_lua_block {
            local sock = ngx.socket.tcp()

            local ok, err = sock:connect("unix:@abstract-socket")
            if not ok then
                return ngx.say("could not connect: ", err)
            end

            ok, err = sock:send("GET /\r\n");
            if not ok then
                return ngx.say("failed to send data on socket")
            end

            ngx.say(sock:receive())
        }
    }
}

echo -en "GET /abstract-socket\r\n" | \
    socat abstract-connect:abstract-socket -
2022-01-20 23:39:41 +08:00
Johnny Wang d84bf6756d upgraded luajit to 2.1-20220111. (#806) 2022-01-11 23:42:38 +08:00
Johnny Wang f3a85d860f upgraded ngx_lua to 0.10.21rc1, ngx_stream_lua to 0.0.11rc1, lua-resty-core to 0.1.23rc1, ... (#795)
luajit to 2.1-20211210, lua-resty-websocket to 0.09rc1, lua-resty-redis to 0.30rc1, lua-resty-limit-traffic to 0.08rc1, lua-resty-mysql to 0.25rc1, set-misc-nginx-module to 0.33, encrypted-session-nginx-module to 0.09, lua-resty-string to 0.15, lua-cjson to 2.1.0.10rc1
2021-12-11 09:19:56 +08:00
RocFang 0c2d10af40 bugfix: echoed the wrong message when applying ssl_client_hello_cb_yield.patch (#789) 2021-11-29 23:56:07 +08:00
jiahao 72ca953bf2 mirror-tarballs: fixed the directory deletion errors. 2021-10-29 09:25:55 +08:00
Johnny Wang 5c7ad29352 upgrade the nginx core to 1.21.3. (#779) 2021-10-26 16:07:59 +08:00
Zhefeng Chen 9fa420424a patches: added the nginx-1.19.9-ssl_client_hello_cb_yield patch. 2021-09-20 18:31:15 +08:00
Johnny Wang 1befa30baa upgraded ngx_http_redis module to 0.3.9. (#754) 2021-08-13 14:01:00 +08:00
wangyao c93ef77262 change: introduce a new patch for privileged agent process connections. (#751) 2021-07-19 18:34:46 +08:00
jiahao ee23eb4a51 upgraded lua-resty-signal to 0.03. 2021-06-30 15:27:07 +08:00
jiahao 6aeb03501f upgraded lua-resty-core to 0.1.22. 2021-06-30 15:24:19 +08:00
jiahao 805df3d657 upgraded lua-resty-lrucache to 0.11. 2021-06-30 15:21:05 +08:00
jiahao 077b4dcef8 upgraded lua-resty-string to 0.14. 2021-06-30 15:17:37 +08:00
jiahao 4933c6f612 upgraded lua-resty-mysql to 0.24. 2021-06-30 15:15:50 +08:00
jiahao ca141a4b66 upgraded lua-resty-memcached to 0.16. 2021-06-30 15:06:23 +08:00
jiahao 13700cacb6 upgraded lua-resty-dns to 0.22. 2021-06-30 14:45:54 +08:00
jiahao 9d1eb80e1e upgraded opm to 0.0.6. 2021-06-30 14:43:37 +08:00
jiahao 826e7286e0 upgraded resty-cli to 0.28. 2021-06-30 14:39:36 +08:00
jiahao 4b99fd3c0e upgraded ngx_stream_lua to 0.0.10. 2021-06-30 14:36:42 +08:00
jiahao 66a8c85811 upgraded ngx_lua to 0.10.20. 2021-06-30 14:24:26 +08:00
Johnny Wang 4b5ec7edd7 bugfix: applied the patch for security advisory to NGINX cores >= 0.6.18 and <= 1.20.0 (CVE-2021-23017). (#739) 2021-05-28 10:25:01 +08:00
jiahao 42410a71cd upgraded ngx_stream_lua to 0.0.10rc2. 2021-05-12 10:58:38 +08:00
jiahao b3c6965092 upgraded LuaJIT to 2.1-20210510. 2021-05-10 14:31:22 +08:00
jiahao e51b659141 upgraded lua-tablepool to 0.02. 2021-05-07 23:29:20 +08:00
jiahao e06dd8ff32 upgraded lua-resty-signal to 0.03rc1. 2021-05-07 23:08:41 +08:00
jiahao c5c858bbca upgraded lua-resty-core to 0.1.22rc1. 2021-05-07 22:17:38 +08:00
jiahao 34645f7dc8 upgraded ngx_stream_lua to 0.0.10rc1. 2021-05-07 22:14:49 +08:00
jiahao 7586293fe7 upgraded ngx_lua to 0.10.20rc1. 2021-05-07 22:11:49 +08:00
jiahao 99d01cdc1c upgraded opm to 0.0.6rc1. 2021-05-07 19:34:02 +08:00
jiahao bd1b387c3d upgraded resty-cli to 0.28rc1. 2021-05-07 19:31:58 +08:00
jiahao 12db974fc0 upgraded lua-resty-dns to 0.22rc1. 2021-05-07 19:29:43 +08:00
jiahao 7d262c5c8d upgraded lua-resty-mysql to 0.24rc1. 2021-05-07 19:27:17 +08:00
jiahao b9a6f107e2 upgraded lua-resty-string to 0.14rc1. 2021-05-07 19:24:35 +08:00
jiahao 2be7ad590e upgraded lua-resty-lrucache to 0.11rc1. 2021-05-07 19:21:12 +08:00
Johnny Wang 6cd17e53fa upgraded lua-resty-memcached to v0.16rc1. 2021-05-07 19:17:04 +08:00
jiahao 1c4063664e upgraded lua-resty-mysql to 0.23. 2020-11-04 11:14:07 +08:00
jiahao d5f130fbff upgraded lua-resty-core to 0.1.21. 2020-11-03 16:18:44 +08:00
jiahao 934a3102dc upgraded ngx_lua to 0.10.19. 2020-11-03 16:18:25 +08:00
Johnny Wang b9bc185f79 upgraded lua-resty-websocket to 0.08. 2020-10-30 16:41:34 +08:00
Johnny Wang f43cd23f83 upgraded resty-cli to 0.27. 2020-10-30 16:40:47 +08:00
Johnny Wang 0e1cad8190 upgraded lua-resty-core to 0.1.20. 2020-10-30 16:40:12 +08:00
Johnny Wang ce740cba10 upgraded ngx_stream_lua to v0.0.9. 2020-10-30 16:39:22 +08:00
Johnny Wang 8fa9533c5e upgraded ngx_lua to 0.10.18. 2020-10-30 16:38:52 +08:00
Yichun Zhang (agentzh) 931adca76a upgraded LuaJIT to 2.1-20201027. 2020-10-27 00:35:54 -07:00
jiahao 8a4605a933 upgraded lua-resty-core to 0.1.20rc3. 2020-10-24 04:48:18 -05:00
jiahao a8696337a6 upgraded ngx_lua to 0.10.18rc4. 2020-10-24 04:48:09 -05:00
Yichun Zhang (agentzh) 2d5e6626ba upgraded LuaJIT to 2.1-20201012-2. 2020-10-12 18:13:44 -07:00
Yichun Zhang (agentzh) 917e5ec2ac upgraded LuaJIT to 2.1-20201012. 2020-10-12 17:48:04 -07:00
Johnny Wang 3d99a48000 upgraded ngx_lua to 0.10.18rc3. (#663) 2020-10-12 12:29:42 +08:00
Johnny Wang 3f4dc6dd9e upgraded ngx_stream_lua to v0.0.9rc3. (#664) 2020-10-12 12:29:30 +08:00