Mercurial > hg
changeset 6289:91ac1726730a
issue 1003: send all data properly
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Sun, 16 Mar 2008 22:59:04 -0700 |
parents | 4b81eecc8aa2 |
children | 509bb4af1502 c92cf92c55a6 |
files | mercurial/httprepo.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/httprepo.py Sat Mar 15 12:42:41 2008 -0700 +++ b/mercurial/httprepo.py Sun Mar 16 22:59:04 2008 -0700 @@ -94,9 +94,9 @@ # if auth required, some data sent twice, so rewind here data.seek(0) for chunk in util.filechunkiter(data): - connection.send(self, chunk) + connection.sendall(self, chunk) else: - connection.send(self, data) + connection.sendall(self, data) return _sendfile class httpconnection(keepalive.HTTPConnection):