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

(-)catalina/src/share/org/apache/catalina/core/StandardWrapperValve.java (+2 lines)
Lines 127-132 Link Here
127
                servlet = wrapper.allocate();
127
                servlet = wrapper.allocate();
128
            }
128
            }
129
        } catch (UnavailableException e) {
129
        } catch (UnavailableException e) {
130
            container.getLogger().error(sm.getString("standardWrapper.allocateException",
131
                             wrapper.getName()), e);
130
            long available = wrapper.getAvailable();
132
            long available = wrapper.getAvailable();
131
            if ((available > 0L) && (available < Long.MAX_VALUE)) {
133
            if ((available > 0L) && (available < Long.MAX_VALUE)) {
132
            	response.setDateHeader("Retry-After", available);
134
            	response.setDateHeader("Retry-After", available);

Return to bug 42039