[Expat-bugs] [ expat-Bugs-753375 ] infinite parsing
SourceForge.net
noreply at sourceforge.net
Thu Jun 12 10:40:58 EDT 2003
Bugs item #753375, was opened at 2003-06-12 15:50
Message generated for change (Comment added) made by mastercaster
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=753375&group_id=10127
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Gregor SIegert (mastercaster)
Assigned to: Nobody/Anonymous (nobody)
Summary: infinite parsing
Initial Comment:
Hello all,
I am receiving a SOAP response with content length >
2000 bytes, containing an array of 2 strings (2nd one
very long).
I traced the packets and found out that the response is
split into 2 TCP packets, with the second one starting
not well formed (in the middle of the second string)
I would assume TCP binds them correctly together, but
something goes wrong.
I furthermore see that I receive a infinite parsing (using
easysoap, newest version, expat 1.95.6) Smaller
responses with all the same params are ok.
Can someone help me out with this? I struggle here for
days. Maybe a hint what I could do?
Regards,
Gregor
----------------------------------------------------------------------
>Comment By: Gregor SIegert (mastercaster)
Date: 2003-06-12 16:40
Message:
Logged In: YES
user_id=764177
You could be right, I did some more digging, easysoap tries to
read 1024 Bytes from the HTTP payload and sends this to the
expat parser (while(1) loop). So they might be responsible for
the mess, because they are responsible to collect the buffer
initially. Is this error message significant for this problem? :
Error while parsing SOAP XML payload: u
----------------------------------------------------------------------
Comment By: Karl Waclawek (kwaclaw)
Date: 2003-06-12 15:56
Message:
Logged In: YES
user_id=290026
You need to be more specific. From what you tell it is
impossible to make any conclusions as to what goes wrong.
Does Expat parse correctly if you collect the complete
response in a buffer before submitting it to Expat?
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=110127&aid=753375&group_id=10127
More information about the Expat-bugs
mailing list