Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2127

GridFSBucket openDownloadStream positions not working.

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

      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 Unassigned
            Reporter:
            diar.kourehpaz@chasacademy.se Diar Kourehpaz
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: