socket.io-stream icon indicating copy to clipboard operation
socket.io-stream copied to clipboard

Multiple streams over a same socket

Open AaronO opened this issue 12 years ago • 5 comments

I don't really have a snippet to reproduce this yet, that'll have to wait a few days since I'm very busy on other projects (for my Startup).

In one of the applications that streams terminals over socket.io-stream, I seem to have an issue when trying to open multiple streams over the same socket.

Do you have an idea where this is coming from ?

AaronO avatar Sep 10 '13 21:09 AaronO

I have no idea yet, but we don't have enough test cases for multiple streams, so I think it can happen in some situations :(

Please tell me the detail of the problem when you can.

nkzawa avatar Sep 11 '13 15:09 nkzawa

upload multiple image at same time ?

huayun321 avatar Feb 05 '15 15:02 huayun321

I get this issue with node-webterm. As soon as I open three or more streams in parallel they all stop working.

Gottox avatar Sep 14 '15 09:09 Gottox

How can we reproduce the issue? Just sending three streams in parallel has no problem as far as I test.

nkzawa avatar Sep 14 '15 10:09 nkzawa

I've also encountered the same issue:

2020-05-08 17:14:03,334 ERROR 68491 nodejs.TypeError: Cannot read property '_read' of null (uncaughtException throw 1 times on pid:68491)
    at IOStream._read (/Users/dickeylth/dev/gitlab/edith/node_modules/[email protected]@socket.io-stream/lib/iostream.js:97:15)
    at IOStream.Readable.read (_stream_readable.js:492:10)
    at resume_ (_stream_readable.js:977:12)
    at processTicksAndRejections (internal/process/task_queues.js:81:21)

pid: 68491
hostname: bogon

I'll try to create a mvp for reproducing the issue later.

hirokith avatar May 08 '20 09:05 hirokith