Software /
code /
prosody
Annotate
TODO @ 11516:83822be7704d
util.xmppstream: Send <?xml?> declaration in same call as stream open
If network_settings.opportunistic_writes is enabled then this would
previously have resulted in two socket writes, and possibly two packets
being sent. This caused some issues in older versions of Gajim, which
apparently expected the stream opening in the first packet, and thus it
could not connect.
With this change and opportunistic_writes enabled, the first packet
should contain both the xml declaration and the stream open tag.
Without opportunistic_writes, there should be no observable change.
Tested with Gajim 1.1.2 (on same machine). Unsure if loopback behaves
differently than the network here.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 14 Apr 2021 15:21:13 +0200 |
parent | 9803:35ef6af41600 |
rev | line source |
---|---|
5405 | 1 == 1.0 == |
4138
62f5e6b11571
TODO: Update for 0.9 milestones
Matthew Wild <mwild1@gmail.com>
parents:
4134
diff
changeset
|
2 - Roster providers |
62f5e6b11571
TODO: Update for 0.9 milestones
Matthew Wild <mwild1@gmail.com>
parents:
4134
diff
changeset
|
3 - Clustering |
2663 | 4 - World domination |