The HTTP handler no longer works; browsers complain connection reset.

I've investigated, but without success.
This commit is contained in:
Simon Brooke 2025-08-30 11:26:18 +01:00
parent e1b3addcdd
commit a4bcf3c378
7 changed files with 130 additions and 5 deletions

View file

@ -28,8 +28,9 @@ clean:
rm -f core $(COMPONENTS) $(TARGETS)
install: $(TARGETS)
install --strip $(TARGETS) $(HOMEDIR)
install gild.conf $(HOMEDIR)
cd handlers; make install
test -d $(HOMEDIR) || mkdir -p $(HOMEDIR)
install -v --strip $(TARGETS) $(HOMEDIR)
install -v ../gild.conf $(HOMEDIR)
cp -r ../resources/httpd $(HOMEDIR)
cp -r ../handlers $(HOMEDIR)

View file

@ -86,7 +86,7 @@ void wrapper( int conversation, char * client_id)
/* ...execute the command (shouldn't return) */
{ /* if it did we've got an error */
sprintf( errorBuff,
"error [errno %d] whislt execing handler '%s' [%d]\n",
"error [errno %d] whilst execing handler '%s' [%d]\n",
errno, command->command, ( int)getpid()),
error( LOG_ERR);
}