fix serveGet hang

This came down to SendBytes waiting on the waitv. Nothing ever filled
it.

Only Annex.Proxy needs the waitv, and it handles filling it. So make it
optional.
This commit is contained in:
Joey Hess 2024-07-11 07:46:52 -04:00
parent 80fb5445b5
commit 3b37b9e53f
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
6 changed files with 34 additions and 45 deletions

View file

@ -31,8 +31,7 @@ Planned schedule of work:
* http server and client are working, remaining
server API endpoints need wiring up and testing.
* serveGet works as proof of concept, but is very buggy.
See commit 1e0f92a5a1ccf7ff4c51c67c27a826709a99301b
* serveGet needs to handle invalidation
* I have a file `servant.hs` in the httpproto branch that works through some
of the bytestring streaming issues.