Changeset 5997488 for protocols/jabber/io.c
- Timestamp:
- 2006-09-22T12:04:35Z (18 years ago)
- Branches:
- master
- Children:
- 8d74291
- Parents:
- deff040
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
protocols/jabber/io.c
rdeff040 r5997488 134 134 aborted the connection already... Or not? FIXME */ 135 135 return FALSE; 136 } 137 138 if( jd->flags & JFLAG_STREAM_RESTART ) 139 { 140 jd->flags &= ~JFLAG_STREAM_RESTART; 141 xt_reset( jd->xt ); 142 jabber_start_stream( gc ); 136 143 } 137 144 … … 204 211 { "message", "stream:stream", jabber_pkt_message }, 205 212 { "presence", "stream:stream", jabber_pkt_presence }, 213 { "mechanisms", "stream:features", sasl_pkt_mechanisms }, 214 { "challenge", "stream:stream", sasl_pkt_challenge }, 215 { "success", "stream:stream", sasl_pkt_result }, 216 { "failure", "stream:stream", sasl_pkt_result }, 206 217 { NULL, "stream:stream", jabber_pkt_misc }, 207 218 { NULL, NULL, NULL } … … 224 235 greet = g_strdup_printf( "<?xml version='1.0' ?>" 225 236 "<stream:stream to=\"%s\" xmlns=\"jabber:client\" " 226 "xmlns:stream=\"http://etherx.jabber.org/streams\">", jd->server ); 227 /* Add this when TLS and SASL are supported? */ 228 // version=\"1.0\">" 237 "xmlns:stream=\"http://etherx.jabber.org/streams\" version=\"1.0\">", jd->server ); 229 238 230 239 st = jabber_write( gc, greet, strlen( greet ) );
Note: See TracChangeset
for help on using the changeset viewer.