mirror of
https://github.com/yhirose/cpp-httplib.git
synced 2025-05-15 09:18:27 +00:00
![]() libc++ (the implementation of the C++ standard library usually used by Clang) throws an exception for the regex used by parse_headers before this patch for certain strings. Work around this by simplifying the regex and parsing the header lines "by hand" partially. I have repro'd this problem with Xcode 11.1 which I believe uses libc++ version 8. This may be a bug in libc++ as I can't see why the regex would result in asymptotic run-time complexity for any strings. However, it may take a while for libc++ to be fixed and for everyone to migrate to it, so it makes sense to work around it in this codebase for now. |
||
---|---|---|
.. | ||
gtest | ||
www/dir | ||
www2/dir | ||
www3/dir | ||
ca-bundle.crt | ||
image.jpg | ||
Makefile | ||
test.cc | ||
test.conf | ||
test.rootCA.conf | ||
test.sln | ||
test.vcxproj |