You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by ma...@apache.org on 2021/09/18 13:15:20 UTC

[dubbo-go-pixiu] branch develop updated (efae1be -> f1836e0)

This is an automated email from the ASF dual-hosted git repository.

mark4z pushed a change to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go-pixiu.git.


    from efae1be  Merge pull request #248 from wongoo/develop
     new 21b4939  style: change model.HttpConnectionManager to model.HttpConnectionManagerConfig
     new 0d820e2  style: make receiver unified
     new 318964c  feat: implement cors policy
     new ed4bceb  fix: uni test
     new f2383e3  feat: make cors filter configurable
     new 30fe585  feat: make cors filter configurable
     new 34de093  style: go fmt
     new bafddfb  fix: integration test
     new f1836e0  Merge pull request #249 from MasterKenway/feat/cors-control

The 966 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 go.sum                                             |   1 +
 pkg/common/constant/http.go                        |   9 +-
 pkg/common/constant/key.go                         |   1 +
 pkg/common/extension/filter/filter_manager.go      |   6 +-
 pkg/common/http/manager.go                         |   4 +-
 pkg/common/http/manager_test.go                    |   2 +-
 pkg/common/router/router.go                        |   2 +-
 pkg/common/router/router_test.go                   |   2 +-
 pkg/config/config_load_test.go                     |   2 +-
 pkg/context/http/context.go                        |   2 +-
 pkg/filter/accesslog/access_log.go                 |  34 +++---
 pkg/filter/cors/cors.go                            | 121 +++++++++++++++++++++
 pkg/filter/header/header.go                        |  22 ++--
 pkg/filter/host/host.go                            |  20 ++--
 pkg/filter/host/host_test.go                       |   2 +-
 pkg/filter/http/apiconfig/api_config.go            |   4 +-
 pkg/filter/http/httpproxy/routerfilter.go          |  30 ++---
 pkg/filter/http/remote/call.go                     |  16 +--
 pkg/filter/metric/metric.go                        |  24 ++--
 pkg/filter/metric/metric_test.go                   |   2 +-
 pkg/filter/network/httpconnectionmanager/plugin.go |  11 +-
 pkg/filter/ratelimit/rate_limit.go                 |  12 +-
 pkg/filter/recovery/recovery.go                    |  20 ++--
 pkg/filter/response/response.go                    |  24 ++--
 pkg/model/http.go                                  |  15 +--
 pkg/pluginregistry/registry.go                     |   1 +
 pkg/server/http.go                                 |   4 +-
 pkg/server/listener.go                             |   4 +-
 samples/dubbogo/simple/body/server/app/server.go   |   2 +
 samples/http/simple/pixiu/conf.yaml                |   9 ++
 samples/http/simple/test/pixiu_test.go             |   7 ++
 31 files changed, 275 insertions(+), 140 deletions(-)
 create mode 100644 pkg/filter/cors/cors.go