mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Valery Kharseko
23.54.2025 9b89105012a5a7f7671a95d09ed568a2eeabcb58
[#463] Disable warning message on downstream closed (#468)

Co-authored-by: Maxim Thomas <maxim.thomas@gmail.com>
1 files modified
4 ■■■■ changed files
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/LdapResponseMessageWriter.java 4 ●●●● patch | view | raw | blame | history
opendj-grizzly/src/main/java/org/forgerock/opendj/grizzly/LdapResponseMessageWriter.java
@@ -12,11 +12,13 @@
 * information: "Portions Copyright [year] [name of copyright owner]".
 *
 * Copyright 2016 ForgeRock AS.
 * Portions Copyright 2025 3A Systems,LLC
 */
package org.forgerock.opendj.grizzly;
import java.util.concurrent.CancellationException;
import io.reactivex.exceptions.UndeliverableException;
import org.forgerock.opendj.ldap.spi.LdapMessages.LdapResponseMessage;
import org.glassfish.grizzly.CompletionHandler;
import org.glassfish.grizzly.Connection;
@@ -76,7 +78,9 @@
    @Override
    public void onError(final Throwable error) {
        upstream.cancel();
        try {
        downstream.onError(error);
        } catch (UndeliverableException e) {}
    }
    @Override