Differences From Artifact [15582e8207]:
- File src/XMPPConnection.m — part of check-in [4aae7b6dd1] at 2014-02-03 22:36:13 on branch trunk — XMPPConnection: Verify origin of IQ responses (user: florob@babelmonkeys.de, size: 30710) [annotate] [blame] [check-ins using]
To Artifact [24f700eb94]:
- File
src/XMPPConnection.m
— part of check-in
[ad2e692fe7]
at
2014-02-03 23:00:09
on branch trunk
— XMPPConnection: Don't negotiate a session feature, when marked optional
The session feature has been deprecated as of RFC 6120.
Some servers still offer it for client compatibility, but
mark it as optional. Not negotiating it in this case
saves us a round trip (user: florob@babelmonkeys.de, size: 30789) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
1098 1099 1100 1101 1102 1103 1104 | [self XMPP_sendAuth: @"PLAIN"]; return; } assert(0); } | | > | 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 | [self XMPP_sendAuth: @"PLAIN"]; return; } assert(0); } if (session != nil && ![session elementForName: @"optional" namespace: XMPP_NS_SESSION]) _needsSession = true; if (bind != nil) { [self XMPP_sendResourceBind]; return; } |
︙ | ︙ |