grpc/grpc-java

Verify server sends grpc-accept-encoding appropriately

Ouverte

#1 804 ouverte le 6 mai 2016

 (3 commentaires) (0 réaction) (0 personne assignée)Java (3 742 forks)batch import
help wanted

Métriques du dépôt

Stars
 (11 124 étoiles)
Métriques de merge PR
 (Merge moyen 23j 22h) (43 PRs mergées en 30 j)

Description

If the client sends a gzip-encoded request and the server responds with headers (endStream=false) that does not include grpc-accept-encoding gzip, then the client should warn. This is misbehavior on the server-side and would ideally be detected.

Although I said "warn" above, we're actually aware of servers failing to do this properly today. So initially we can use FINE and eventually swap it to warn.

Guide contributeur