Traffic Server
  1. Traffic Server
  2. TS-1061

TSHttpTxnServerReqHdrBytesGet in ./proxy/InkAPI.cc has an extra parameter (int *bytes) from the prototype in ./proxy/api/ts/ts.h. The extra parameter needs to be removed as it is not used.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Duplicate
    • Affects Version/s: 3.1.1, 3.0.1
    • Fix Version/s: 3.1.2
    • Component/s: Plugins
    • Labels:
    • Environment:

      Redhat Linux but it is not environment specific

    • Backport to Version:

      Description

      The definitions are:

      ./proxy/InkAPI.cc:TSHttpTxnServerReqHdrBytesGet(TSHttpTxn txnp, int *bytes)
      ./proxy/api/ts/ts.h.in: tsapi int TSHttpTxnServerReqHdrBytesGet(TSHttpTxn txnp);

      The "int * bytes" parameter is not used and means that the function does not resolve and so cannot be used.

        Activity

        Hide
        James Peach added a comment -

        Looks like this got fixed in TS-1066

        Show
        James Peach added a comment - Looks like this got fixed in TS-1066
        Hide
        Igor Galić added a comment -

        reopen for backport

        Show
        Igor Galić added a comment - reopen for backport
        Hide
        Leif Hedstrom added a comment -

        Committed on trunk, sorry for tardiness, please keep 'em bug reports coming!

        Show
        Leif Hedstrom added a comment - Committed on trunk, sorry for tardiness, please keep 'em bug reports coming!
        Hide
        Leif Hedstrom added a comment -

        I think this slipped under the radar, due to the old fix version (3.1.1 was released a while ago).

        Show
        Leif Hedstrom added a comment - I think this slipped under the radar, due to the old fix version (3.1.1 was released a while ago).

          People

          • Assignee:
            Igor Galić
            Reporter:
            Alistair Stevenson
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 1h
              1h
              Remaining:
              Remaining Estimate - 1h
              1h
              Logged:
              Time Spent - Not Specified
              Not Specified

                Development