Mistakes in exception handling HybridConnectionListener
@kalkeea 已經在處理了。
開始於 2026年1月14日。
評估
這個 Issue 還沒有評估資料。
描述
We noticed a race condition occurring after a network disruption, the HybridConnectionListener continues to loop and does not properly detect the error and commence a fresh reconnection cycle.
The reason seems to be in the wrong runtime exceptions being caught in HybridConnectionListener.java.
I also removed all unnecessary throws and replaced catch(Throwable) by more specific exception after having run the code agains our sonar setup.
I advised our Microsoft representative to run your code against a standard code checking tool such as Sonar to take this kind of mistakes out the code! See attached my version of HybridConnectionListener.java - which we updated after your dev commit of Feb 7 (== 0.3 release version).
HybridConnectionListener.java.txt
- 主要語言
- Java
- 星號
- 9
- 分支
- 15
- PR 合併指標
- 30 天內沒有已合併 PR
環境準備
這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
Azure/azure-relay-java 的其他 Issue
-
難度 4/5 3-5 天 新手友好度 30/100
Azure/azure-relay-java#113 ·
-
0.0.4 Release throws java.lang.NoSuchMethodError: java.nio.ByteBuffer.flip() on Java 8 Runtime可能重新可做 @kalkeea 於 317 天前認領,目前沒有進行中的 PR。 未關閉
Azure/azure-relay-java#87 · 已指派 1 人 ·
-
Channel Read spinning on 0 bytes, consuming 100% CPU可能重新可做 @kalkeea 於 317 天前認領,目前沒有進行中的 PR。 未關閉
Azure/azure-relay-java#84 · 已指派 1 人 ·
-
Connection timeout with running with jetty 9.4.28.v20200408可能重新可做 @kalkeea 於 317 天前認領,目前沒有進行中的 PR。 未關閉Relay
Azure/azure-relay-java#70 · 2 則留言 · 已指派 2 人 ·
-
HybridConnectionUtil does not handle requests having empty query string param可能已有人在做 @kalkeea 於 317 天前認領。 未關閉Relay
Azure/azure-relay-java#66 · 3 則留言 · 已指派 2 人 ·
查看 Azure/azure-relay-java 的全部 Issue
相似的 Issue
-
documentation good first issue help wanted
難度 1/5 1 小時以內 新手友好度 90/100
-
Attachment upload accepts a file part with no file chosen and stores an empty comp_attachment可能已有人在做 關聯的 PR 仍在進行中或已合併。 未關閉bug
難度 2/5 1-3 小時 新手友好度 75/100
eclipse-sw360/sw360#4849 ·
維護者通常 2 天內回覆
-
[Bug]: Skip cross-field checkpointing validation rules when checkpointing is disabled可能已有人在做 @hutiefang76 今天認領。 未關閉accepted bug good first issue java
難度 2/5 1-3 小時 新手友好度 72/100
Sekelenao/Flinkboot#473 · 1 則留言 ·
維護者通常 1 天內回覆
-
help wanted priority: low Review effort [1-5]: 2 status: needs-triage type: tests
難度 1/5 1-3 小時 新手友好度 86/100
carlos-emr/carlos#6433 · 1 則留言 · 1 個 reaction ·
維護者通常 1 天內回覆
-
難度 2/5 1-3 小時 新手友好度 76/100
維護者通常 2 天內回覆