Understanding Rest API timeout
Few questions around timeouts around Rest API call as a client :
a) What is the purpose of Response Timeout in Connect-REST form?
b) What happens when the connection to the server is successful but takes long to respond and Response Timeout value expires? E.g. Response timeout = 40 secs. Response from server takes 80 secs. Will Pega release all the threads and terminates the connection? If yes, then will the connection be aborted from application server as well?
c) Does socket time out happen because shorter Response Timeout value?
d) Is there a way to abort an API connection if it's taking too long?
Thanks