Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
036d3e3f
Commit
036d3e3f
authored
Feb 20, 2008
by
Jean-Paul Saman
Browse files
Don't get stuck in Connect() when module is in Open() function, when it is being destroyed again.
parent
d38e2710
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/access/http.c
View file @
036d3e3f
...
...
@@ -953,6 +953,12 @@ static int Connect( access_t *p_access, int64_t i_tell )
i_status
=
0
;
free
(
psz
);
if
(
p_access
->
b_die
||
p_access
->
b_error
)
{
Disconnect
(
p_access
);
return
-
1
;
}
}
while
(
i_status
);
}
...
...
@@ -1171,6 +1177,12 @@ static int Request( access_t *p_access, int64_t i_tell )
goto
error
;
}
if
(
p_access
->
b_die
||
p_access
->
b_error
)
{
free
(
psz
);
goto
error
;
}
/* msg_Dbg( p_input, "Line=%s", psz ); */
if
(
*
psz
==
'\0'
)
{
...
...
@@ -1178,7 +1190,6 @@ static int Request( access_t *p_access, int64_t i_tell )
break
;
}
if
(
(
p
=
strchr
(
psz
,
':'
)
)
==
NULL
)
{
msg_Err
(
p_access
,
"malformed header line: %s"
,
psz
);
...
...
Write
Preview
Supports
Markdown
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