Mars test framework crashes if "?>" is split across read chunks
Bug #1101674 reported by
Matt Giuca
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mars |
Fix Committed
|
High
|
Matt Giuca |
Bug Description
The MarsSession class reads from Mars in chunks of 1024 (or less). It stops reading when it sees a "?>" in the output.
If the "?" is at the end of one chunk and the ">" is at the start of the next, it won't recognise it, so continue waiting. This results in a hang, since no more text is coming.
Related branches
To post a comment you must log in.
Fixed in trunk r1331.