Proposal: Enhancement of kitexcall‘s warning info for MultiService Support #8
Labels
easy
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
When the server is running in MultiService mode, it is necessary to manually specify the
IDLServiceName
and to designate a transport protocol asTTHeader
orTTHeaderFramed
. However, there is a gap because users may neglect to specify a compatible transport protocol such asTTHeader
orTTHeaderFramed
.The possible error message is as follows:
But our error message does not provide an appropriate hint to tell the user to manually specify a transport protocol like
TTHeader
orTTHeaderFramed
.We can add a warning to
stderr
for cases where theIDLServiceName
is specified, and server is in MultiService mode(This may be guessed by error message below, since when user specifiy theIDLServiceName
, it is possible that server in not in MultiService mode) but a transport capable of carrying it is not specified, giving users a clear prompt.The text was updated successfully, but these errors were encountered: