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

(-)JkCoyoteHandler.java (-1 / +1 lines)
Lines 416-422 Link Here
416
416
417
                if(  res.isCommitted() ) {
417
                if(  res.isCommitted() ) {
418
                    if( log.isInfoEnabled() )
418
                    if( log.isInfoEnabled() )
419
                        log.info("Response already commited " );
419
                        log.info("Response already committed " );
420
                } else {
420
                } else {
421
                    appendHead( res );
421
                    appendHead( res );
422
                }
422
                }
(-)Response.java (-6 / +6 lines)
Lines 85-91 Link Here
85
    /**
85
    /**
86
     * Committed flag.
86
     * Committed flag.
87
     */
87
     */
88
    protected boolean commited = false;
88
    protected boolean committed = false;
89
89
90
90
91
    /**
91
    /**
Lines 217-228 Link Here
217
217
218
218
219
    public boolean isCommitted() {
219
    public boolean isCommitted() {
220
        return commited;
220
        return committed;
221
    }
221
    }
222
222
223
223
224
    public void setCommitted(boolean v) {
224
    public void setCommitted(boolean v) {
225
        this.commited = v;
225
        this.committed = v;
226
    }
226
    }
227
227
228
228
Lines 291-297 Link Here
291
        // stream before resetting the output stream
291
        // stream before resetting the output stream
292
        //
292
        //
293
        // Reset the stream
293
        // Reset the stream
294
        if (commited) {
294
        if (committed) {
295
            //String msg = sm.getString("servletOutputStreamImpl.reset.ise"); 
295
            //String msg = sm.getString("servletOutputStreamImpl.reset.ise"); 
296
            throw new IllegalStateException();
296
            throw new IllegalStateException();
297
        }
297
        }
Lines 372-378 Link Here
372
     */
372
     */
373
    public void sendHeaders() throws IOException {
373
    public void sendHeaders() throws IOException {
374
        action(ActionCode.ACTION_COMMIT, this);
374
        action(ActionCode.ACTION_COMMIT, this);
375
        commited = true;
375
        committed = true;
376
    }
376
    }
377
377
378
378
Lines 564-570 Link Here
564
        contentLength = -1;
564
        contentLength = -1;
565
        status = 200;
565
        status = 200;
566
        message = null;
566
        message = null;
567
        commited = false;
567
        committed = false;
568
        errorException = null;
568
        errorException = null;
569
        errorURI = null;
569
        errorURI = null;
570
        headers.clear();
570
        headers.clear();

Return to bug 32741