View | Details | Raw Unified | Return to bug 50273
Collapse All | Expand All

(-)java/org/apache/tomcat/util/net/AprEndpoint.java (-1 / +17 lines)
Lines 912-917 Link Here
912
     */
912
     */
913
    protected class Acceptor extends Thread {
913
    protected class Acceptor extends Thread {
914
914
915
        private final Log log = LogFactory.getLog(AprEndpoint.Acceptor.class);
915
916
916
        /**
917
        /**
917
         * The background thread that listens for incoming TCP/IP connections and
918
         * The background thread that listens for incoming TCP/IP connections and
Lines 954-960 Link Here
954
                    }
955
                    }
955
                } catch (Throwable t) {
956
                } catch (Throwable t) {
956
                    ExceptionUtils.handleThrowable(t);
957
                    ExceptionUtils.handleThrowable(t);
957
                    if (running) log.error(sm.getString("endpoint.accept.fail"), t);
958
                    if (running) {
959
                        String msg = sm.getString("endpoint.accept.fail");
960
                        if (t instanceof Error) {
961
                            Error e = (Error) t;
962
                            if (e.getError() == 233) {
963
                                // Not an error on HP-UX so log as a warning
964
                                // so it can be filtered out on that platform
965
                                // See bug 50773
966
                                log.warn(msg, t);
967
                            } else {
968
                                log.error(msg, t);
969
                            }
970
                        } else {
971
                                log.error(msg, t);
972
                        }
973
                    }
958
                }
974
                }
959
975
960
                // The processor will recycle itself when it finishes
976
                // The processor will recycle itself when it finishes

Return to bug 50273