grpc/grpc-java

Verify server sends grpc-accept-encoding appropriately

Open

#1.804 geöffnet am 6. Mai 2016

Auf GitHub ansehen
 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Java (3.742 Forks)batch import
help wanted

Repository-Metriken

Stars
 (11.124 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 23T 22h) (43 gemergte PRs in 30 T)

Beschreibung

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.

Contributor Guide