C++ ZTS client waits 10000 seconds for a response from ZTS server even if there 
is no response.
I think there is a mistake in specifying curl options. The second argument of 
`curl_easy_setopt()` should be `CURLOPT_TIMEOUT_MS`, not `CURLOPT_TIMEOUT`.
https://github.com/apache/incubator-pulsar/blob/8b2929b3e5403fb44653976dc74be287666f7b96/pulsar-client-cpp/lib/auth/athenz/ZTSClient.cc#L48
https://github.com/apache/incubator-pulsar/blob/8b2929b3e5403fb44653976dc74be287666f7b96/pulsar-client-cpp/lib/auth/athenz/ZTSClient.cc#L275

[ Full content available at: 
https://github.com/apache/incubator-pulsar/pull/2572 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to