Re: [dev] tlsrp: a simple TLS reverse proxy

2020-07-05 Thread Nihal Jere
> I don't think it's worth adding a dependency on libbsd > over such a simple function, and memccpy is POSIX (XSI) and accepted > for C2x. I agree. It's been a few months, but I think I thought that strlcpy was the cleanest way to go about this. > - It might be useful to have separate options for

Re: [dev] tlsrp: a simple TLS reverse proxy

2020-07-05 Thread Michael Forney
On 2020-07-05, Nihal Jere wrote: > I wrote a very simple TLS reverse proxy which can be used as a companion > to quark. Essentially, it just turns quark's HTTP into HTTPS. It depends > only on libtls (from LibreSSL) and libbsd (for strlcpy). Seems like a neat project. Have you considered using me

[dev] tlsrp: a simple TLS reverse proxy

2020-07-05 Thread Nihal Jere
Hello, I wrote a very simple TLS reverse proxy which can be used as a companion to quark. Essentially, it just turns quark's HTTP into HTTPS. It depends only on libtls (from LibreSSL) and libbsd (for strlcpy). You can read more about it here: https://nihaljere.xyz/words/tlsrp.html and clone it f

Re: [dev] [st] Use scroll with arguments

2020-07-05 Thread Mateusz Okulus
> As far as I see, its only possible to specify e.g. "scroll" but not "scroll > -m 1000" to limit the scrollback buffer size. You can try this. Look at execsh in st.c, find line using: grep -n ^execsh st.c Change: DEFAULT(args, ((char *[]) {prog, arg, NULL})); to: if(scroll) DEFAULT(ar