Re: small malloc diff

2021-04-08 Thread Otto Moerbeek
On Fri, Apr 09, 2021 at 07:39:05AM +0200, Theo Buehler wrote: > On Fri, Apr 09, 2021 at 07:36:35AM +0200, Otto Moerbeek wrote: > > On Thu, Apr 01, 2021 at 11:23:58AM +0200, Otto Moerbeek wrote: > > > > > Hi, > > > > > > here's a small malloc diff. Most important part is an extra internal > > > c

Re: small malloc diff

2021-04-08 Thread Theo Buehler
On Fri, Apr 09, 2021 at 07:36:35AM +0200, Otto Moerbeek wrote: > On Thu, Apr 01, 2021 at 11:23:58AM +0200, Otto Moerbeek wrote: > > > Hi, > > > > here's a small malloc diff. Most important part is an extra internal > > consistency check. I have been running this for a few week already, > > ping?

Re: small malloc diff

2021-04-08 Thread Otto Moerbeek
On Thu, Apr 01, 2021 at 11:23:58AM +0200, Otto Moerbeek wrote: > Hi, > > here's a small malloc diff. Most important part is an extra internal > consistency check. I have been running this for a few week already, ping? > > -Otto > > Index: stdlib/malloc.3 > ==

Re: rpki-client: emit number of deleted files/dirs in JSON output

2021-04-08 Thread Claudio Jeker
On Thu, Apr 08, 2021 at 07:34:00PM +, Job Snijders wrote: > Hi all, > > The below patch exposes two metrics via JSON. This will remove the need > for some rpki-client affiniadios to screen scrape rpki-client's STDOUT. > > OK? > OK claudio@ > Index: output-json.c > =

rpki-client: emit number of deleted files/dirs in JSON output

2021-04-08 Thread Job Snijders
Hi all, The below patch exposes two metrics via JSON. This will remove the need for some rpki-client affiniadios to screen scrape rpki-client's STDOUT. OK? Kind regards, Job Index: output-json.c === RCS file: /cvs/src/usr.sbin/rpk

Re: rpki-client http cleanup

2021-04-08 Thread Theo Buehler
On Thu, Apr 08, 2021 at 08:43:25PM +0200, Claudio Jeker wrote: > Also here is the last bit of the http work. This changes http_handle() and > ensures that http_nextstep() never returns 0. For http_tls_connect() this > requires a fall through to the next stage in case it returns 0. > Also http_redir

Re: rpki-client http cleanup

2021-04-08 Thread Claudio Jeker
On Thu, Apr 08, 2021 at 07:43:47PM +0200, Theo Buehler wrote: > On Thu, Apr 08, 2021 at 07:18:39PM +0200, Claudio Jeker wrote: > > On Thu, Apr 08, 2021 at 06:22:16PM +0200, Theo Buehler wrote: > > > On Thu, Apr 08, 2021 at 04:47:15PM +0200, Claudio Jeker wrote: > > > > This diff is a first step in

Re: rpki-client http cleanup

2021-04-08 Thread Theo Buehler
On Thu, Apr 08, 2021 at 07:18:39PM +0200, Claudio Jeker wrote: > On Thu, Apr 08, 2021 at 06:22:16PM +0200, Theo Buehler wrote: > > On Thu, Apr 08, 2021 at 04:47:15PM +0200, Claudio Jeker wrote: > > > This diff is a first step in tightening the code in http.c > > > It should cleanup the poll handlin

Re: rpki-client http cleanup

2021-04-08 Thread Claudio Jeker
On Thu, Apr 08, 2021 at 06:22:16PM +0200, Theo Buehler wrote: > On Thu, Apr 08, 2021 at 04:47:15PM +0200, Claudio Jeker wrote: > > This diff is a first step in tightening the code in http.c > > It should cleanup the poll handling and make adds some code to ensure that > > only expected results are

Re: rpki-client http cleanup

2021-04-08 Thread Theo Buehler
On Thu, Apr 08, 2021 at 04:47:15PM +0200, Claudio Jeker wrote: > This diff is a first step in tightening the code in http.c > It should cleanup the poll handling and make adds some code to ensure that > only expected results are returned. The goal is that http_handle() only > does IO processing and

Re: rpki-client collect childs on pipe hangup

2021-04-08 Thread Theo Buehler
On Thu, Apr 08, 2021 at 10:56:26AM +0200, Claudio Jeker wrote: > Currently when a pipe to some child is closed the main process errors out > hard. This is not great since the exit reason is not shown. > Change this to break out of the poll loop and also restructure the wait > code to use a loop whi

Re: cwm: keep pointer within window on maximize/fullscreen toggle

2021-04-08 Thread Dave Voutila
Klemens Nanni writes: > This scratch has been itching me for far too long and concerns the > funcionality behind those cwm(1) default bindings: > >CM-fToggle full-screen mode of current window. >CM-mToggle maximization of current window. >

rpki-client http cleanup

2021-04-08 Thread Claudio Jeker
This diff is a first step in tightening the code in http.c It should cleanup the poll handling and make adds some code to ensure that only expected results are returned. The goal is that http_handle() only does IO processing and http_nextstep() is used for transitions into new states. I did shuffl

Re: cwm: keep pointer within window on maximize/fullscreen toggle

2021-04-08 Thread Okan Demirmen
On Thu 2021.04.08 at 03:35 +0200, Klemens Nanni wrote: > This scratch has been itching me for far too long and concerns the > funcionality behind those cwm(1) default bindings: > >CM-fToggle full-screen mode of current window. >CM-mToggle maximizatio

rpki-client collect childs on pipe hangup

2021-04-08 Thread Claudio Jeker
Currently when a pipe to some child is closed the main process errors out hard. This is not great since the exit reason is not shown. Change this to break out of the poll loop and also restructure the wait code to use a loop which checks for both exit and signal status. I also switched rsync and pr