What is Apache Sling :: Connection Timeout Agent and How to use it in AEM? | Community
Skip to main content
Community Advisor
April 11, 2023

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

  • April 11, 2023
  • 0 replies
  • 753 views
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 Learnings | Apr, 2023 | Medium


Q&A

Please use this thread to ask questions relating to this article

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.