Mars test framework crashes if "?>" is split across read chunks

Bug #1101674 reported by Matt Giuca
6
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.

Tags: testing

Related branches

Revision history for this message
Matt Giuca (mgiuca) wrote :

Fixed in trunk r1331.

Changed in mars:
status: Triaged → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.