Better error message when HTTP_PROXY is down.
- 主要言語
- Haskell
- スター
- 186
- フォーク
- 59
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Quoting https://github.com/haskell/cabal/issues/1962:
> In order to avoid #1602 I upgraded HTTP to version 4000.2.17. But I noticed a new (minor) problem: If the proxy mentioned in http_proxy is down, I get
>
> ```
> (sid)root@kirk:~# unset http_proxy
> (sid)root@kirk:~# cabal update
> Downloading the latest package list from hackage.haskell.org
> (sid)root@kirk:~# export http_proxy=http://localhost:3128/
> (sid)root@kirk:~# cabal update
> Downloading the latest package list from hackage.haskell.org
> cabal: does not exist
> # now starting the proxy
> (sid)root@kirk:~# cabal update
> Downloading the latest package list from hackage.haskell.org
> ```
>
> Certainly the error message could be more helpful.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
まず、HTTP_PROXYをlocalhost:3128のような利用できないプロキシに設定して障害を再現し、その後、HTTPパッケージのプロキシリクエストとエラー処理のエントリポイントを調査します。停止しているプロキシが、報告された情報量のない出力ではなく、役立つエラーメッセージを生成するようになれば作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- haskell
- 領域
- networking
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100