Attaching the updated patch. Now tested and working on Linux and Windows. On WIN32 I had to enable non-blocking mode (FIONBIO) to be able to run connects in parallel.
Re inconsistent logging, it was already there before, I didn't change it - only the last attempt logged the host. I can change it to more consistently log the host and IP every time. Re counting, yes it's counting twice but over the same data. I will improve it to count once. I tested on my system, Ubuntu 26.04. Actually I just realized it won't work on Windows as privoxy seems to be using a blocking winsock connect! Let me check if I can improve it. Will get back to you.
Attaching the patch. Also, the changes can be seen here: https://github.com/rustyx/privoxy/pull/1/changes
Happy Eyeballs / RFC 8305 support
I need to clone 4 partitions to a larger drive, but resize only one partition, while keeping the other partitions the same. The -k1 option resizes all 4 partitions proportionally. That's not what I want. Is there a way to do it with clonezilla?