Consul limits : http_max_conns_per_client

What can I use to make this Consul limits : http_max_conns_per_client to no-limit value ?

From some sources I found it to be 65535 but I am not sure of this limits and want to make it Infinite. So can I use ‘0’ or ‘-1’ to make it infinite ?

"limits": {
                "http_max_conns_per_client": 65535
              }

Thanks In advance.

Hi @ilyasahmed1030,

You can disable the HTTP connection limit by setting the value to -1.

{
  "limits": {
    "http_max_conns_per_client": -1
  }
}

Thanks for the reply. Any difference if I use 0 ?

Actually I want to enable the limit but with infinite number ? So if I use it as 0 does it mean infinite ?