facebook / facebook/proxygen

Proxy Authentication

Ouverte
#531 3 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
C++
Étoiles
8.4k
Forks
1.5k
Merge moyen
10 min
PR mergées (30 j)
2

Description

When the HTTP1xCodec generates HTTP CONNECT request and waits for a response.

And when it receives status code as 200, there should not be any body according to the protocol and its working fine.

But when the server responds with 407 Proxy Authentication Required, it may send a body with it. In this case, the codec is failing and throwing an error.

Instead of directly denying the body for HTTP CONNECT request, it can be done relative to the status code from response.

Can you modify the codec accordingly.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.