Bug report #536 has just been filed.

You can view the report at the following URL:

   <http://znutar.cortexity.com/BugRatViewer/ShowReport/536>

REPORT #536 Details.

Project: Tomcat
Category: Bug Report
SubCategory: New Bug Report
Class: swbug
State: received
Priority: high
Severity: critical
Confidence: public
Environment: 
   Release: 3.2
   JVM Release: 1.3
   Operating System: WinNT
   OS Release: 4.0
   Platform: WinNT

Synopsis: 
Ajp13ConnectorRequest.doRead fails on HTTP POST

Description:
When using HTTP POST with multiple file (RFC1867), that
are passed from Apache (1.3.14) to mod_jk and to a servlet,
the target servlet hangs outputting some Y characters.
The output came from:

Original code of
org.apache.tomcat.service.connector.Ajp13ConnectorRequest:

public int doRead(byte[] b, int off, int len) throws IOException 
{
// XXXXXX Stupid, but the whole thing must be rewriten ( see super()! )
   for(int i = off ; i < (len + off) ; i++) {
        int a = doRead();
        if(-1 == a) {
            System.out.println("Y");
                return i-off;
        }
        b[i] = (byte)a;
    }
        
    return len;
}

The upload works with ajp12, but unfortunately
we ajp13 to access the SSL certificate. Hint:
the test uses HTTP, not HTTPS!
Title: BugRat Report # 536

BugRat Report # 536

Project: Tomcat Release: 3.2
Category: Bug Report SubCategory: New Bug Report
Class: swbug State: received
Priority: high Severity: critical
Confidence: public

Submitter: Hans Schuell ( [EMAIL PROTECTED] )
Date Submitted: Dec 6 2000, 07:17:02 CST
Responsible: Z_Tomcat Alias ( [EMAIL PROTECTED] )

Synopsis:
Ajp13ConnectorRequest.doRead fails on HTTP POST
Environment: (jvm, os, osrel, platform)
1.3, WinNT, 4.0, WinNT

Additional Environment Description:
Apache/1.3.14 (Win32) mod_jk mod_ssl/2.7.1 OpenSSL/0.9.6

Report Description:
When using HTTP POST with multiple file (RFC1867), that are passed from Apache (1.3.14) to mod_jk and to a servlet, the target servlet hangs outputting some Y characters. The output came from: Original code of org.apache.tomcat.service.connector.Ajp13ConnectorRequest: public int doRead(byte[] b, int off, int len) throws IOException { // XXXXXX Stupid, but the whole thing must be rewriten ( see super()! ) for(int i = off ; i < (len + off) ; i++) { int a = doRead(); if(-1 == a) { System.out.println("Y"); return i-off; } b[i] = (byte)a; } return len; } The upload works with ajp12, but unfortunately we ajp13 to access the SSL certificate. Hint: the test uses HTTP, not HTTPS!

How To Reproduce:
null

View this report online...

Reply via email to