mercurial/__init__.py
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
Sun, 30 Apr 2006 18:50:53 +0200
changeset 2161 12e11413ca19
parent 0 9117c6561b0b
permissions -rw-r--r--
Fix just introduced possible old-http bug My last patch changed httprangereader.read to read only the specified amount of data from the connection, to prevent it from returning more than what was asked. I just realized that this could lead to the connection not being closed. In practice, it looks like the connection is closed just fine, but it's probably safer to read everything and then return only what's necessary.