Skip to content
  • Oto Šťáva's avatar
    b5fa236f
    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.
    b5fa236f
    daemon/proxyv2: fix client TCP/TLS + merge state structs
    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.
Loading