Skip to content

requests.get(url, { http2 = true }) 报错 #31

@tang24678

Description

@tang24678

ngx.socket sslhandshake: expecting 1 ~ 5 arguments (including the object), but seen 6
stack traceback:
coroutine 0:
[C]: in function 'sslhandshake'
...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:352: in function <...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:324>
...penresty/luajit/share/lua/5.1/resty/requests/adapter.lua:691: in function 'send'
...penresty/luajit/share/lua/5.1/resty/requests/session.lua:212: in function 'get'
/home///lua/http2.lua:5: in main chunk, client: 10.18.., server: ...*, request: "GET /test_new2 HTTP/2.0", host:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions