ports: brz Distributed version control system based on bzr

2023-06-24 Thread Alfred Morgan
bzr got deleted from openbsd ports about 2 years ago (died along with Python2). https://cvsweb.openbsd.org/ports/devel/bzr/Attic/Makefile?only_with_tag=HEAD bzr was superseded by brz but brz never made it into the openbsd ports. Who can I nudge to include this port? freebsd port -- https://www.fres

Re: slowcgi, httpd and fastcgi abnormal termination

2022-08-14 Thread Alfred Morgan
Florian, > I do hope that most people moved to fastcgi by now and maybe it's time > to shake out scripts that don't handle termination correctly? I don't think there is a "move to fastcgi" happening. Fastcgi is a complicated protocol compared to cgi. Various projects can be implemented with a simp

bug: rm -rfv nonexistant will echo

2022-08-06 Thread Alfred Morgan
rm -rfv nonexistent will echo "nonexistent" -alfred

Re: [PATCH] adds -t timeout to slowcgi

2022-06-10 Thread Alfred Morgan
I continued reading the CGI spec and a timeout is specifically mentioned in section 6.1 Response Handling: "The server MAY implement a timeout period within which data must be received from the script. If a server implementation defines such a timeout and receives no data from a script withi

Re: [PATCH] adds -t timeout to slowcgi

2022-06-10 Thread Alfred Morgan
> The connection to upstream (e.g. httpd) is closed so the client gets a 500 > error. Hmm, this isn't my experience. Possibly a slowcgi bug? My clients were getting no response, e.g.: curl: (52) Empty reply from server > But the script keeps running. Ah, I see now that the process is left to ru

[PATCH] adds -t timeout to slowcgi

2022-06-09 Thread Alfred Morgan
I think this got missed on misc@ when I posted on 5/24. I'm now reposting here in tech@ with the [PATCH] subject tag. Index: usr.sbin/slowcgi/slowcgi.8 === RCS file: /cvs/src/usr.sbin/slowcgi/slowcgi.8,v retrieving revision 1.16 diff

env -S

2022-05-28 Thread Alfred Morgan
I would like to see the non standard -S option added to env. Over the years I have come across the situation where multiple arguments are needed in the shebang line. I end up having to write a one line script that wraps the required arguments and then call that wrapper in the shebang. I'm ready to