You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Leif Hedstrom (JIRA)" <ji...@apache.org> on 2014/03/06 10:50:43 UTC
[jira] [Commented] (TS-2439) next_slotnum is not recomputed
[ https://issues.apache.org/jira/browse/TS-2439?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13922226#comment-13922226 ]
Leif Hedstrom commented on TS-2439:
-----------------------------------
Any more thoughts on this? I'm not sure I'm comfortable committing this until we clarify.
> next_slotnum is not recomputed
> -------------------------------
>
> Key: TS-2439
> URL: https://issues.apache.org/jira/browse/TS-2439
> Project: Traffic Server
> Issue Type: Bug
> Components: HTTP
> Reporter: xiongzongtao
> Assignee: Leif Hedstrom
> Fix For: 5.2.0
>
> Attachments: ts_2439.diff
>
>
> in function mime_hdr_field_attach of file MIME.cc
> while (prev_slotnum < field_slotnum) // break if prev after field
> {
> if (next_dup == NULL)
> break; // no next dup, we're done
> if (next_slotnum > field_slotnum)
> break; // next dup is after us, we're done
> prev_dup = next_dup;
> prev_slotnum = next_slotnum;
> next_dup = prev_dup->m_next_dup;
> }
> in while loop above, next_slotnum is not recomputed.
--
This message was sent by Atlassian JIRA
(v6.2#6252)