dulwich team mailing list archive
-
dulwich team
-
Mailing list archive
-
Message #00014
Patches: decode and verify packs as they stream
I just pushed 6 new patches to my github repo:
http://github.com/dborowitz/dulwich
4471b29 Prevent server stack trace when the client request is a no-op.
c7a2465 Strip excess whitespace from capabilities lines.
04ad718 Add ReceivableProtocol that supports recv() as well as read().
3c97dff Fix read_zlib_chunks to avoid appending junk data.
65f2c56 Make the server decode a pack as it streams.
be1dfac Clean up pack.py.
dulwich/pack.py | 270
+++++++++++++++++++----------------
dulwich/protocol.py | 105 ++++++++++++++-
dulwich/repo.py | 2 +
dulwich/server.py | 139 ++++++++++++++++---
dulwich/tests/compat/test_server.py | 1 +
dulwich/tests/test_pack.py | 65 ++++++++-
dulwich/tests/test_protocol.py | 97 ++++++++++++-
dulwich/tests/test_server.py | 2 +-
dulwich/tests/test_web.py | 22 +---
dulwich/web.py | 12 +-
10 files changed, 536 insertions(+), 179 deletions(-)
Follow ups