GridFSBucket openDownloadStream positions not working.

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Critical - P2
    • None
    • Affects Version/s: 3.3.0
    • Component/s: MongoDB 3.4
    • Environment:
      I am using mongoose version 5.6.9
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      So I've been struggling with this for two days now and I have no idea why it won't work. All I am trying to do is to stream an audio file from node to the client. Here is my code:
      https://pastebin.com/5syWWVtt

      this is the range header I am getting (the file size is 1598204 bytes):

      bytes=1598203-
      bytes=1598203-
      bytes=1598203-
      bytes=1598203-
      bytes=1598203-

      This must be a bug, right?

              Assignee:
              Unassigned
              Reporter:
              Diar Kourehpaz
              None
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: