[GH-ISSUE #2336] Mac系统的希望能加长keepalive时间间隔,并且在自动断开连接的时候重新连接能复原刚才的连接和所在位置 #1489

Open
opened 2026-02-27 00:03:44 +03:00 by kerem · 3 comments
Owner

Originally created by @Caiyinwei on GitHub (Dec 23, 2021).
Original GitHub issue: https://github.com/electerm/electerm/issues/2336

Please check known issues first

https://github.com/electerm/electerm/wiki/Know-issues

Electerm version:

Operating system(linux, macos, or windows7/8/10?):

Expected Behavior

Can you reproduce the same behavior in other terminal:

Current Behavior

Possible Solution

Steps to Reproduce

Context (Environment)

Detailed Description

Suggestions?

Originally created by @Caiyinwei on GitHub (Dec 23, 2021). Original GitHub issue: https://github.com/electerm/electerm/issues/2336 ## Please check known issues first https://github.com/electerm/electerm/wiki/Know-issues <!--- Provide some basic info --> ## Electerm version: ## Operating system(linux, macos, or windows7/8/10?): ## Expected Behavior <!--- Tell me what should happen --> ## Can you reproduce the same behavior in other terminal: <!--- If same bahavior happens in other terminal, maybe it is supposed to be like this or not a problem of terminal app --> ## Current Behavior <!--- Tell me what happens instead of the expected behavior --> ## Possible Solution <!--- Not obligatory, but suggest a fix/reason for the bug, --> ## Steps to Reproduce <!--- Provide a link to a live example, or an unambiguous set of steps to --> <!--- reproduce this bug. Include code to reproduce, if relevant --> 1. 2. 3. 4. ## Context (Environment) <!--- How has this issue affected you? What are you trying to accomplish? --> <!--- Providing context helps us come up with a solution that is most useful in the real world --> ## Detailed Description <!--- Provide a detailed description of the change or addition you are proposing --> ## Suggestions? <!--- Not a bug report, just some thoughts or suggestions? It is totally OK and welcome too -->
Author
Owner

@SekiBetu commented on GitHub (Jun 8, 2022):

这与keepalive无关,光设置TCP keepalive是无法长时间保活的,需要和windterm一样定时比如说10秒发送一个空包给服务器来保持会话活动

<!-- gh-comment-id:1149512271 --> @SekiBetu commented on GitHub (Jun 8, 2022): 这与keepalive无关,光设置TCP keepalive是无法长时间保活的,需要和windterm一样定时比如说10秒发送一个空包给服务器来保持会话活动
Author
Owner

@zxdong262 commented on GitHub (Jun 8, 2022):

这与keepalive无关,光设置TCP keepalive是无法长时间保活的,需要和windterm一样定时比如说10秒发送一个空包给服务器来保持会话活动

原来如此,我试试

<!-- gh-comment-id:1149527116 --> @zxdong262 commented on GitHub (Jun 8, 2022): > 这与keepalive无关,光设置TCP keepalive是无法长时间保活的,需要和windterm一样定时比如说10秒发送一个空包给服务器来保持会话活动 原来如此,我试试
Author
Owner

@zxdong262 commented on GitHub (Sep 21, 2023):

https://github.com/electerm/electerm/issues/2998 最新版支持设为0,这个案例设为0解决了,可以试试

<!-- gh-comment-id:1729352036 --> @zxdong262 commented on GitHub (Sep 21, 2023): https://github.com/electerm/electerm/issues/2998 最新版支持设为0,这个案例设为0解决了,可以试试
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/electerm#1489
No description provided.