Changeset 863

Show
Ignore:
Timestamp:
03/27/09 18:35:01 (8 months ago)
Author:
mart
Message:

Remove stream:features-in-dialback quirk hack, since we've been unable to find an implementation that actually requires it, it's not valid per spec, and it breaks interop with several popular implementations.

Patch from Alex Vandiver.

Location:
trunk/DJabberd
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/DJabberd/CHANGES

    r862 r863  
     1  - Remove the stream:features-in-dialback quirk hack, since it breaks 
     2    interop with a few different implementations and is incorrect 
     3    per spec. This may break interop with some other implementation, 
     4    but we've been unable to determine which one, so I'm assuming 
     5    that it's no longer an issue. 
     6    (Alex Vandiver <alexmv@bestpractical.com>) 
     7 
    18  - Small tweak to comment and logging in DJabberd::Connection::ServerOut 
    29    (Alex Vandiver <alexmv@bestpractical.com>) 
  • trunk/DJabberd/lib/DJabberd/Connection/ServerOut.pm

    r862 r863  
    8585    $self->log->debug("Connection $self->{id} supports dialback"); 
    8686 
    87     if ($ss->version->supports_features) { 
    88         # they can eat a dick for all we care.  they get no features. 
    89         # what is this weird XMPP 1.0 + old-school Dialback world anyway? 
    90         # maybe we're still confused.  FIXME: care. 
    91         my $features = "<stream:features></stream:features>"; 
    92         $self->write($features); 
    93         $self->log->debug("$self->{id} sending '$features'"); 
    94     } 
    95  
    9687    my $vhost       = $self->{queue}->vhost; 
    9788    my $orig_server = $vhost->name;