Skip to content

tcpsock:setkeepalive #664

Closed
Closed
@ghost

Description

Hello, I'm trying to deal with websockets and want to set unlimited keepalive to socket. In nginx.conf lua_socket_keepalive_timeout 180m; does not affect. In code sock:settimeout works well, but sock:setkeepalive says, that there is not such method in sock, i.e sock:setkeepalive == nil. Why? Pleese write in docs what is maximum timeout. Thanks for great work!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions