curlhttpsrc: fix internal data flow error

Wang Chuan requested to merge ouchuan/gstreamer:working-2026 into main

A seek event triggers unlock and unlock_stop in curlhttpsrc, which subsequently leads to the removal of the curl handle. However, if unlock_stop is called before the removal, the state reverts back to GSTCURL_OK, resulting in an internal data flow error in _create().

This patch resolves issue #2026.

Merge request reports