Go to file
OpenGnSys Support Team 87ece3976b handler: no need to parse trailer when processing request
No need to parse HTTP header trailer in TIP_CLIENT_PROCESSING_REQUEST.

src/handler.c:62:14: warning: variable ‘trailer’ set but not used [-Wunused-but-set-variable]
   62 |  const char *trailer, *x_redirect;
      |              ^~~~~~~

tip_client_state_recv_hdr() already validates header trailer is present.
2024-01-11 12:45:18 +01:00
src handler: no need to parse trailer when processing request 2024-01-11 12:45:18 +01:00
tests
.gitignore
COPYING
Makefile.am
README
configure.ac
tiptorrent@.service

README

1) Compile:

	make

2) Run (serving files in the local folder):

	./tiptorrent

3) Generate test file

	dd if=/dev/random of=TEST
	... ctrl-c whenever you like ...
	md5sum TEST

4) Test (on a different terminal)

	wget http://localhost:9999/TEST

   Now check that downloaded file is the same:

	md5sum TEST