Socket disconnects when sending large data? #575

Open
opened 2026-01-29 16:43:18 +00:00 by claunia · 0 comments
Owner

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:

  1. Electron.IpcMain.Send(mainWindow, "any", new string[] array { "?", "lol"});

image

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 <!-- What target are you building for? --> 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: 1. Electron.IpcMain.Send(mainWindow, "any", new string[] array { "?", "lol"}); 2. ![image](https://user-images.githubusercontent.com/14142246/97103926-f0cd3400-16af-11eb-8788-848da617118a.png)
claunia added the bug label 2026-01-29 16:43:18 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#575