[Standards] XEP-0198: Stream should be closed when 'h' value is to high

Kevin Smith kevin.smith at isode.com
Wed Feb 21 10:57:56 UTC 2018


On 21 Feb 2018, at 09:41, Jonas Wielicki <jonas at wielicki.name> wrote:
> 
> On Mittwoch, 21. Februar 2018 10:32:37 CET Kevin Smith wrote:
>> At first glance, its seems to me like this can only happen when an entity’s
>> 198 support is broken in some way. If that’s the case, would we expect the
>> same entity to reconnect and do the same thing again? If so, is it better
>> to continually disconnect due to bad-h, reconnect, etc., or to do the best
>> we can to keep the stream up?
> 
> The entity shouldn’t be reconnecting after a stream error, so the loop you’re 
> talking about won’t happen (unless the entity is also broken in other ways, 
> but one can construct arbitrary failure modes if we assume that).

I don’t think this is true.

/K


More information about the Standards mailing list