mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 804436 - Patch 1 : Add listening status to UnixSocket, r=gyeh
This commit is contained in:
parent
a3f7f89a1e
commit
0b1f5c036d
@ -778,7 +778,7 @@ UnixSocketConsumer::ListenSocket(UnixSocketConnector* aConnector)
|
||||
mImpl = new UnixSocketImpl(this, aConnector, addr);
|
||||
XRE_GetIOMessageLoop()->PostTask(FROM_HERE,
|
||||
new SocketAcceptTask(mImpl));
|
||||
mConnectionStatus = SOCKET_CONNECTING;
|
||||
mConnectionStatus = SOCKET_LISTENING;
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -116,8 +116,9 @@ public:
|
||||
|
||||
enum SocketConnectionStatus {
|
||||
SOCKET_DISCONNECTED = 0,
|
||||
SOCKET_CONNECTING = 1,
|
||||
SOCKET_CONNECTED = 2
|
||||
SOCKET_LISTENING = 1,
|
||||
SOCKET_CONNECTING = 2,
|
||||
SOCKET_CONNECTED = 3
|
||||
};
|
||||
|
||||
class UnixSocketConsumer : public RefCounted<UnixSocketConsumer>
|
||||
|
Loading…
Reference in New Issue
Block a user