Re: rpki-client more compliant chunked encoding support

2022-09-08 Thread Theo Buehler
On Thu, Sep 08, 2022 at 04:23:40PM +0200, Claudio Jeker wrote: > HTTP chunked encoding allows for trailer fields at the end of the > transmission. Currently rpki-client's http code does not handle them well. > > This diff changes the code so that the chunked transfer is more like the > one defined

rpki-client more compliant chunked encoding support

2022-09-08 Thread Claudio Jeker
HTTP chunked encoding allows for trailer fields at the end of the transmission. Currently rpki-client's http code does not handle them well. This diff changes the code so that the chunked transfer is more like the one defined in RFC 9112. In short the algorithm is: read and parse the chunked heade