PQ61654: PLUGIN DOESN'T CORRECTLY HANDLE CHUNKED REQUEST CONTENT.

 A fix is available

PQ61654; 4.0.3: plug-in fails to handle POST/PUT content



APAR status
Closed as program error.

Error description
Note: This problem requires code changes in
2 components: Servlet Engine and HTTP Plugin
-
Part 1: Servlet Engine Component
Defect 122932
If a chunked data sent to the servlet is greater than
10K in size the  reading of the input stream fails.
-
Part 2: HTTP Plugin
The request will fail If the plugin receives a chunked
request content .
The plugin currently only functions for POST requests
that contain a content length.
Browsers do not currently chunk POST content but
some special "clients" do and this is where you will
see this failure.
-
Error message recorded in log:
java.io.IOException: HTTP/1.1 protocol error: bad chunk
 at com.ibm.ws.http.ChunkedInputStream.readChunkLength
(ChunkedInputStream.java:90)
 at com.ibm.ws.http.ChunkedInputStream.read
(ChunkedInputStream.java:35)
 at com.ibm.ws.io.ReadStream.read
(ReadStream.java:176)
at com.ibm.servlet.engine.http11.HttpConnection.read
(HttpConnection.java:344)
at com.ibm.servlet.engine.srp.SRPConnection.read
(SRPConnection.java: 200)
at com.ibm.servlet.engine.srt.SRTInputStream.read
(SRTInputStream.java:74)
Local fix Problem summary
****************************************************************
* USERS AFFECTED: WebSphere Application Server version 4.0     *
*                 users of the webserver plugin who are        *
*                 trying to send chunked request(POST/PUT)     *
*                 content to an application.  No current       *
*                 commercial browsers try to do this so        *
*                 a special custom client would have to be     *
*                 used in order to see this.                   *
****************************************************************
* PROBLEM DESCRIPTION: The plugin would not correctly handle   *
*                      chunked request content causing the     *
*                      request for the application to fail.    *
****************************************************************
* RECOMMENDATION:                                              *
****************************************************************
The plugin was not able to handle POST content that was
sent using chunked-transfer.  As a result the request
would fail and the user would see an error.  IE and Netscape
users will not see this problem, it will only be seen when
custom clients are used that are able to chunk POST content.
Problem conclusion
Modify the plugin processing so that it it able to handle
chunked POST content.
Temporary fix Comments
APAR information
APAR number PQ61654
Reported component name WEBSPHERE AE NT
Reported component ID 5630A2201
Reported release 400
Status CLOSED PER
PE NoPE
HIPER NoHIPER
Submitted date 2002-05-29
Closed date 2002-07-23
Last modified date 2002-07-23

APAR is sysrouted FROM one or more of the following:

APAR is sysrouted TO one or more of the following:

Modules/Macros
PLUGIN          

SRLS

Fix information
Fixed component name WEBSPHERE AE NT
Fixed component ID 5630A2201

Applicable component levels
R400 PSY    UP


Document Information


Product categories: Software > Application Servers > Distributed Application & Web Servers > WebSphere Application Server > General
Operating system(s):
Software version: 400
Software edition:
Reference #: PQ61654
IBM Group: Software Group
Modified date: Jul 23, 2002