VaunMcCarthy | 2022-04-13 03:47:25 UTC | #1
Have a question from a developer here. When using Data Actions to a third party webservice, is a new session created for each request, or does a connection remain open to that remote service for a period of time for potential subsequent requests? How does the timeout work for this type of thing?
Jason_Mathison | 2022-04-13 11:28:58 UTC | #2
Data Actions request that the connection stay open via the "connection" header: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Connection
Assuming the other side does not send back a "connection: close" header in the response then the Data Action service will attempt to reuse the connection. There is a timeout for how long the connection will be held open while unused, I think around 30 seconds although I am not certain off the top of my head. The connection could be dropped early due to our connection pool filling up, or if any hop in the connection decides to drop it.
--Jason
system | 2022-05-14 11:29:35 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 14302