hurl

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 6132b104325796373e89a5684344c8798d21c252
parent 64cc365aabf090ea98df3b4d450fd176fe1ea9ff
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sat,  9 Nov 2019 23:30:05 +0100

remove TODO markers, make it a comment

Diffstat:
MMakefile | 2+-
DTODO | 6------
Mhurl.c | 4++--
3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/Makefile b/Makefile @@ -42,7 +42,7 @@ uninstall: dist: clean mkdir -p ${NAME}-${VERSION} - cp -R TODO README LICENSE Makefile ${NAME}.1 \ + cp -R README LICENSE Makefile ${NAME}.1 \ ${NAME}.c arg.h ${NAME}-${VERSION} tar -cf ${NAME}-${VERSION}.tar ${NAME}-${VERSION} gzip ${NAME}-${VERSION}.tar diff --git a/TODO b/TODO @@ -1,6 +0,0 @@ -- improve man page documentation. -- separate program error with other error. -? port and test on Linux (libressl portable). -? portable version: strlcat, strlcpy -? HTTP proxy support? - diff --git a/hurl.c b/hurl.c @@ -251,7 +251,7 @@ https_request(void) /* if not 200 OK print header */ fputs(buf, stderr); fputs("\r\n\r\n", stderr); - /* TODO: exit or continue reading, probably nicer to continue read */ + /* NOTE: we are nice and keep reading (not closing) until the server is done. */ } while (1) { @@ -354,7 +354,7 @@ http_request(void) /* if not 200 OK print header */ fputs(buf, stderr); fputs("\r\n\r\n", stderr); - /* TODO: exit or continue reading, probably nicer to continue read */ + /* NOTE: we are nice and keep reading (not closing) until the server is done. */ } while (1) {