Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!

What is Apache Sling :: Connection Timeout Agent and How to use it in AEM?

Avatar

Community Advisor

4/10/23

AEM Discussions

What is Apache Sling :: Connection Timeout Agent and How to use it? by Albin Issac


Overview

Apache Sling :: Connection Timeout Agent provides a Java agent that uses the instrumentation API to add connect and read timeouts to connections made via HTTP or HTTPs. It only applies these timeouts if none were set explicitly.

The agent is intended as an additional layer of control when running untrusted client code that may make calls without explicitly setting timeouts. Setting timeouts in client code is always recommended rather than relying on this agent.

 

Links: 

What is Apache Sling :: Connection Timeout Agent and How to use it? (albinsblog.com)

What is Apache Sling :: Connection Timeout Agent and How to use it? | by Albin Issac | Tech Learning...


Q&A

Please use this thread to ask questions relating to this article