Skip to content
  • Jan Schmidt's avatar
    queues: Don't return negative position queries. · a6ca8dfb
    Jan Schmidt authored
    When subtracting queued data sizes from upstream queries
    in queue, queue2, downloadbuffer and typefind, clamp the
    result to not go negative, in case upstream returned
    a nonsense value that's too small (as could happen if
    upstream is estimating, or just broken)
    a6ca8dfb