PQ61654; 4.0.3: plug-in fails to handle POST/PUT
content
Downloadable files
Abstract
PQ61654; 4.0.3: plug-in does not correctly handle chunked
request content
Download Description
USERS AFFECTED:
WebSphere® Application Server version 4.0 users of the Web server plug-in
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 plug-in would not correctly handle chunked request content causing the
request for the application to fail. The plug-in 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. Internet Explorer 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.
ERROR DESCRIPTION:
Note: This problem requires code changes in 2 components: Servlet Engine
and HTTP plug-in
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 plug-in
The request will fail If the plug-in receives a chunked request content.
The plug-in 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)
PROBLEM CONCLUSION:
Modify the plug-in processing so that it able to handle chunked POST
content.
Prerequisites
None
Installation instructions
Please review the readme for detailed installation instructions.