mirror of
https://github.com/ElectronNET/Electron.NET.git
synced 2026-02-03 21:25:13 +00:00
Socket disconnects when sending large data? #579
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nekiro on GitHub (Oct 25, 2020).
Originally assigned to: @GregorBiswanger on GitHub.
Electron version latest from nuget.
Net Core 3.1
NodeJs v12.19.0
Debug
When sending larger data through socket (Electron.IpcMain.Send), in my case array with 100 indexes every index has Item object in it, item object has like 20 properties. I think it also happens if I send small array or long string
It even happens for single string atm, what's the problem?
Steps to Reproduce:
@GregorBiswanger commented on GitHub (Oct 25, 2020):
The socket connection is then restored normally.
I'm currently working on better communication in the background.
@nekiro commented on GitHub (Oct 27, 2020):
@GregorBiswanger that's great, could you point me to the code, which is responsible for these disconnects? I would maybe try to contribute too.