Re: [Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Florian Schmaus
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 which is not > valid (too high). > In XEP-0198 I didn't find any information what should happen if clients > sends too hi

Re: [Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Michal Piotrowski
I totally agree with that. Thanks for your response. I'm wondering if this should somehow be reflected in the XEP. Best regards Michal Piotrowski michal.piotrow...@erlang-solutions.com On 14 February 2017 at 14:20, Georg Lukas wrote: > * Michal Piotrowski [2017-02-14 > 12:18]: > > I'm curren

Re: [Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Ruslan N. Marchenko
On Tue, Feb 14, 2017 at 02:19:57PM +0100, Michal Piotrowski wrote: > > Why, there's general case in error handling section: > >  Stream management errors SHOULD be considered recoverable; >  however, misuse of stream management MAY result in termination of the >  stream. > > > Y

Re: [Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Georg Lukas
* Michal Piotrowski [2017-02-14 12:18]: > I'm currently investigating following situation. The server sent to the > client 10 stanzas and clients sends accept 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.

Re: [Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Michal Piotrowski
Thanks for the response. This somehow answers my second question. I still would like to know what should happen when server observers too high 'h' parameter when clients sends ack. Best regards Michal Piotrowski michal.piotrow...@erlang-solutions.com On 14 February 2017 at 14:05, Ruslan N. Marche

Re: [Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Ruslan N. Marchenko
On Tue, Feb 14, 2017 at 12:17:10PM +0100, Michal Piotrowski wrote: > 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 po

[Standards] XEP-0198 stream resumption with too high 'h' parameter

2017-02-14 Thread Michal Piotrowski
Hello, I'm currently investigating following situation. The server sent to the client 10 stanzas and clients sends accept 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 thi