Skip to content
  • Sebastian Dröge's avatar
    souphttpsrc: Fix keep-alive handling · b1edc286
    Sebastian Dröge authored
    We have to get rid of the message on EOS when the complete stream is read to
    remember that we successfully finished handling this specific message.
    Otherwise we will cancel it later and close the connection instead of reusing
    it at a later time.
    
    It might also make sense to reuse connections if a non-200 response is
    received. As long as there was no connection error, the HTTP connection should
    be re-usable.
    b1edc286