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

(-)java/org/apache/catalina/core/StandardWrapperValve.java (-16 lines)
Lines 171-192 Link Here
171
            request.setComet(true);
171
            request.setComet(true);
172
        }
172
        }
173
        
173
        
174
        // Acknowledge the request
175
        try {
176
            response.sendAcknowledgement();
177
        } catch (IOException e) {
178
            container.getLogger().warn(sm.getString("standardWrapper.acknowledgeException",
179
                             wrapper.getName()), e);
180
            throwable = e;
181
            exception(request, response, e);
182
        } catch (Throwable e) {
183
            ExceptionUtils.handleThrowable(e);
184
            container.getLogger().error(sm.getString("standardWrapper.acknowledgeException",
185
                             wrapper.getName()), e);
186
            throwable = e;
187
            exception(request, response, e);
188
            servlet = null;
189
        }
190
        MessageBytes requestPathMB = request.getRequestPathMB();
174
        MessageBytes requestPathMB = request.getRequestPathMB();
191
        DispatcherType dispatcherType = DispatcherType.REQUEST;
175
        DispatcherType dispatcherType = DispatcherType.REQUEST;
192
        if (request.getDispatcherType()==DispatcherType.ASYNC) dispatcherType = DispatcherType.ASYNC; 
176
        if (request.getDispatcherType()==DispatcherType.ASYNC) dispatcherType = DispatcherType.ASYNC; 
(-)java/org/apache/catalina/core/StandardContextValve.java (+3 lines)
Lines 153-158 Link Here
153
            }
153
            }
154
        }
154
        }
155
155
156
        // Acknowledge the request
157
        response.sendAcknowledgement();
158
156
        // Don't fire listeners during async processing
159
        // Don't fire listeners during async processing
157
        // If a request init listener throws an exception, the request is
160
        // If a request init listener throws an exception, the request is
158
        // aborted
161
        // aborted

Return to bug 51436