# HG changeset patch # User Bryan O'Sullivan # Date 1205733544 25200 # Node ID 91ac1726730abe792b20ed6fa02874d78710583e # Parent 4b81eecc8aa2a7bab4f66efe5b9f3930925c31f1 issue 1003: send all data properly diff -r 4b81eecc8aa2 -r 91ac1726730a mercurial/httprepo.py --- 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):