xmpp-rs/tokio-xmpp
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Link Mauve 24cb246809 tokio-xmpp: Send the initial stream:stream in a single packet
Prosody would let the stream opening timeout if it receives it in more
than one TCP packet, which seems like a bug.

The behaviour was highly non-deterministic, a release build would almost
always (but not always) succeed to connect to a localhost Prosody, a
debug build would almost always (but not always) fail, and
RUST_LOG=trace would make any build fail to connect, as would strace.

My theory is that successful runs rely on the kernel merging all five
TCP packets in a single one, and any tracing would add sufficient delay
in-between to let it send every packet on its own.
2026-06-10 11:06:33 +02:00
..
examples tokio-xmpp: add option to set custom hickory resolver 2026-05-24 20:07:42 +00:00
src tokio-xmpp: Send the initial stream:stream in a single packet 2026-06-10 11:06:33 +02:00
.gitignore Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/ 2019-10-18 14:16:01 +02:00
Cargo.toml Bump all outdated dependencies 2026-05-21 13:26:08 +02:00
ChangeLog tokio-xmpp: Send the initial stream:stream in a single packet 2026-06-10 11:06:33 +02:00
logo.svg Prepare for merge: Move all tokio-xmpp files into tokio-xmpp/ 2019-10-18 14:16:01 +02:00
README.md tokio-xmpp: remove obsolete TODOs 2020-03-16 00:11:52 +01:00

TODO

  • allow tls verify customization
  • more tests