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
9e3be9be
Commit
9e3be9be
authored
Jan 10, 2016
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gnutls: use vectorized sends on all platforms
parent
96868b69
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
modules/misc/gnutls.c
modules/misc/gnutls.c
+0
-4
No files found.
modules/misc/gnutls.c
View file @
9e3be9be
...
...
@@ -130,7 +130,6 @@ static int gnutls_Error(vlc_tls_t *tls, int val)
return
-
1
;
}
#ifdef IOV_MAX
static
ssize_t
vlc_gnutls_writev
(
gnutls_transport_ptr_t
ptr
,
const
giovec_t
*
giov
,
int
iovcnt
)
{
...
...
@@ -157,7 +156,6 @@ static ssize_t vlc_gnutls_writev (gnutls_transport_ptr_t ptr,
return
sendmsg
(
fd
,
&
msg
,
MSG_NOSIGNAL
);
}
#endif
static
ssize_t
gnutls_Send
(
vlc_tls_t
*
tls
,
const
struct
iovec
*
iov
,
unsigned
count
)
...
...
@@ -278,9 +276,7 @@ static int gnutls_SessionOpen(vlc_tls_creds_t *creds, vlc_tls_t *tls, int type,
}
gnutls_transport_set_int
(
session
,
fd
);
#ifdef IOV_MAX
gnutls_transport_set_vec_push_function
(
session
,
vlc_gnutls_writev
);
#endif
tls
->
sys
=
session
;
tls
->
writev
=
gnutls_Send
;
tls
->
recv
=
gnutls_Recv
;
...
...
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