You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@dubbo.apache.org by GitBox <gi...@apache.org> on 2021/12/05 09:45:23 UTC
[GitHub] [dubbo-go-pixiu] ztelur opened a new pull request #315: add http2 listener for grpc proxy
ztelur opened a new pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315
<!-- Thanks for sending a pull request!
-->
**What this PR does**:
- add listener interface
- add http2 listener for grpc proxy
- change listener parameter 'filter-chains'
- add grpc proxy samples
--
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
[GitHub] [dubbo-go-pixiu] AlexStocks commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
AlexStocks commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r775859664
##########
File path: pkg/listener/http2/http2_listener.go
##########
@@ -0,0 +1,119 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package http2
+
+import (
+ "net"
+ "net/http"
+ "strconv"
+)
+
+import (
+ "golang.org/x/net/http2"
+ "golang.org/x/net/http2/h2c"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/filterchain"
+ "github.com/apache/dubbo-go-pixiu/pkg/listener"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+)
+
+func init() {
+ listener.SetListenerServiceFactory(model.ProtocolTypeHTTP2, newHttp2ListenerService)
+}
+
+type (
+ // ListenerService the facade of a listener
+ Http2ListenerService struct {
+ listener.BaseListenerService
+ listener net.Listener
+ server *http.Server
+ }
+)
+
+type handleWrapper struct {
+ fc *filterchain.FilterChain
+}
+
+type h2cWrapper struct {
+ w *handleWrapper
+ h http.Handler
+}
+
+func (h *h2cWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ h.h.ServeHTTP(w, r)
+}
+
+// 转发 grpc 的请求
+func (h *handleWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ h.fc.ServeHTTP(w, r)
+}
+
+func newHttp2ListenerService(lc *model.Listener, bs *model.Bootstrap) (listener.ListenerService, error) {
+ fc := filterchain.CreateFilterChain(lc.FilterChain, bs)
+ return &Http2ListenerService{
+ BaseListenerService: listener.BaseListenerService{
+ Config: lc,
+ FilterChain: fc,
+ },
+ listener: nil,
+ server: nil,
+ }, nil
+}
+
+func (ls Http2ListenerService) Start() error {
Review comment:
Add comment or ’nolint‘ for this func, pls.
##########
File path: pkg/listener/http2/http2_listener.go
##########
@@ -0,0 +1,119 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package http2
+
+import (
+ "net"
+ "net/http"
+ "strconv"
+)
+
+import (
+ "golang.org/x/net/http2"
+ "golang.org/x/net/http2/h2c"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/filterchain"
+ "github.com/apache/dubbo-go-pixiu/pkg/listener"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+)
+
+func init() {
+ listener.SetListenerServiceFactory(model.ProtocolTypeHTTP2, newHttp2ListenerService)
+}
+
+type (
+ // ListenerService the facade of a listener
+ Http2ListenerService struct {
+ listener.BaseListenerService
+ listener net.Listener
+ server *http.Server
+ }
+)
+
+type handleWrapper struct {
+ fc *filterchain.FilterChain
+}
+
+type h2cWrapper struct {
+ w *handleWrapper
+ h http.Handler
+}
+
+func (h *h2cWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ h.h.ServeHTTP(w, r)
+}
+
+// 转发 grpc 的请求
Review comment:
Chinese comment?
##########
File path: pkg/listener/http2/http2_listener.go
##########
@@ -0,0 +1,119 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package http2
+
+import (
+ "net"
+ "net/http"
+ "strconv"
+)
+
+import (
+ "golang.org/x/net/http2"
+ "golang.org/x/net/http2/h2c"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/filterchain"
+ "github.com/apache/dubbo-go-pixiu/pkg/listener"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+)
+
+func init() {
+ listener.SetListenerServiceFactory(model.ProtocolTypeHTTP2, newHttp2ListenerService)
+}
+
+type (
+ // ListenerService the facade of a listener
+ Http2ListenerService struct {
+ listener.BaseListenerService
+ listener net.Listener
+ server *http.Server
+ }
+)
+
+type handleWrapper struct {
+ fc *filterchain.FilterChain
+}
+
+type h2cWrapper struct {
+ w *handleWrapper
+ h http.Handler
+}
+
+func (h *h2cWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request) {
Review comment:
Add comment for this func, pls.
##########
File path: samples/dubbogo/multi/config/conf.yaml
##########
@@ -20,16 +20,12 @@
static_resources:
listeners:
- name: "net/http"
+ protocol_type: "HTTP"
address:
socket_address:
- protocol_type: "HTTP"
address: "0.0.0.0"
port: 8882
filter_chains:
- - filter_chain_match:
- domains:
- - api.dubbo.com
- - api.pixiu.com
filters:
- name: dgp.filter.httpconnectionmanager
Review comment:
as above, using its abbrevlation instead.
##########
File path: samples/grpc/server/app/server.go
##########
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package main
+
+import (
+ "context"
+ "net"
+)
+
+import (
+ "google.golang.org/grpc"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/samples/http/grpc/proto"
+)
+
+const (
+ MsgUserNotFound = "user not found"
+ MsgUserQuerySuccessfully = "user(s) query successfully"
+)
+
+// Test Cases
+// curl http://127.0.0.1:8881/api/v1/provider.UserProvider/GetUser
+// curl http://127.0.0.1:8881/api/v1/provider.UserProvider/GetUser -X POST -d '{"userId":1}'
+
+type server struct {
+ users map[int32]*proto.User
+ proto.UnimplementedUserProviderServer
+}
+
+func (s *server) GetUser(ctx context.Context, request *proto.GetUserRequest) (*proto.GetUserResponse, error) {
+ us := make([]*proto.User, 0)
+ if request.GetUserId() == 0 {
+ for i := 1; i <= 2; i++ {
+ us = append(us, s.users[int32(i)])
+ }
+ } else {
+ u, ok := s.users[request.GetUserId()]
+ if !ok {
+ return &proto.GetUserResponse{Message: MsgUserNotFound}, nil
+ }
+ us = append(us, u)
+ }
+ return &proto.GetUserResponse{Message: MsgUserQuerySuccessfully, Users: us}, nil
+}
+
+func main() {
Review comment:
as usual, the main func is always placed at the bottom.
##########
File path: pkg/server/listener_manager.go
##########
@@ -18,19 +18,24 @@
package server
import (
+ "github.com/apache/dubbo-go-pixiu/pkg/listener"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
"github.com/apache/dubbo-go-pixiu/pkg/model"
)
type ListenerManager struct {
activeListener []*model.Listener
- activeListenerService []*ListenerService
+ activeListenerService []listener.ListenerService
}
func CreateDefaultListenerManager(bs *model.Bootstrap) *ListenerManager {
Review comment:
Add comment or ’nolint‘ for this func, pls.
--
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
[GitHub] [dubbo-go-pixiu] mark4z commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
mark4z commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r767721335
##########
File path: pkg/common/grpc/manager.go
##########
@@ -0,0 +1,149 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package grpc
+
+import (
+ "context"
+ "crypto/tls"
+ "encoding/json"
+ "io/ioutil"
+ "net"
+ stdHttp "net/http"
+)
+
+import (
+ "github.com/pkg/errors"
+ "golang.org/x/net/http2"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/common/constant"
+ router2 "github.com/apache/dubbo-go-pixiu/pkg/common/router"
+ "github.com/apache/dubbo-go-pixiu/pkg/context/http"
+ pch "github.com/apache/dubbo-go-pixiu/pkg/context/http"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+ "github.com/apache/dubbo-go-pixiu/pkg/server"
+)
+
+// HttpConnectionManager network filter for http
+type GrpcConnectionManager struct {
+ config *model.GRPCConnectionManagerConfig
+ routerCoordinator *router2.RouterCoordinator
+}
+
+// CreateHttpConnectionManager create http connection manager
+func CreateGrpcConnectionManager(hcmc *model.GRPCConnectionManagerConfig, bs *model.Bootstrap) *GrpcConnectionManager {
+ hcm := &GrpcConnectionManager{config: hcmc}
+ hcm.routerCoordinator = router2.CreateRouterCoordinator(&hcmc.RouteConfig)
+ return hcm
+}
+
+// OnData receive data from listener
+func (gcm *GrpcConnectionManager) OnData(hc *pch.HttpContext) error {
+ panic("grpc connection manager OnData function shouldn't be called")
+}
+
+func (gcm *GrpcConnectionManager) ServeHTTP(w stdHttp.ResponseWriter, r *stdHttp.Request) {
+
+ ra, err := gcm.routerCoordinator.RouteByPathAndName(r.RequestURI, r.Method)
+ if err != nil {
+ w.WriteHeader(stdHttp.StatusNotFound)
+ if _, err := w.Write(constant.Default404Body); err != nil {
+ logger.Warnf("WriteWithStatus error %v", err)
+ }
+ w.Header().Add(constant.HeaderKeyContextType, constant.HeaderValueTextPlain)
+ e := errors.Errorf("Requested URL %s not found", r.RequestURI)
+ logger.Debug(e.Error())
+ // return 404
+ }
+
+ logger.Debugf("[dubbo-go-pixiu] client choose endpoint from cluster :%v", ra.Cluster)
+
+ clusterName := ra.Cluster
+ clusterManager := server.GetClusterManager()
+ endpoint := clusterManager.PickEndpoint(clusterName)
+ if endpoint == nil {
+ bt, _ := json.Marshal(http.ErrResponse{Message: "cluster not found endpoint"})
+ w.WriteHeader(stdHttp.StatusServiceUnavailable)
+ w.Write(bt)
+ return
+ }
+
+ outreq := new(stdHttp.Request)
+ *outreq = *r
+ outreq.URL.Scheme = "http"
+ outreq.URL.Host = endpoint.Address.GetAddress()
+ r2 := outreq.WithContext(context.Background())
Review comment:
Why not use stdHttp.NewRequestWithContext()
##########
File path: pkg/common/grpc/manager.go
##########
@@ -0,0 +1,149 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package grpc
+
+import (
+ "context"
+ "crypto/tls"
+ "encoding/json"
+ "io/ioutil"
+ "net"
+ stdHttp "net/http"
+)
+
+import (
+ "github.com/pkg/errors"
+ "golang.org/x/net/http2"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/common/constant"
+ router2 "github.com/apache/dubbo-go-pixiu/pkg/common/router"
+ "github.com/apache/dubbo-go-pixiu/pkg/context/http"
+ pch "github.com/apache/dubbo-go-pixiu/pkg/context/http"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+ "github.com/apache/dubbo-go-pixiu/pkg/server"
+)
+
+// HttpConnectionManager network filter for http
+type GrpcConnectionManager struct {
+ config *model.GRPCConnectionManagerConfig
+ routerCoordinator *router2.RouterCoordinator
+}
+
+// CreateHttpConnectionManager create http connection manager
+func CreateGrpcConnectionManager(hcmc *model.GRPCConnectionManagerConfig, bs *model.Bootstrap) *GrpcConnectionManager {
+ hcm := &GrpcConnectionManager{config: hcmc}
+ hcm.routerCoordinator = router2.CreateRouterCoordinator(&hcmc.RouteConfig)
+ return hcm
+}
+
+// OnData receive data from listener
+func (gcm *GrpcConnectionManager) OnData(hc *pch.HttpContext) error {
+ panic("grpc connection manager OnData function shouldn't be called")
+}
+
+func (gcm *GrpcConnectionManager) ServeHTTP(w stdHttp.ResponseWriter, r *stdHttp.Request) {
+
+ ra, err := gcm.routerCoordinator.RouteByPathAndName(r.RequestURI, r.Method)
+ if err != nil {
+ w.WriteHeader(stdHttp.StatusNotFound)
+ if _, err := w.Write(constant.Default404Body); err != nil {
+ logger.Warnf("WriteWithStatus error %v", err)
+ }
+ w.Header().Add(constant.HeaderKeyContextType, constant.HeaderValueTextPlain)
Review comment:
why modify header after w.WriteHeader
##########
File path: pkg/filterchain/filter_chain.go
##########
@@ -0,0 +1,84 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package filterchain
+
+import (
+ "net/http"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/common/constant"
+ "github.com/apache/dubbo-go-pixiu/pkg/common/extension/filter"
+ "github.com/apache/dubbo-go-pixiu/pkg/common/yaml"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+)
+
+type FilterChain struct {
+ filtersArray []filter.NetworkFilter
Review comment:
NetworkFilterChain may be better
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (998c155) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/04933a95f3cff1fd4788d1f5cb543347a5cb75a5?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (04933a9) will **increase** coverage by `0.96%`.
> The diff coverage is `9.09%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 36.78% 37.74% +0.96%
===========================================
Files 54 54
Lines 3262 3179 -83
===========================================
Hits 1200 1200
+ Misses 1938 1854 -84
- Partials 124 125 +1
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/context/http/context.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbnRleHQvaHR0cC9jb250ZXh0Lmdv) | `6.66% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `46.80% <6.25%> (-19.86%)` | :arrow_down: |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [04933a9...998c155](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] AlexStocks commented on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
AlexStocks commented on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986243367
Pls fix the problems from github action robot.
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (0848c1f) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/81c51fdd305abf20f66a60c0649496413a7e48d7?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (81c51fd) will **increase** coverage by `0.95%`.
> The diff coverage is `9.09%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 36.52% 37.47% +0.95%
===========================================
Files 54 54
Lines 3253 3170 -83
===========================================
Hits 1188 1188
+ Misses 1945 1861 -84
- Partials 120 121 +1
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/context/http/context.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbnRleHQvaHR0cC9jb250ZXh0Lmdv) | `6.66% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `46.80% <6.25%> (-19.86%)` | :arrow_down: |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [81c51fd...0848c1f](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] AlexStocks commented on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
AlexStocks commented on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-987572501
pls fix the conflicts.
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (b3d5810) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/c3fa875bf776e214cf9a6ff0cb60a41f1b597eef?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (c3fa875) will **increase** coverage by `1.06%`.
> The diff coverage is `10.41%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 38.89% 39.96% +1.06%
===========================================
Files 53 53
Lines 3121 3038 -83
===========================================
Hits 1214 1214
+ Misses 1778 1694 -84
- Partials 129 130 +1
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/context/http/context.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbnRleHQvaHR0cC9jb250ZXh0Lmdv) | `0.00% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `44.00% <10.00%> (-10.10%)` | :arrow_down: |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [c3fa875...b3d5810](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (fc61315) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/53413dfe6e3eba96886efb3f6ff87c458b44d528?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (53413df) will **increase** coverage by `1.05%`.
> The diff coverage is `12.50%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 35.99% 37.05% +1.05%
===========================================
Files 55 55
Lines 3303 3209 -94
===========================================
Hits 1189 1189
+ Misses 1994 1900 -94
Partials 120 120
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `65.71% <33.33%> (-1.94%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [53413df...fc61315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter commented on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (aec2b43) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/53413dfe6e3eba96886efb3f6ff87c458b44d528?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (53413df) will **increase** coverage by `1.05%`.
> The diff coverage is `12.50%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 35.99% 37.05% +1.05%
===========================================
Files 55 55
Lines 3303 3209 -94
===========================================
Hits 1189 1189
+ Misses 1994 1900 -94
Partials 120 120
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `65.71% <33.33%> (-1.94%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [53413df...aec2b43](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] ztelur commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
ztelur commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r777158484
##########
File path: samples/dubbogo/multi/config/conf.yaml
##########
@@ -20,16 +20,12 @@
static_resources:
listeners:
- name: "net/http"
+ protocol_type: "HTTP"
address:
socket_address:
- protocol_type: "HTTP"
address: "0.0.0.0"
port: 8882
filter_chains:
- - filter_chain_match:
- domains:
- - api.dubbo.com
- - api.pixiu.com
filters:
- name: dgp.filter.httpconnectionmanager
Review comment:
following envoy http_connection_manager. hcm or gcm for grpcconnectionmanager make too much information lost
--
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
[GitHub] [dubbo-go-pixiu] ztelur commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
ztelur commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r777315552
##########
File path: pkg/common/grpc/manager.go
##########
@@ -0,0 +1,149 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package grpc
+
+import (
+ "context"
+ "crypto/tls"
+ "encoding/json"
+ "io/ioutil"
+ "net"
+ stdHttp "net/http"
+)
+
+import (
+ "github.com/pkg/errors"
+ "golang.org/x/net/http2"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/common/constant"
+ router2 "github.com/apache/dubbo-go-pixiu/pkg/common/router"
+ "github.com/apache/dubbo-go-pixiu/pkg/context/http"
+ pch "github.com/apache/dubbo-go-pixiu/pkg/context/http"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+ "github.com/apache/dubbo-go-pixiu/pkg/server"
+)
+
+// HttpConnectionManager network filter for http
+type GrpcConnectionManager struct {
+ config *model.GRPCConnectionManagerConfig
+ routerCoordinator *router2.RouterCoordinator
+}
+
+// CreateHttpConnectionManager create http connection manager
+func CreateGrpcConnectionManager(hcmc *model.GRPCConnectionManagerConfig, bs *model.Bootstrap) *GrpcConnectionManager {
+ hcm := &GrpcConnectionManager{config: hcmc}
+ hcm.routerCoordinator = router2.CreateRouterCoordinator(&hcmc.RouteConfig)
+ return hcm
+}
+
+// OnData receive data from listener
+func (gcm *GrpcConnectionManager) OnData(hc *pch.HttpContext) error {
+ panic("grpc connection manager OnData function shouldn't be called")
+}
+
+func (gcm *GrpcConnectionManager) ServeHTTP(w stdHttp.ResponseWriter, r *stdHttp.Request) {
+
+ ra, err := gcm.routerCoordinator.RouteByPathAndName(r.RequestURI, r.Method)
+ if err != nil {
+ w.WriteHeader(stdHttp.StatusNotFound)
+ if _, err := w.Write(constant.Default404Body); err != nil {
+ logger.Warnf("WriteWithStatus error %v", err)
+ }
+ w.Header().Add(constant.HeaderKeyContextType, constant.HeaderValueTextPlain)
+ e := errors.Errorf("Requested URL %s not found", r.RequestURI)
+ logger.Debug(e.Error())
+ // return 404
+ }
+
+ logger.Debugf("[dubbo-go-pixiu] client choose endpoint from cluster :%v", ra.Cluster)
+
+ clusterName := ra.Cluster
+ clusterManager := server.GetClusterManager()
+ endpoint := clusterManager.PickEndpoint(clusterName)
+ if endpoint == nil {
+ bt, _ := json.Marshal(http.ErrResponse{Message: "cluster not found endpoint"})
+ w.WriteHeader(stdHttp.StatusServiceUnavailable)
+ w.Write(bt)
+ return
+ }
+
+ outreq := new(stdHttp.Request)
+ *outreq = *r
+ outreq.URL.Scheme = "http"
+ outreq.URL.Host = endpoint.Address.GetAddress()
+ r2 := outreq.WithContext(context.Background())
Review comment:
Done, use request.Clone function, need to deep clone for header, trailer etc.
--
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
[GitHub] [dubbo-go-pixiu] ztelur commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
ztelur commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r777158286
##########
File path: pkg/listener/http2/http2_listener.go
##########
@@ -0,0 +1,119 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package http2
+
+import (
+ "net"
+ "net/http"
+ "strconv"
+)
+
+import (
+ "golang.org/x/net/http2"
+ "golang.org/x/net/http2/h2c"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/filterchain"
+ "github.com/apache/dubbo-go-pixiu/pkg/listener"
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/pkg/model"
+)
+
+func init() {
+ listener.SetListenerServiceFactory(model.ProtocolTypeHTTP2, newHttp2ListenerService)
+}
+
+type (
+ // ListenerService the facade of a listener
+ Http2ListenerService struct {
+ listener.BaseListenerService
+ listener net.Listener
+ server *http.Server
+ }
+)
+
+type handleWrapper struct {
+ fc *filterchain.FilterChain
+}
+
+type h2cWrapper struct {
+ w *handleWrapper
+ h http.Handler
+}
+
+func (h *h2cWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ h.h.ServeHTTP(w, r)
+}
+
+// 转发 grpc 的请求
+func (h *handleWrapper) ServeHTTP(w http.ResponseWriter, r *http.Request) {
+ h.fc.ServeHTTP(w, r)
+}
+
+func newHttp2ListenerService(lc *model.Listener, bs *model.Bootstrap) (listener.ListenerService, error) {
+ fc := filterchain.CreateFilterChain(lc.FilterChain, bs)
+ return &Http2ListenerService{
+ BaseListenerService: listener.BaseListenerService{
+ Config: lc,
+ FilterChain: fc,
+ },
+ listener: nil,
+ server: nil,
+ }, nil
+}
+
+func (ls Http2ListenerService) Start() error {
Review comment:
Done
--
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
[GitHub] [dubbo-go-pixiu] ztelur commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
ztelur commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r777158304
##########
File path: samples/grpc/server/app/server.go
##########
@@ -0,0 +1,85 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package main
+
+import (
+ "context"
+ "net"
+)
+
+import (
+ "google.golang.org/grpc"
+)
+
+import (
+ "github.com/apache/dubbo-go-pixiu/pkg/logger"
+ "github.com/apache/dubbo-go-pixiu/samples/http/grpc/proto"
+)
+
+const (
+ MsgUserNotFound = "user not found"
+ MsgUserQuerySuccessfully = "user(s) query successfully"
+)
+
+// Test Cases
+// curl http://127.0.0.1:8881/api/v1/provider.UserProvider/GetUser
+// curl http://127.0.0.1:8881/api/v1/provider.UserProvider/GetUser -X POST -d '{"userId":1}'
+
+type server struct {
+ users map[int32]*proto.User
+ proto.UnimplementedUserProviderServer
+}
+
+func (s *server) GetUser(ctx context.Context, request *proto.GetUserRequest) (*proto.GetUserResponse, error) {
+ us := make([]*proto.User, 0)
+ if request.GetUserId() == 0 {
+ for i := 1; i <= 2; i++ {
+ us = append(us, s.users[int32(i)])
+ }
+ } else {
+ u, ok := s.users[request.GetUserId()]
+ if !ok {
+ return &proto.GetUserResponse{Message: MsgUserNotFound}, nil
+ }
+ us = append(us, u)
+ }
+ return &proto.GetUserResponse{Message: MsgUserQuerySuccessfully, Users: us}, nil
+}
+
+func main() {
Review comment:
Done
--
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
[GitHub] [dubbo-go-pixiu] ztelur merged pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
ztelur merged pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315
--
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
[GitHub] [dubbo-go-pixiu] AlexStocks commented on a change in pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
AlexStocks commented on a change in pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#discussion_r775858979
##########
File path: pkg/filter/network/grpcconnectionmanager/plugin.go
##########
@@ -0,0 +1,46 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package grpcconnectionmanager
Review comment:
so lang package name. maybe its abbreviation 'gcm' is better.
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (0848c1f) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/81c51fdd305abf20f66a60c0649496413a7e48d7?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (81c51fd) will **increase** coverage by `0.95%`.
> The diff coverage is `9.09%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 36.52% 37.47% +0.95%
===========================================
Files 54 54
Lines 3253 3170 -83
===========================================
Hits 1188 1188
+ Misses 1945 1861 -84
- Partials 120 121 +1
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/context/http/context.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbnRleHQvaHR0cC9jb250ZXh0Lmdv) | `6.66% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `46.80% <6.25%> (-19.86%)` | :arrow_down: |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [81c51fd...0848c1f](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5b6a11d) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/3f9c2536ae42c535164d735f746b70a2f698031e?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (3f9c253) will **increase** coverage by `0.95%`.
> The diff coverage is `9.09%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 36.52% 37.47% +0.95%
===========================================
Files 54 54
Lines 3253 3170 -83
===========================================
Hits 1188 1188
+ Misses 1945 1861 -84
- Partials 120 121 +1
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/context/http/context.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbnRleHQvaHR0cC9jb250ZXh0Lmdv) | `6.66% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `46.80% <6.25%> (-19.86%)` | :arrow_down: |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [3f9c253...5b6a11d](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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
[GitHub] [dubbo-go-pixiu] codecov-commenter edited a comment on pull request #315: add http2 listener for grpc proxy
Posted by GitBox <gi...@apache.org>.
codecov-commenter edited a comment on pull request #315:
URL: https://github.com/apache/dubbo-go-pixiu/pull/315#issuecomment-986214118
# [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#315](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (5455026) into [develop](https://codecov.io/gh/apache/dubbo-go-pixiu/commit/04933a95f3cff1fd4788d1f5cb543347a5cb75a5?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (04933a9) will **increase** coverage by `0.96%`.
> The diff coverage is `9.09%`.
[](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## develop #315 +/- ##
===========================================
+ Coverage 36.78% 37.74% +0.96%
===========================================
Files 54 54
Lines 3262 3179 -83
===========================================
Hits 1200 1200
+ Misses 1938 1854 -84
- Partials 124 125 +1
```
| [Impacted Files](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [pkg/common/extension/filter/filter.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9leHRlbnNpb24vZmlsdGVyL2ZpbHRlci5nbw==) | `29.16% <ø> (ø)` | |
| [pkg/context/http/context.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbnRleHQvaHR0cC9jb250ZXh0Lmdv) | `6.66% <ø> (ø)` | |
| [pkg/listener/listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2xpc3RlbmVyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/server/listener\_manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL3NlcnZlci9saXN0ZW5lcl9tYW5hZ2VyLmdv) | `0.00% <0.00%> (ø)` | |
| [pkg/common/http/manager.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9odHRwL21hbmFnZXIuZ28=) | `46.80% <6.25%> (-19.86%)` | :arrow_down: |
| [pkg/common/router/router.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbW1vbi9yb3V0ZXIvcm91dGVyLmdv) | `68.62% <28.57%> (-5.85%)` | :arrow_down: |
| [pkg/config/config\_load.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2NvbmZpZy9jb25maWdfbG9hZC5nbw==) | `68.81% <33.33%> (ø)` | |
| [pkg/listener/http/http\_listener.go](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-cGtnL2xpc3RlbmVyL2h0dHAvaHR0cF9saXN0ZW5lci5nbw==) | | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [04933a9...5455026](https://codecov.io/gh/apache/dubbo-go-pixiu/pull/315?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
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