yuanyuanxiang pushed to main at yuanyuanxiang/SimpleRemoter 2026-10-31 17:31:57 +00:00
e99092ca70 Release v1.4.2
yuanyuanxiang pushed to main at yuanyuanxiang/SimpleRemoter 2026-10-31 12:50:07 +00:00
ebc2d03290 fix(web): keep the IME bar still and the pointer honest in portrait
0a6cbbbf06 fix(web): draw the remote screen inside a fixed canvas to kill the iOS ghost lines
Compare 2 commits »
yuanyuanxiang pushed to main at yuanyuanxiang/SimpleRemoter 2026-10-30 22:41:00 +00:00
36ae4b3057 fix(client): stop the reconnect loops from spinning when the master restarts
yuanyuanxiang pushed to main at yuanyuanxiang/SimpleRemoter 2026-10-30 22:12:11 +00:00
cbb84809d8 fix(server): bind context-menu commands to the hosts the menu was opened for
96f1bacd43 fix(client): use GDI capture when the session has no interactive desktop
6a3d536d38 fix(server): keep the build dialog's default protocol at TCP
389de9d456 fix(client): fall back to GDI capture when DXGI duplication yields no frames
bc75e1ae99 fix(client): fix DXGI black screen on rotated displays and slow first frame
Compare 5 commits »
yuanyuanxiang deleted branch ws_tls from yuanyuanxiang/SimpleRemoter 2026-10-30 18:49:53 +00:00
yuanyuanxiang pushed to main at yuanyuanxiang/SimpleRemoter 2026-10-30 18:49:52 +00:00
46f4bf2dfb Fix: Make the WebSocket transport reachable and bounded on every platform
50a489e316 Fix: Close the gaps the WebSocket transport review found
99db28e2e2 Feature: Let the operator switch a live client's transport from the online list
cc891e3670 Feature: Sniff WebSocket upgrades on the MFC server's device port
d4f312c9d8 Feature: Tunnel the device protocol through a reverse proxy over WebSocket
Compare 5 commits »
yuanyuanxiang merged pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 18:49:52 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports
yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 18:22:38 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

第三次审查:可以合并

逐条核对 46f4bf2,上一轮 8 条全部有响应,另有一个我没发现的真回归被一并修掉。

验证结果

  • 客户端 DLL(Release x64):编译 + 链接通过(…
yuanyuanxiang pushed to ws_tls at yuanyuanxiang/SimpleRemoter 2026-10-30 18:15:35 +00:00
46f4bf2dfb Fix: Make the WebSocket transport reachable and bounded on every platform
yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

行级意见(对应总评「新发现」1–7)。

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

帧长没有上限。 ReadHeader 接受 8 字节扩展长度,只拦了符号位(frameLen < 0),所以对端可以声明一个接近 2^63 的帧长。

客户端是流式读(m_remaining 递减、每次最多读 len 字节),不会一次分…

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

index 与 protoType 是隐式强耦合,这次恰好对上属于巧合。

InsertStringL(index, text) 展开是 InsertString(index, _TR(text)),第一参数是插入位置,不是 item data。而…

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

会话已关时只丢发送、不推进收尾。

return FALSE 之后没有任何清理动作,注释说「由接收路径的 RemoveStaleContext 收尾」。但如果对端发完 close 帧就不再发数据(这是 close 之后的正常行为),接收路…

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

6 字节攒包改变了既有明文路径,且复用了 TLS 嗅探的缓冲。

原来 TLS_Plain 是「收到多少解析多少」,现在首包不足 6 字节就攒进 tlsPreClassify 并 return 1。登录包是 LOGIN_INFOR(远超 6…

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

返回值与副作用不一致。 这个分支已经把 s 改成了 prev_* 入口(SetServer + protoType),却 return false;而调用方 ApplyProtoSwitch(cfg, settings); 完全不看返回值。返回值从「是否用了覆…

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:59 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

protoType 为 -1 时静默退回明文。 m_conn 为空就取 -1,wsProto/wsTls 均为 false,后面完全跳过 WS 分支,也不会打任何日志。

Windows 的每条构造路径都传了 conn(ClientDll.cpp:104、…

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 17:47:46 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

二次审查:修复提交已核对通过,客户端跨平台与几处边界仍有问题

这次只审 50a489e(修复提交)和它周边,重点放在客户端稳定性与既有路径是否被改动影响。

修复提交逐条核对(10/10…

yuanyuanxiang pushed to ws_tls at yuanyuanxiang/SimpleRemoter 2026-10-30 17:11:39 +00:00
50a489e316 Fix: Close the gaps the WebSocket transport review found
yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 16:38:48 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

行级意见(对应总评里的必须修复项与建议项)。

yuanyuanxiang commented on pull request yuanyuanxiang/SimpleRemoter#5 2026-10-30 16:38:48 +00:00
Feature: WebSocket transport for clients behind restricted outbound ports

CreateThread 失败分支里 p(含其 initial vector)没有释放。TlsHandshakeThreadProc 同款位置也漏,这里是新代码把它复制了过来。补一行 delete p; 即可。