git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 0/3] test-suite fixes for upcoming curl 8.18.0

From
Daniel Stenberg <daniel@haxx.se>
Date
Dec 18, 2025, 12:37 UTC
Message-ID
<613s97no-7021-pp15-79s4-302o39p7n5r8@unkk.fr>
In-Reply-To
<20251218121120.GA3252258@coredump.intra.peff.net>
On Thu, 18 Dec 2025, Jeff King wrote:
> Daniel: I'm cc-ing you in case you want to double-check that curl's behavior 
> changes are all OK before the release. I think it's mostly fine, though the 
> handling of tab versus space in the third patch is perhaps questionable.
Thanks Jeff, allow me to add my comments here on the three patches:
>  [1/3]: t5551: handle trailing slashes in expected cookies output

This is all benign. As you correctly observed, we no longer keep the "original" cookie path around and only work with the sanitized version - so that's the one stored now. It was already the one used for actual comparisons so apart from the change in storage, it *should* not cause any problems.

>  [2/3]: t5563: add missing end-of-line in HTTP header

I believe I made some code checks a little stricter: header lines MUST end with at CR or LF (or both) to be treated as a valid one. Your fix for this should be good also for older libcurl versions.

>  [3/3]: t5563: relax whitespace assumptions for unfolded headers
This one is material for me to rethink.

I had to completely change our header unfolding logic because we learned that we did not apply it early enough, so some header parsing was wrongly done on pre-unfolded data. In this process, I also changed the logic that appends the following line on the previous line. To avoid having to keep a state, I decided to just append the second line onto the first one without trying to reduce the whitespace characters to a single one.

I did not fully consider the impact this might have on users such as you. Allow me to rework that a little bit further and get the former white-space behavior back. Thanks!

-- 
  / daniel.haxx.se
Previous: Matthew John CheethamNext: Daniel Stenberg
Message 8 of 14 in “test-suite fixes for upcoming curl 8.18.0”
  1. 0/3 test-suite fixes for upcoming curl 8.18.0Jeff King, Dec 18, 2025
  2. 1/3 t5551: handle trailing slashes in expected cookies outputJeff King, Dec 18, 2025
  3. 2/3 t5563: add missing end-of-line in HTTP headerJeff King, Dec 18, 2025
  4. Matthew John CheethamDec 18, 2025
  5. Jeff KingDec 19, 2025
  6. 3/3 t5563: relax whitespace assumptions for unfolded headersJeff King, Dec 18, 2025
  7. Matthew John CheethamDec 18, 2025
  8. Daniel StenbergDec 18, 2025
  9. Daniel StenbergDec 18, 2025
  10. Jeff KingDec 19, 2025
  11. Daniel StenbergDec 19, 2025
  12. Jeff KingDec 19, 2025
  13. Junio C HamanoDec 20, 2025
  14. Jeff KingDec 19, 2025

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.