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
50550356
Commit
50550356
authored
Sep 21, 2013
by
Martin Storsjö
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tls: Do not abort on non-fatal TLS alerts with gnutls
Signed-off-by:
Martin Storsjö
<
martin@martin.st
>
parent
c951e4b4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletion
+8
-1
tls.c
libavformat/tls.c
+8
-1
No files found.
libavformat/tls.c
View file @
50550356
...
...
@@ -72,7 +72,14 @@ static int do_tls_poll(URLContext *h, int ret)
TLSContext
*
c
=
h
->
priv_data
;
struct
pollfd
p
=
{
c
->
fd
,
0
,
0
};
#if CONFIG_GNUTLS
if
(
ret
!=
GNUTLS_E_AGAIN
&&
ret
!=
GNUTLS_E_INTERRUPTED
)
{
switch
(
ret
)
{
case
GNUTLS_E_AGAIN
:
case
GNUTLS_E_INTERRUPTED
:
break
;
case
GNUTLS_E_WARNING_ALERT_RECEIVED
:
av_log
(
h
,
AV_LOG_WARNING
,
"%s
\n
"
,
gnutls_strerror
(
ret
));
break
;
default:
av_log
(
h
,
AV_LOG_ERROR
,
"%s
\n
"
,
gnutls_strerror
(
ret
));
return
AVERROR
(
EIO
);
}
...
...
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