[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[JDEV] jabbertransport quirk?



  Could someone please validate for me that this happens?  If you login TWICE to a transport (Aka, send two login messages), it would seem that jabbertransport gets ALL confused..  When I send this:

<message><to>u</to><from>u</from><say>HiGuy</say></message>

  After logging in twice with the same username/password, jabbertransport does this:

[Mon Jul 19 13:27:05 1999] lib "IO: waiting"
[Mon Jul 19 13:27:05 1999] lib "new_data_from=127.0.0.1"
[Mon Jul 19 13:27:05 1999] main "dispatch_data=<message><to>u</to><from>u</from><say>HiGuy</say></message>"
[Mon Jul 19 13:27:05 1999] main "Processing Normally"
[Mon Jul 19 13:27:05 1999] main "handling_normal_packet=127.0.0.1"
[Mon Jul 19 13:27:05 1999] main "handle_message"
[Mon Jul 19 13:27:05 1999] main "Invalid message, improper from or to"

  Now, I'm NOT condoning that that people SHOULD be logging in twice, but this could cause problems if a socket get's hung, and someone logs in a second time via a transport, but the first one hasn't disconnected yet for some reason..
---
Thomas Charron


--== Sent via Deja.com http://www.deja.com/ ==--
Share what you know. Learn what you don't.