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/05/28 22:33:02 UTC

[jira] [Created] (TS-2851) Cleanup iobuffer "index" types

Leif Hedstrom created TS-2851:
---------------------------------

             Summary: Cleanup iobuffer "index" types
                 Key: TS-2851
                 URL: https://issues.apache.org/jira/browse/TS-2851
             Project: Traffic Server
          Issue Type: Improvement
          Components: Core
            Reporter: Leif Hedstrom


Unfortunately (my bad...) we use int64_t's for various index types / parameters for iobuffers. This makes no sense, in some cases, it ought to just be unsigned, or size_t or some such.

The wrinkle here is that (if I recall) that sometimes we overload parameters to mean both indexes (0, 1, 2 etc.) or sizes (if negative). In those cases, if we retain that overloading, we need them to be int64_t's.



--
This message was sent by Atlassian JIRA
(v6.2#6252)