-
Thank you for the patch. However this class is no longer in use and is kept only for backward compatibility for deployments which rely on the old s2s implementation. A new s2s implementation with TLS and ZLib compression support has been created in class S2SConnectionManager and supporting classes.
Server version should be set properly in the new implementation.
-
I see, no problem. I've checked the other classes and they look fine with the version attribute, but what about making a private static final String STREAM_ATTR_VERSION = "1.0"; instead of making a string in each of the classes (its 10 classes or more). That would be more maintainable.
Type |
Bug
|
Priority |
Normal
|
Assignee | |
RedmineID |
179
|
Version |
tigase-server-5.1.0
|
Issue Votes (0)
Watchers (0)
According to : http://xmpp.org/rfcs/rfc6120.html#streams-attr-version
The receiving entity MUST set the value of the 'version' attribute in the response stream header to either the value supplied by the initiating entity or the highest version number supported by the receiving entity, whichever is lower. The receiving entity MUST perform a numeric comparison on the major and minor version numbers, not a string match on ".".
I've created a small patch that put the version='1.0' attribute on the server stream tag.