[Standards] XEP-0198: Stream should be closed when 'h' value is to high
georg at op-co.de
Wed Feb 7 08:20:50 UTC 2018
* Guus der Kinderen <guus.der.kinderen at gmail.com> [2018-02-07 08:44]:
> I propose that the XEP is updated with an instruction to, upon detection of
> an invalid acknowledgement, terminate the stream with stream error.
The rationale behind current behavior is to be permissive in what we
accept, but the result is that subtle errors in 0198 implementations
(like mis-counting stanzas and non-stanzas) lead to dropped and/or
duplicated messages. After some years of experience I agree that it
would be better to kill the connection immediately, with a proper error
message, to make developers more aware.
|| http://op-co.de ++ GCS d--(++) s: a C+++ UL+++ !P L+++ !E W+++ N ++
|| gpg: 0x962FD2DE || o? K- w---() O M V? PS+ PE-- Y++ PGP+ t+ 5 R+ ||
|| Ge0rG: euIRCnet || X(+++) tv+ b+(++) DI+++ D- G e++++ h- r++ y? ||
++ IRCnet OFTC OPN ||_________________________________________________||
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 195 bytes
Desc: not available
More information about the Standards