Fix infinite recursion in TCPConnection.(local/remote)Address properties.
This commit is contained in:
parent
373f82c16b
commit
5249c1c4c6
|
@ -443,8 +443,8 @@ struct TCPConnection {
|
|||
@property void readTimeout(Duration duration) { m_context.readTimeout = duration; }
|
||||
@property Duration readTimeout() const { return m_context.readTimeout; }
|
||||
@property string peerAddress() const { return m_context.remoteAddress.toString(); }
|
||||
@property NetworkAddress localAddress() const { return localAddress; }
|
||||
@property NetworkAddress remoteAddress() const { return remoteAddress; }
|
||||
@property NetworkAddress localAddress() const { return m_context.localAddress; }
|
||||
@property NetworkAddress remoteAddress() const { return m_context.remoteAddress; }
|
||||
@property bool connected()
|
||||
const {
|
||||
if (m_socket == StreamSocketFD.invalid) return false;
|
||||
|
|
Loading…
Reference in a new issue