Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
561ba15c
Commit
561ba15c
authored
Aug 16, 2019
by
Błażej Szczygieł
Committed by
Jan Ekström
Apr 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavf/tls_gnutls: check for interrupt inside handshake loop
fixes #8080 Signed-off-by:
Błażej Szczygieł
<
spaz16@wp.pl
>
parent
e3c7b224
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tls_gnutls.c
libavformat/tls_gnutls.c
+5
-0
No files found.
libavformat/tls_gnutls.c
View file @
561ba15c
...
@@ -183,6 +183,11 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op
...
@@ -183,6 +183,11 @@ static int tls_open(URLContext *h, const char *uri, int flags, AVDictionary **op
gnutls_transport_set_ptr
(
p
->
session
,
c
->
tcp
);
gnutls_transport_set_ptr
(
p
->
session
,
c
->
tcp
);
gnutls_priority_set_direct
(
p
->
session
,
"NORMAL"
,
NULL
);
gnutls_priority_set_direct
(
p
->
session
,
"NORMAL"
,
NULL
);
do
{
do
{
if
(
ff_check_interrupt
(
&
h
->
interrupt_callback
))
{
ret
=
AVERROR_EXIT
;
goto
fail
;
}
ret
=
gnutls_handshake
(
p
->
session
);
ret
=
gnutls_handshake
(
p
->
session
);
if
(
gnutls_error_is_fatal
(
ret
))
{
if
(
gnutls_error_is_fatal
(
ret
))
{
ret
=
print_tls_error
(
h
,
ret
);
ret
=
print_tls_error
(
h
,
ret
);
...
...
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