You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@axis.apache.org by John Hawkins <HA...@uk.ibm.com> on 2004/04/16 18:54:00 UTC

fix for HTTP 1.1 chunking




Hi folks,

fix for 1.1. chunking. This is not tested too hard, because I don't have
many test cases. I would ask again - do we have any testsuite that I can
get up and running easily. I like to run against WebSphere Application
server so Java services would be good :-) As this has not been tested too
hard - can someone out there try it out too please?

(See attached file: HttpTransport.cpp)

The methods that are changed are:
GetPayLoad - now calls new method getChunkedPayload after getting the
complete body as before.
New method - "GetChunkedPayload" takes in the complete chunked payload and
returns the unchunked data.
New method - "axtoi" which takes in a hex in the form of a string and
returns back an int (used to work out the size of the chunk)

I'm not a committer so can someone else put this into the build please?

cheers for now,
John.

John Hawkins,


Tel:
Internal:  (7) 24-7131
External: (+44 ) (0) 1962 817131

Mailpoint 188,
IBM UK,
Hursley Park,
Winchester,
UK.
SO21 2JN