Uploaded image for project: 'DMC - Development'
  1. DMC - Development
  2. DMC-1101

[DAVIX] NEONRequest::readSegment always stops at line boundaries

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: davix 0.7.0
    • Component/s: Davix
    • Security Level: Public Data (This ticket is visible to anyone on the internet and will be indexed by search engines)
    • Labels:
      None

      Description

      We tweaked NEONRequest::readSegment to be able to stop early if it hits a line boundary (if the caller requests this behavior). However, it appears that this is always done:

      https://gitlab.cern.ch/dmc/davix/blob/devel/src/neon/neonrequest.cpp#L799

      I.e., stop_at_line_boundary is never used. This means there's an unfortunate side-effect in HTTPRequest::readSegment in that the method semantics completely change!

        Attachments

          Activity

            People

            Assignee:
            gbitzes Georgios Bitzes
            Reporter:
            bbockelm Brian Paul Bockelman
            Component Watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: