Closed Bug 94742 Opened 25 years ago Closed 25 years ago

header parsing regression

Categories

(Core :: Networking: HTTP, defect, P1)

defect

Tracking

()

VERIFIED FIXED
mozilla0.9.2

People

(Reporter: darin.moz, Assigned: darin.moz)

References

()

Details

(Keywords: regression, topembed, Whiteboard: r=bbaetz, sr=mscott, verified-on-trunk)

Attachments

(3 files)

i've noticed on several occasions a failure to correctly parse the status line. it appears that the status line is being treated as a response header in some cases. this may explain why some pages don't finish loading, etc.
Severity: normal → major
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla0.9.4
backed out this portion of bbaetz's fix for bug 89365: if (!mHaveStatusLine && mLineBuf.Last() == '\n') { // status lines aren't foldable, so don't try. See bug 89365 ParseLine(NS_CONST_CAST(char*,mLineBuf.get())); } and the problem went away.
Keywords: regression
r=bbaetz. oops.
my patch makes it so that we only check for a leading ' ' or '\t' if we already have the status line. in this way, we prevent allowing folded status lines as was the point of bug 89365.
Keywords: topembed
Keywords: patch
Whiteboard: r=bbaetz, sr=?
sr=mscott
Whiteboard: r=bbaetz, sr=? → r=bbaetz, sr=mscott, fixed-on-trunk
Target Milestone: mozilla0.9.4 → ---
fixed-on-trunk
tever@netscape.com, has it beeen verified on the trunk? If yes, please change the status summary and let's land on the 0.9.2 branch.
verified on trunk: Win NT4 2001081303 Linux rh6 2001081308 Mac os9 2001081408
Whiteboard: r=bbaetz, sr=mscott, fixed-on-trunk → r=bbaetz, sr=mscott, verified-on-trunk
Target Milestone: --- → mozilla0.9.2
fixed-on-branch
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: