QTBUG-14939 seems to describe the exact same problem. The linked source changes in conjunction with labeling it fixed for 4.8 is seems invalid though, as I can still see the problem in 4.8.
QLocalSocket::abort() is supposed to “immediately close”
QLocalSocket::abort() calls close()
close() calls disconnectFromServer
I have a client to a server. If server queued data for the client which he did not read for x time, the client is considered dead. Hence, the server wants to abort. My issue now is that abort() actually seems to wait for data delivery; 30 s.
Specifically, in my use-case bytesToWrite() is > 0
, thus going into `disconnectFromServer()`.