grpc / grpc/grpc-java

Verify server sends grpc-accept-encoding appropriately

Aperta
#1,804 3 commenti 0 reazioni 0 assegnatari Vedi su GitHub
help wanted
Lingua principale
Java
Stelle
12.1k
Fork
4k
Merge medio
2g 17h
PR unite (30g)
37

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 per i contributori

Apri la guida per i contributori

Direzione di ricerca

No file, test, or entry point is named. Start by tracing server response-header handling for gzip-encoded requests where endStream=false, then find existing logging and coverage around grpc-accept-encoding. Done means the client detects a missing gzip value and emits a FINE message for this server misbehavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
grpc, java
Ambito
api, networking
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
42/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.