lua-resty-http2 icon indicating copy to clipboard operation
lua-resty-http2 copied to clipboard

The HTTP/2 Protocol (Client Side) Implementation for OpenResty.

Results 3 lua-resty-http2 issues
Sort by recently updated
recently updated
newest added

HTTP2 针对TCP连接是多路复用的,但是我使用 lua-resty-http2 发起的tcp连接没有办法实现多路复用。 请问文档中描述的 client:keepalive 接口该如何使用?我按照文档的方法测试,发现还是会创建新的tcp连接

参照文档中给出的[例子](https://github.com/tokers/lua-resty-http2/blob/master/util/example.lua),我改造了了一下,如下,并进行访问,得到了 `client:request() failed: closed` 的错误。 ```lua local on_headers_reach = function(ctx, headers) print("received HEADERS frame:") for k, v in pairs(headers) do print(k, ": ", v) end end local on_data_reach = function(ctx,...

Under high concurrency, the connection is not being reused