Skip to content
  • Philipp Hörist's avatar
    Refactor IQ callbacks · f3469e7d
    Philipp Hörist authored
    - Remove SendAndWaitForResponse(), there is no need for a timeout that
    ends the stream. We have other means of checking if the connection to
    the server was lost.
    
    - Don't wrap ProcessNonBlocking(), a server can send multiple stanzas
    in one packet, wraping this methods means we process callbacks after
    processing all stanzas in the packet. Which can lead to processing stanzas
    not in arrival order. Instead process callbacks inside dispatch().
    f3469e7d