Re: [PATCH v5 04/10] test-http-server: add stub HTTP server test helper
- From
Victoria Dye <vdye@github.com>
- Date
- Jan 12, 2023, 19:57 UTC
- Message-ID
- <b5c0ba73-c1a7-293e-4594-b8ee291152de@github.com>
- In-Reply-To
- <706fb3781bd383380a7b1fd30495eb2da970b5ec.1673475190.git.gitgitgadget@gmail.com>
Matthew John Cheetham via GitGitGadget wrote:
Show 8 quoted lines
> From: Matthew John Cheetham <mjcheetham@outlook.com> > > Introduce a mini HTTP server helper that in the future will be enhanced > to provide a frontend for the git-http-backend, with support for > arbitrary authentication schemes. > > Right now, test-http-server is a pared-down copy of the git-daemon that > always returns a 501 Not Implemented response to all callers.
Between your earlier response [1] and this iteration of the patch, all of the comments from my previous review [2] have been addressed. The changes to drop the dependency on cURL also look correct to me. Thanks!
[1] https://lore.kernel.org/git/AS2PR03MB98150C33F9704D2CA10A2EF9C0FC9@AS2PR03MB9815.eurprd03.prod.outlook.com/ [2] https://lore.kernel.org/git/752da6b2-9c75-0f68-e507-cca02bf918ca@github.com/
Show 9 quoted lines
> > Signed-off-by: Matthew John Cheetham <mjcheetham@outlook.com> > --- > Makefile | 1 + > contrib/buildsystems/CMakeLists.txt | 11 +- > t/helper/.gitignore | 1 + > t/helper/test-http-server.c | 385 ++++++++++++++++++++++++++++ > 4 files changed, 396 insertions(+), 2 deletions(-) > create mode 100644 t/helper/test-http-server.c