Open
Description
In this use case we send a file. All data are lost if the file is small, or received partially if the file is big.
How to reproduce:
const fs = require('fs')
const reader = fs.ReadStream('index.js')
const writer = fs.WriteStream('out')
const socket = require('websocket-stream')('ws://echo.websocket.org')
reader.pipe(socket).pipe(writer)
// Now compare the size of the input and output files
Node.js v8.6.0
Metadata
Metadata
Assignees
Labels
No labels