On 14.02.2017 12:17, Michal Piotrowski wrote: > Hello, > > I'm currently investigating following situation. The server sent to the > client 10 stanzas and clients sends accept <a h='11'/> which is not > valid (too high). > In XEP-0198 I didn't find any information what should happen if clients > sends too high 'h' parameter. > > What should be the server response in this case? The safest is probably > to close the stream with error indicating a policy violation. > > Also what should happen if a client resumes a stream with such too high > 'h' parameter?
In both cases close the connection with a stream-error including a meaningful error condition and textual message (something like: "Client send 'h' value of 123 is higher our maximum 'h' of 120"). - Florian
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Standards mailing list Info: https://mail.jabber.org/mailman/listinfo/standards Unsubscribe: [email protected] _______________________________________________
