Il 07/01/2014 00:43, Peter Saint-Andre ha scritto:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1On 1/6/14 4:19 PM, Tomasz Sterna wrote:Dnia 2014-01-06, pon o godzinie 14:14 -0700, Peter Saint-Andre pisze:"And beside this had some not so nice encounters with very buggy jabberd2 servers which started to loop attempting to re-establish a connection (very fast beside) when the server closed down their streams."How do you close the stream in that case? If the connection is just being dropped, with unknown reason, it seems reasonable to reestablish it immediately if there are still packets to be send to this server. Users wants their messages to be sent ASAP. It's _instant_ messaging after all. ;-)I don't have details on what Marco reported. We might want to do more testing. Is there a good deployed jabberd2 instance we can test against? Peter- -- Peter Saint-Andrehttps://stpeter.im/ -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.19 (Darwin) Comment: GPGTools -http://gpgtools.org Comment: Using GnuPG with Thunderbird -http://www.enigmail.net/ iQIcBAEBAgAGBQJSyz+vAAoJEOoGpJErxa2pJTwP/Au2cHROdyZGZRlWN8NTznw9 0E/ju03obmcIdMUaCZWeWAvyf3xiyQ6++Xxsa9z+7keKQf5iTqt2eqZEwThXWWRQ DZZkRtGwO57nINt3PMfD7xo/7gaNDXGkfBRVRu5eISw7/M6/z+P0xtyR8TTMdeE6 4OiNFEM4fBanlCA7tvK88G9pxFXFVyTioCIk6q2oBmdTpNEh1ig+W9ZFL/I5IC7G 8pLZRmeohVABz7MG6Ce0NDZmLiVMJ+2rOSsjXhoxm6Rv7y40kPSFpvwIkOFtcbmU ets3bfGcVQgXIbxENNHgnAndTKDyMLQtyuy0kDnRUODTKcqJABXjdTEW9xj4qcbZ QqGlCaiHH7LQy3agjlBv/w0XvcJYpv5KDHC2SNV+ENwKTfLV7EbSLo2qtEyBKp0u 7tE6ymukMmWztTCodeMutSq/gMcqOY9Gi7V8fcJueJaYAk/3eQFM4bkQO2+Bxb3m t4WM7p0bJ0j5jnqvxMBWqrthDW+WR4d/ZG8RtwSkEYlrTu5UvlQNYIZ1sSZXbZMk Mh+bkOFZnuT9gkLxX5Zd5UU6SZdL4QzZHdbKp16GFV1ZYm9JdJlRHxKEnLEbX9x/ 9Y1NKWECUpgixxyfAGMmJZJn+0ZH08Qw2YDQvkpMfdrKgCpTXWQQ5Yf8R9emWdoV +dAFX36QDmDQacHgSbS0 =tYgQ -----END PGP SIGNATURE-----
Metronome closes the stream with an unsupported-version stream error the fact jabberd2 attempts to re-establish a stream is simply wrong.
Note: jabberd2 doesn't append neither to and from or a version attribute on the stream header, which I suppose is the pre-1.0 behaviour / old rfc behaviour.
-- *Marco Cirillo* /LW.Org/LW.Org IM Owner & Head Developer/ /Metronome IM Project Mantainer/Developer/ /Jappix Mantainer/Developer/ http://lightwitch.org
smime.p7s
Description: Firma crittografica S/MIME