Re: Unimplemented httpd socket? (/var/run/httpd.sock)

2022-10-24 Thread Jason McIntyre
On Sun, Oct 23, 2022 at 10:17:20PM -0400, Dante Catalfamo wrote:
> Hey,
> 
> I was reading the httpd(8) and noticed that there's a reference to a
> socket located at `/var/run/httpd.sock'. It says it's a "UNIX-domain
> socket used for communication with httpd". I was hoping maybe it would
> be used to provide live statistics about httpd, but it's not present
> when httpd is running and I can't find any reference to it anywhere in
> the code other than where the constant is defined in `httpd.h`
> https://github.com/openbsd/src/blob/cfac8e34c1bf89a9feaa77cc4f2e409c3ee998b3/usr.sbin/httpd/httpd.h#L47.
> 
> Is this a leftover from a planned feature that never got implemented?
> 
> Thanks,
> Dante
> 

hi.

they're unused, and we've just removed the references to them.

jmc



Unimplemented httpd socket? (/var/run/httpd.sock)

2022-10-23 Thread Dante Catalfamo
Hey,

I was reading the httpd(8) and noticed that there's a reference to a
socket located at `/var/run/httpd.sock'. It says it's a "UNIX-domain
socket used for communication with httpd". I was hoping maybe it would
be used to provide live statistics about httpd, but it's not present
when httpd is running and I can't find any reference to it anywhere in
the code other than where the constant is defined in `httpd.h`
https://github.com/openbsd/src/blob/cfac8e34c1bf89a9feaa77cc4f2e409c3ee998b3/usr.sbin/httpd/httpd.h#L47.

Is this a leftover from a planned feature that never got implemented?

Thanks,
Dante