mirror of https://github.com/grpc/grpc.git
Removing Te metadata key-value pairs sent through initial or trailing metadata (#28774)
* Removing invalid Te metadata sent through initial or final metadata * tidying up code to unlaterally remove Te metadatapull/28355/head
parent
dc9e898310
commit
9b42785db2
2 changed files with 52 additions and 0 deletions
@ -0,0 +1,48 @@ |
||||
actions { |
||||
create_server { |
||||
} |
||||
} |
||||
actions { |
||||
create_channel { |
||||
target: "unix:" |
||||
channel_args { |
||||
key: "grpgrpc.max_r+ceivc.max_r+ceiv" |
||||
str: "http" |
||||
} |
||||
channel_actions { |
||||
add_n_bytes_writable: 34359738368 |
||||
add_n_bytes_readable: 34359738368 |
||||
} |
||||
} |
||||
} |
||||
actions { |
||||
create_call { |
||||
propagation_mask: 2621440 |
||||
method { |
||||
value: "htth" |
||||
} |
||||
host { |
||||
value: "http" |
||||
intern: true |
||||
} |
||||
timeout: 1935985152 |
||||
} |
||||
} |
||||
actions { |
||||
queue_batch { |
||||
operations { |
||||
send_initial_metadata { |
||||
metadata { |
||||
key { |
||||
value: "te" |
||||
} |
||||
value { |
||||
value: "invalid-value" |
||||
intern: true |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
|
Loading…
Reference in new issue