grpc/grpc-java

Verify server sends grpc-accept-encoding appropriately

Open

#1804 aperta il 6 mag 2016

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Java (3742 fork)batch import
help wanted

Metriche repository

Star
 (11.124 star)
Metriche merge PR
 (Merge medio 23g 22h) (43 PR mergiate in 30 g)

Descrizione

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.

Guida contributor