[Pidgin] #16535: less delay for xmpp file transfer using streamhosts

Pidgin trac at pidgin.im
Thu Jun 11 09:29:07 EDT 2015

#16535: less delay for xmpp file transfer using streamhosts
 Reporter:  evert_mouw                    |       Owner:
     Type:  patch                         |      Status:  new
Milestone:  Patches Needing Review        |   Component:  libpurple
  Version:  2.10.11                       |  Resolution:
 Keywords:  XMPP streamhost filetransfer  |

Comment (by datallah):

 The current ordering isn't arbitrary, it uses the ordering specified by
 the sender (which is what is specified by
 At least when Pidgin is the sender (and presumably for other clients too),
 the ordering is intentional and prefers direct connections over proxies -
 see `jabber_si_xfer_bytestreams_listen_cb` in the same file.

 It's certainly true that direct connections are less likely to succeed,
 but switching the ordering will make large in-network file transfers not

 A somewhat more complicated algorithm probably could be used to decide
 whether or not to try internal IPs (and those could likely have a much
 shorter timeout than public IPs).

Ticket URL: <https://developer.pidgin.im/ticket/16535#comment:4>
Pidgin <https://pidgin.im>

More information about the Tracker mailing list