This repository has been archived by the owner on Mar 10, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: response for empty dir when ?stream=true
The new `ipfs-http-client` sets the `stream` option by default. When enabled, the MFS HTTP API [fails this test](https://github.com/ipfs/interface-js-ipfs-core/blob/c766dbff654fd259f7094070ee71858091898750/src/files-mfs/ls.js#L106-L112) because it waits for the first item before sending a response. Since no items are yielded and the stream ends it waits forever.
- Loading branch information