mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-20 21:33:19 -06:00
Fix incoming session storage
This commit is contained in:
parent
c31ea81482
commit
1368c353c6
|
|
@ -56,7 +56,7 @@ func (n *Node) listenFromYgg() {
|
|||
_ = session.CloseWithError(0, "expected a peer certificate")
|
||||
continue
|
||||
}
|
||||
address := session.ConnectionState().PeerCertificates[0].Subject.CommonName
|
||||
address := session.ConnectionState().PeerCertificates[0].DNSNames[0]
|
||||
n.log.Infoln("Accepted connection from", address)
|
||||
go n.listenFromQUIC(session, address)
|
||||
go n.sessionFunc(address)
|
||||
|
|
|
|||
Loading…
Reference in a new issue