haskell / haskell/HTTP

Uses closed connection from a proxy (e.g. squid2)

オープン
#68 コメント 13 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Haskell
スター
186
フォーク
59
PR マージ指標
30日以内にマージされた PR はありません

説明

This is related to #14, which may have not been fixed properly. When using `cabal update` built with `HTTP-4000.2.17` and using a squid2 proxy, I get `cabal: does not exist`. A friend of mine did some debugging and found out:

> it seems that cabal does a GET http://hackage.haskell.org/packages/archive/00-index.tar.gz
> squid responds with a cache hit 301 and closes the connection.
> cabal tries to use pipelining and fails
> it doesn't try a new connection

It does not happen with squid3, or perl’s `HTTP::Proxy`.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず関連する issue #14 と、このレポートで説明されている cabal update リクエストフローを確認してから、squid2 プロキシ経由で HTTP-4000.2.17 を使って失敗を再現してください。squid がキャッシュされた 301 レスポンスの後に接続を閉じても、リクエストが失敗しなくなれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
haskell
領域
networking
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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