facebook / facebook/proxygen

Proxy Authentication

オープン
#531 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
C++
スター
8.4k
フォーク
1.5k
平均マージ
10分
マージ済み PR(30日)
2

説明

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.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。