Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
bf1eb46b
Commit
bf1eb46b
authored
Sep 16, 2011
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input/curl: unlock the mutex for io_thread_call()
Fix deadlock.
parent
7e27d660
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
curl_input_plugin.c
src/input/curl_input_plugin.c
+4
-1
No files found.
src/input/curl_input_plugin.c
View file @
bf1eb46b
...
...
@@ -965,8 +965,11 @@ input_curl_read(struct input_stream *is, void *ptr, size_t size,
is
->
offset
+=
(
goffset
)
nbytes
;
#if LIBCURL_VERSION_NUM >= 0x071200
if
(
c
->
paused
&&
curl_total_buffer_size
(
c
)
<
CURL_MAX_BUFFERED
)
if
(
c
->
paused
&&
curl_total_buffer_size
(
c
)
<
CURL_MAX_BUFFERED
)
{
g_mutex_unlock
(
c
->
mutex
);
io_thread_call
(
input_curl_resume
,
c
);
g_mutex_lock
(
c
->
mutex
);
}
#endif
g_mutex_unlock
(
c
->
mutex
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment