Skip to content

Q-SYS: TcpSocket:Write() is non-blocking #4

Description

@gdyr

qsys-http-server/init.lua

Lines 1148 to 1150 in be5dd33

if(not options.keepalive) then Timer.CallAfter(function()
sock:Disconnect();
end, 1); end; -- workaround for non-blocking write

Currently having to maintain a workaround in order for writes to complete before the connection is closed.

Issue is tracked in Q-SYS support case 00139289, filed 16th Feb, 2023.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions