Dhairya-007 commented on PR #29988:
URL: https://github.com/apache/camel/pull/29988#issuecomment-6892359267

   Thanks, applied in the new commit — both findings check out.
   
   On the producer the value only reaches 
`TSSLTransportFactory.getClientSocket`; `initializeSyncTransport` and 
`initializeAsyncTransport` build their `TSocket`/`TNonblockingSocket` from host 
and port alone, and `createClient` connects before `setSoTimeout`, so "connect 
timeout" was wrong twice over. On the consumer the value lands on the accepted 
client connections, not on the server socket, which `listen()` resets to 
`setSoTimeout(0)`.
   
   The javadoc and the two `thrift.json` files now read:
   
   > Socket timeout (SO_TIMEOUT) in milliseconds. On a consumer it applies to 
the connections accepted from clients. On a producer it is only used when 
negotiationType is SSL.
   
   I left the earlier sentence-splitting thread for you to resolve.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to