lib/curl/Adapter: catch and postpone exceptions in WriteFunction()

This fixes a std::terminate() crash in the CURL storage plugin when
PropfindOperation::OnHeaders() throws an exception after receiving a
non-207 status.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1559
This commit is contained in:
Max Kellermann
2022-07-01 12:38:49 +02:00
parent b88d1e6820
commit 5a5655b790
4 changed files with 29 additions and 1 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.23.8 (not yet released)
* storage
- curl: fix crash if web server does not understand WebDAV
ver 0.23.7 (2022/05/09)
* database