Files
bitcoin/src/test/util_string_tests.cpp
Matthew Zipkin 5aa3629b48 util/string: LineReader should only trim \r or \r\n
The utility can not be opinionated about CR or SP on either end of a
line it reads. That decision is up to the caller and in fact in the
case of HTTP should be allowed in some places and rejected in others.

Replace TrimStringView() with more surgical operation.
2026-06-22 05:46:37 -04:00

12 KiB