Overview
Comment: | Stop caching authentication mechanisms
We don't need to do that. In fact we had to do additional work. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
991c7aeff2dc2bc8df7a2dbf4ed7d3ee |
User & Date: | florob@babelmonkeys.de on 2011-03-10 21:14:32 |
Other Links: | manifest | tags |
Context
2011-03-17
| ||
20:36 | Improve stanza handling and call delegate for iq, message and presence. check-in: 8742a0f583 user: js tags: trunk | |
2011-03-10
| ||
21:14 | Stop caching authentication mechanisms check-in: 991c7aeff2 user: florob@babelmonkeys.de tags: trunk | |
2011-03-09
| ||
03:32 | Add basic STARTTLS support check-in: 3a3855f187 user: florob@babelmonkeys.de tags: trunk | |
Changes
Modified src/XMPPConnection.h from [1b5e581e8a] to [845301f1bf].
︙ | |||
59 60 61 62 63 64 65 | 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | - | /// The JID bound to this connection (this is determined by the server) XMPPJID *JID; /// The port to connect to short port; /// Whether to use TLS BOOL useTLS; id <XMPPConnectionDelegate> delegate; |
︙ |
Modified src/XMPPConnection.m from [365d927559] to [4a47a74ef8].
︙ | |||
52 53 54 55 56 57 58 | 52 53 54 55 56 57 58 59 60 61 62 63 64 65 | - - | sock = [[OFTCPSocket alloc] init]; parser = [[OFXMLParser alloc] init]; elementBuilder = [[OFXMLElementBuilder alloc] init]; port = 5222; useTLS = YES; |
︙ | |||
268 269 270 271 272 273 274 | 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 | - - + + + + + + + - - + + + - - - - - - - - - - - - + + + + + + + + + + + + - - + - - - - | [jidElem.children.firstObject stringValue]]; of_log(@"Bound to JID: %@", [JID fullJID]); } } - (void)_handleFeatures: (OFXMLElement*)elem { |
︙ | |||
319 320 321 322 323 324 325 | 318 319 320 321 322 323 324 325 326 327 328 329 330 331 | - - | if ([elem.namespace isEqual: NS_STARTTLS]) { if ([elem.name isEqual: @"proceed"]) { /* FIXME: Catch errors here */ sock = [[GTLSSocket alloc] initWithSocket: sock]; /* Stream restart */ |
︙ | |||
352 353 354 355 356 357 358 | 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 | - - - | } else if ([elem.name isEqual: @"success"]) { [authModule parseServerFinalMessage: [OFDataArray dataArrayWithBase64EncodedString: [elem.children.firstObject stringValue]]]; of_log(@"Auth successful"); /* Stream restart */ |
︙ |