Commit Graph

6 Commits

Author SHA1 Message Date
Denis Slynko
5db07f1fbc Fix issues with data races and shutdown
Description:
- Shutdown sockets on all platforms, which prevents hanging on reads after closing the socket
- Fix data races on `connectionFd_` and `serverFd_`

Issue: IAA1Y7
Signed-off-by: Denis Slynko <slynko.denis@huawei-partners.com>
2024-07-26 12:44:29 +03:00
bigtea
9c2647fcd8 fix DebuggerClientTest & DebuggerCIntClientTest & WebSocketTest
Signed-off-by: bigtea <tianqushen@huawei.com>
2024-07-05 10:22:57 +08:00
huangtianzhi
f191ac21c8 Merge branch 'master' of https://gitee.com/huangtianzhi/arkcompiler_toolchain 2024-07-03 11:37:37 +08:00
Denis Slynko
5e259a81ce Add websocket_server to inner_kits
Adding GN target `websocket_server` to inner_kits enables it to be used in runtime_core
as external dependency for ArkTS inspector

Issue: https://gitee.com/openharmony/arkcompiler_toolchain/issues/I90I4W

Testing: All required pre-merge tests passed

Change-Id: I9dbac64183fac26ea83a0cca06f899f1ea7cf53d
Signed-off-by: Denis Slynko <slynko.denis@huawei-partners.com>
2024-02-26 08:37:05 +03:00
wanghuan2022
5061f5b413 [Bug]: 修复多实例场景录制allocation高概率出现socket连接被异常断开问题
desc: 修复多实例场景录制allocation高概率出现socket连接被异常断开问题

solu:
1. recv对于EINTR错误码需要增加机制
2. 删除tracing多余日志
3. 拔数据线场景直接以recv返回值来判断,去掉isRecvFail标志位

issue: https://gitee.com/openharmony/arkcompiler_toolchain/issues/I8VLFW

Signed-off-by: wanghuan2022 <wanghuan80@huawei.com>
Change-Id: Ia226dc10f4eeb04010c272984540613a7484b986
2024-01-18 16:20:29 +08:00
Denis Slynko
385357dca4 Refactor websockets implementation
Change-Id: Ie4c159938456d5cf2d0c88c97bc93bc4e9dba1e4
Signed-off-by: Denis Slynko <slynko.denis@huawei-partners.com>
2024-01-09 09:40:08 +03:00