You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "xiongzongtao (JIRA)" <ji...@apache.org> on 2013/12/18 11:12:06 UTC

[jira] [Created] (TS-2439) next_slotnum is not recomputed

xiongzongtao created TS-2439:
--------------------------------

             Summary: 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


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.1.4#6159)