Ticket #3456 defect closed fixed
srvconnector fails for xmpp-client service on OS X
|Reported by:||jack||Owned by:||ralphm|
|Cc:||jack, twonds, exarkun, ralphm||Branch:||branches/srvconnect-default-port-3456|
SRVConnector passes the name of the service to reactor.connectTCP instead of a port numbers. This causes the port to be looked up in /etc/services, which fails because OS X is still using the deprecated 'jabber-client' name instead of 'xmpp-client'.
This means that any connections to localhost done with twisted.words.protocols.jabber.client.* just fail.
Is there a clean way to fix this in Twisted? Or is my only option to create a custom XMPPConnector that just substitutes the port number?