Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
remove headers for compatibility with go-micro changes
Browse files Browse the repository at this point in the history
  • Loading branch information
mier85 committed Mar 4, 2019
1 parent 588fc9e commit 13f7a62
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ public abstract class RpcHandler {
//The reason is that these headers are also then used for outgoing requests.
//If you need the incoming headers, we can create an additional bucket inside of OrangeContext to hold them.
private static final Set<String> blackListedHeaders = of("user-agent", "content-length", "content-type",
"date", "expect", "host");
"date", "expect", "host", "micro-service", "micro-endpoint", "micro-method",
"x-micro-service", "x-micro-endpoint", "x-micro-method");

public RpcHandler(MethodHandlerDictionary handlers, MetricRegistry registry,
RpcHandlerMetrics handlerMetrics, ServiceProperties serviceProperties,
Expand Down

0 comments on commit 13f7a62

Please sign in to comment.