Closed aaronjheng closed 3 months ago
@aaronjheng When you don't add Connection Multiplexing, does it work? If yes, please tell me the result.
Yes. It works.
@aaronjheng May I see the result without Connection Multiplexing?
IDL
syntax = "proto3";
option go_package = "multi/service";
package multiservice;
service ServiceA {
rpc ChatA (RequestA) returns (Reply) {}
rpc ChatAB (RequestA) returns (Reply) {}
}
service ServiceB {
rpc ChatB (RequestB) returns (Reply) {}
rpc ChatAB (RequestB) returns (Reply) {}
}
message RequestA {
string name = 1;
}
message RequestB {
string name = 1;
}
message Reply {
string message = 1;
}
Calls
clientA.ChatA
clientA.ChatAB
clientB.ChatB
clientB.ChatAB
Client
Server
@Marina-Sakai I think we could write a test case to reproduce this case. I think maybe somewhere don't handle some case correctly, because we don't have try multi service in Mux mode.
@aaronjheng @joway I reproduced this case and found a bug. I'll fix it. Thank you for your report.
@aaronjheng It's fixed in v0.9.2-rc1 version. Please go get
that version.
Describe the bug
Multiple Services 在启用 Connection Multiplexing 的情况下不能正常工作
To Reproduce
Steps to reproduce the behavior:
protobuf_multi_service
client.WithMuxConnection(1)
选项server.WithMuxTransport()
选项Server
Client
Expected behavior
Client程序能正常输出
Screenshots
Client 报错
Server 报错
Kitex version:
0.9.0
Environment:
The output of
go env
.Additional context