a2aproject / a2aproject/a2a-java
Improve SSE implemetnation for 0.3
オープン
- 主要言語
- Java
- スター
- 490
- フォーク
- 172
- 平均マージ
- 1日 6時間
- マージ済み PR(30日)
- 55
説明
A review on https://github.com/a2aproject/a2a-java/pull/820 showed that our SSE implementation might be too naive:
The current SSE implementation incorrectly dispatches each line starting with data: as a separate message. According to the SSE specification, multiple data: lines should be buffered and concatenated (with newlines) until an empty line is encountered, at which point the complete event should be dispatched. This will cause JSON parsing failures for any multi-line payloads.
コントリビューションガイド
評価
この issue はまだ評価されていません。