Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
036d3e3f
Commit
036d3e3f
authored
Feb 20, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
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
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
modules/access/http.c
modules/access/http.c
+12
-1
No files found.
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
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