Documentation Center

Configuring HTTP and HTTPS connections

In an <image> section in cwd_engine_conf.xml, you can configure the properties of your HTTP connections.

Procedure

  1. Access the WEB-INF/classes/ (Java) or bin\config\ (.NET) subdirectory of your CID Web application.
  2. Open cwd_engine_conf.xml for editing.
  3. Inside the <context> section, ensure the presence of an <http> section.
  4. To configure connection pooling, inside the <http> section, insert a <pooling> section and insert one or both of the following subelements inside it:
    ElementDefaultDescription
    maxTotal300Sets the maximum number of allowed connections overall.
    defaultMaxPerRoute100Sets the maximum total number of allowed connections on a per-route basis. This ensures that concurrent connections to the same host are not serialized.
  5. To configure timeouts, inside <http>, insert one or both the following subelements:
    ElementDefaultDescription
    connectionTimeout20000The maximum amount of time (in milliseconds) for each connection.
    socketTimeout20000The maximum amount of time (in milliseconds) for each socket connection.
  6. To ensure that redirects are followed, inside <http>, insert a <redirecting> subelement and set it to the value true. Defaults to false if not specified.
  7. To configure SSL settings, inside <http>, insert an <ssl> element and insert one or both of the following subelements inside it:
    ElementDefaultDescription
    enabledtrueSet to false to indicate that HTTPS is not supported for your source images.
    securetrueSet to false to indicate that SSL certificates should not be validated.
  8. Save and close cwd_engine_conf.xml and restart the Web application to apply your changes.