git-annex/P2P
Joey Hess a3dab58be2
fix hang at end of PUT to proxied p2p http remote
sendExactly will now be sure to evaluate the whole lazy ByteString.

In this case, the lazy ByteString was exactly the right lenth.
But, it seems that L.take caused it to not actually be fully evaluated.

In servePut, this manifested as gather never being fully evaluated,
which caused the hang.

Very, very subtle, and horrible bug. Clearly the use of lazy ByteString
(or really just laziness) is at fault, and it would be very worth moving
to conduit or whatever to avoid this.
2024-07-26 19:50:15 -04:00
..
Http implement proxy connection pool 2024-07-26 17:03:31 -04:00
Address.hs Windows: Support long filenames in more (possibly all) of the code 2023-03-01 15:55:58 -04:00
Annex.hs Remote.Git retrieveKeyFile works with annex+http urls 2024-07-24 10:28:44 -04:00
Auth.hs
Http.hs add common parameters to generic get API 2024-07-24 20:55:58 -04:00
IO.hs fix hang at end of PUT to proxied p2p http remote 2024-07-26 19:50:15 -04:00
Protocol.hs oops 2024-07-26 13:54:37 -04:00
Proxy.hs implement proxy connection pool 2024-07-26 17:03:31 -04:00