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 Fred Preston <PR...@uk.ibm.com> on 2004/07/22 16:02:20 UTC
Problems with chunking
Hi All,
During testing, I discovered that the latest code does not handle
chunked messages and have had to apply the following patch to make it
work...
The reason for this patch is that recently blocking on the reception of
messages has been removed. By removing blocking, the message can be
processed quickly, but when a 'big' messages arrive, sometimes there can
be a gap between message blocks and the current code assumes that this gap
is the end of the message. By blocking only when required, small messages
still pass through quickly, but bigger, chunked messages are also
processed correctly. The code works on the assumption that as soon as a
full buffer is received, blocking is required.
Regards,
Fred Preston.