Download raw body.
gotd: handle early client disconnections
On Sun, Jan 22, 2023 at 02:48:20PM +0100, Omar Polo wrote: > Yes, but the uid matters for the limit. The user running the tests is > the local user ("op" in my case) that is different from the one > connecting when cloning via ssh ("gotdev") so the nc "trick" to test > if gotd closes the sockets doesn't work. I see. > > It would be nice to have ways to test such things in the test suite. > > maybe we could add a separate test suite that's run as gotdev? Yes, of course. The Makefile runs as root and can launch individual test suites as any UID.
gotd: handle early client disconnections