1
0
mirror of synced 2025-04-21 22:25:55 +03:00
Matthew DeVore bf7700d192
Fix exception that occurs with libc++ regex engine (#368)
The regex that parses header lines potentially causes an unlimited
amount of backtracking, which can cause an exception in the libc++ regex
engine.

The exception that occurs looks like this and is identical to the
message of the exception fixed in
https://github.com/yhirose/cpp-httplib/pull/280:

	libc++abi.dylib: terminating with uncaught exception of type
	std::__1::regex_error: The complexity of an attempted match
	against a regular expression exceeded a pre-set level.

This commit eliminates the problematic backtracking.
2020-02-28 06:31:39 -05:00
..
2019-09-03 17:16:16 -04:00
2020-01-16 23:28:11 -05:00
2020-01-21 09:09:05 -05:00
2019-11-29 17:07:51 -05:00
2019-11-29 17:07:51 -05:00
2017-12-29 22:34:59 -05:00
2019-12-22 21:07:26 -05:00
2020-01-03 07:57:40 -05:00
2013-07-04 18:18:52 -04:00
2019-09-26 13:20:53 -04:00