unsupported permessage-deflate parameter: "client_max_window_bits=15" from client
- Langage dominant
- Go
- Étoiles
- 5.5k
- Forks
- 372
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
If a websocket server reply with extension `permessage-deflate; client_max_window_bits=15` an error happens:
```
unsupported permessage-deflate parameter: "client_max_window_bits=15"
```
at
https://github.com/nhooyr/websocket/blob/bd07a64be6809ef46b76fff5ef7263ef7641980f/dial.go#L268-L300
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Start in dial.go around lines 268-300, where the server's permessage-deflate extension parameters are parsed. Reproduce the handshake with client_max_window_bits=15 and trace why that parameter is rejected; done means the valid server reply no longer produces the unsupported-parameter error.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- go
- Domaine
- networking
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 38/100