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
03581271
Commit
03581271
authored
Dec 20, 2015
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
https: shutdown the TLS session explicitly
parent
09854f8c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
modules/access/http/h1conn.c
modules/access/http/h1conn.c
+4
-0
modules/access/http/h2conn.c
modules/access/http/h2conn.c
+2
-0
No files found.
modules/access/http/h1conn.c
View file @
03581271
...
...
@@ -125,6 +125,7 @@ static void *vlc_h1_stream_fatal(struct vlc_h1_conn *conn)
if
(
conn
->
conn
.
tls
!=
NULL
)
{
msg_Dbg
(
CO
(
conn
),
"connection failed"
);
vlc_tls_Shutdown
(
conn
->
conn
.
tls
,
true
);
vlc_tls_Close
(
conn
->
conn
.
tls
);
conn
->
conn
.
tls
=
NULL
;
}
...
...
@@ -281,7 +282,10 @@ static void vlc_h1_conn_destroy(struct vlc_h1_conn *conn)
assert
(
conn
->
released
);
if
(
conn
->
conn
.
tls
!=
NULL
)
{
vlc_tls_Shutdown
(
conn
->
conn
.
tls
,
true
);
vlc_tls_Close
(
conn
->
conn
.
tls
);
}
free
(
conn
);
}
...
...
modules/access/http/h2conn.c
View file @
03581271
...
...
@@ -657,6 +657,8 @@ static void vlc_h2_conn_destroy(struct vlc_h2_conn *conn)
vlc_mutex_destroy
(
&
conn
->
lock
);
vlc_h2_output_destroy
(
conn
->
out
);
vlc_tls_Shutdown
(
conn
->
conn
.
tls
,
true
);
vlc_tls_Close
(
conn
->
conn
.
tls
);
free
(
conn
);
}
...
...
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