Skip to content
Snippets Groups Projects

daemon/proxyv2: fix client TCP/TLS + merge state structs

Merged Oto Šťáva requested to merge proxyv2-tcp-fix into master
  1. Aug 07, 2024
    • Oto Šťáva's avatar
      Update NEWS · adc4c44e
      Oto Šťáva authored
      Verified
      adc4c44e
    • Oto Šťáva's avatar
      daemon/proxyv2: fix client TCP/TLS + merge state structs · b5fa236f
      Oto Šťáva authored
      Firstly, this adds a missing assignment of `comm->proxy`, which would
      cause the resolver not to know that a client asked via TCP/TLS, if the
      proxy also asked via TCP/TLS.
      
      Secondly, it merges `struct pl_proxyv2_sess_data` and
      `struct pl_proxyv2_iter_data` into a single `struct pl_proxyv2_state`,
      since they were practically the same. And it adds a bit of documentation
      to the struct.
      Verified
      b5fa236f
Loading