Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More logs #29

Merged
merged 11 commits into from
Sep 9, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix ci
  • Loading branch information
LaurenceLiZhixin committed Sep 4, 2021
commit 4acfbbd52c87bac8784b25c0916eab4d0c771df0
4 changes: 2 additions & 2 deletions .run/go build dubbo_go-server.run.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<module name="triple" />
<working_directory value="$PROJECT_DIR$/example/dubbo/go-server" />
<envs>
<env name="CONF_PROVIDER_FILE_PATH" value="$PROJECT_DIR$/example/dubbo/go-server/conf/server.yml" />
<env name="DUBBO_GO_CONFIG_PATH" value="$PROJECT_DIR$/example/dubbo/go-server/conf/dubbogo.yml" />
</envs>
<kind value="PACKAGE" />
<filePath value="$PROJECT_DIR$/example/dubbo/go-server/server.go" />
<package value="github.com/dubbogo/triple/example/dubbo/go-server/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/example/dubbo/go-server/server.go" />
<method v="2" />
</configuration>
</component>
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
<module name="triple" />
<working_directory value="$PROJECT_DIR$/example/dubbo/go-client" />
<envs>
<env name="CONF_CONSUMER_FILE_PATH" value="$PROJECT_DIR$/example/dubbo/go-client/conf/client.yml" />
<env name="DUBBO_GO_CONFIG_PATH" value="$PROJECT_DIR$/example/dubbo/go-client/conf/dubbogo.yml" />
</envs>
<kind value="PACKAGE" />
<filePath value="$PROJECT_DIR$/example/dubbo/go-client/client.go" />
<package value="github.com/dubbogo/triple/example/dubbo/go-client/cmd" />
<directory value="$PROJECT_DIR$" />
<filePath value="$PROJECT_DIR$/example/dubbo/go-client/client.go" />
<method v="2" />
</configuration>
</component>
1 change: 1 addition & 0 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require (
go.uber.org/zap v1.16.0
google.golang.org/genproto v0.0.0-20210106152847-07624b53cd92
google.golang.org/grpc v1.36.0
github.com/satori/go.uuid v1.2.0
google.golang.org/protobuf v1.26.0
gotest.tools v2.2.0+incompatible
)
1 change: 1 addition & 0 deletions internal/http2/triple_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ func (hc *TripleController) UnaryInvoke(ctx context.Context, path string, arg, r
return *common.NewErrorWithAttachment(err, attachment)
}


headerHandler, _ := common.GetProtocolHeaderHandler(hc.option, ctx)
newHeader := http.Header{}
newHeader = headerHandler.WriteTripleReqHeaderField(newHeader)
Expand Down