Re: [PATCH v2] i386: Make pmtimer tsc calibration not take 51 seconds to fail

2022-01-17 Thread Robbie Harwood
Javier Martinez Canillas writes: > From: Peter Jones > > On my laptop running at 2.4GHz, if I run a VM where tsc calibration > using pmtimer will fail presuming a broken pmtimer, it takes ~51 seconds > to do so (as measured with the stopwatch on my phone), with a tsc delta > of 0x1cd1c85300, or

Re: [PATCH v2] http: parse HTTP headers case-insensitive

2022-01-17 Thread Javier Moragon
>> +is_header (char *ptr, const char* name) > You might want to return a pointer to the first character in the header > value instead. That way, there would be no need to look for the ':' > character in is_header_value(). IMO that would feel strange with the current meaning of the functions. Maybe

[PATCH v2] grub-mount: Support libfuse 3

2022-01-17 Thread Fabian Vogt
libfuse 3.0.0 got released in 2016, with some API changes compared to 2.x. This commit introduces support for 3.x while keeping it compatible with 2.6 as a fallback still. To detect fuse3, switch configure over to use pkg-config, which is simpler yet more reliable than looking for library and head

Re: [PATCH v2] http: parse HTTP headers case-insensitive

2022-01-17 Thread Stephen Balousek
Hi Jamo, I like seeing these improvements to HTTP handling. I made a bunch of comments below. Hopefully one or two of them are helpful. - Steve On 1/16/2022 5:54 PM, Jamo wrote: According to https://www.ietf.org/rfc/rfc2616.txt 4.2, header names shall be case insensitive and we are now force