You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by "Alanxtl (via GitHub)" <gi...@apache.org> on 2026/06/27 04:49:31 UTC
[I] Investigate duplexHTTPCall concurrent Send and CloseAndReceive safety [dubbo-go]
Alanxtl opened a new issue, #3458:
URL: https://github.com/apache/dubbo-go/issues/3458
### Background
Dubbo-go Triple keeps a forked/modified runtime derived from connect-go under `protocol/triple/triple_protocol`. Upstream connect-go fixed a concurrency bug in v1.19.2: `Fix nil pointer deref in duplexHTTPCall under concurrent Send + CloseAndReceive` (connectrpc/connect-go#919).
Our local Triple runtime also has `duplexHTTPCall` and client stream APIs where `Send`, `CloseRequest`, `CloseResponse`, `ResponseHeader`, and `ResponseTrailer` may be used around the same stream lifecycle. This should be checked against the upstream fix instead of doing a broad connect-go upgrade.
### Scope
- Inspect `protocol/triple/triple_protocol/duplex_http_call.go` for the same concurrent `Send` + close/receive race.
- Add a focused regression test that exercises concurrent send and close/receive behavior for Triple client streams.
- Port only the relevant synchronization/lifecycle fix if the race is reproducible or structurally possible.
### Notes
This is not a request to adopt unrelated connect-go features such as HTTP GET, transport retry, or new codegen flags. The goal is only to align the runtime safety fix that matters for Dubbo-go Triple streaming.
Reference: https://github.com/connectrpc/connect-go/releases/tag/v1.19.2
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org
Re: [I] Investigate duplexHTTPCall concurrent Send and CloseAndReceive safety [dubbo-go]
Posted by "chaojixinren (via GitHub)" <gi...@apache.org>.
chaojixinren commented on issue #3458:
URL: https://github.com/apache/dubbo-go/issues/3458#issuecomment-4825385460
请让我来完成这个任务
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@dubbo.apache.org
For additional commands, e-mail: notifications-help@dubbo.apache.org