Re: root cannot chown/chmod a sshfs mounted directory

2021-10-06 Thread Stuart Henderson
On 2021/10/05 01:42, Rex ford wrote: > Hello! > I may have found a bug, or an undocumented feature. > For context, > I am mounting a directory like this: > *sshfs rex@myserver:/mnt/my_mount /mnt/my_mount* > I understand that Theo disabled usermount because it's dangerous, but after > mounting a fil

Re: httpd returns full body for HEAD requests to CGI scripts

2021-10-06 Thread Ross L Richardson
Another thing... RFC 7231 [HTTP 1.1] states that, for a HEAD request, the server SHOULD send the same header fields in response to HEAD as it would for GET, except that payload headers MAY be omitted. Content-Length is such a header field. The CGI on beta.undeadly.org has been modified such that

Typo (I think) in socket.h

2021-10-06 Thread chohag
In CTL_NET_NAMES, ECMA is added as "emca" which looks like a typo even in French. The value won't be used anywhere though which is likely why it slipped through. It's been there since day one. Matthew Index: sys/sys/socket.h === RCS

Re: httpd returns full body for HEAD requests to CGI scripts

2021-10-06 Thread Sebastian Benoit
Ross L Richardson(open...@rlr.id.au) on 2021.10.06 21:48:12 +1100: > Another thing... > > RFC 7231 [HTTP 1.1] states that, for a HEAD request, the server SHOULD > send the same header fields in response to HEAD as it would for GET, > except that payload headers MAY be omitted. Content-Length is s

Re: httpd returns full body for HEAD requests to CGI scripts

2021-10-06 Thread Ross L Richardson
On Wed, Oct 06, 2021 at 08:59:34PM +0200, Sebastian Benoit wrote: > Ross L Richardson(open...@rlr.id.au) on 2021.10.06 21:48:12 +1100: > > Another thing... >[...] > > > > So, if the CGI treats HEAD the same way as GET [and returns a body], > > httpd does not add a Content-Length header. However,