Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
6979ce05
Commit
6979ce05
authored
Mar 08, 2006
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Winsock non-blocking kludge for GnuTLS (refs #538)
parent
bb722217
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
0 deletions
+27
-0
extras/contrib/src/Makefile
extras/contrib/src/Makefile
+1
-0
extras/contrib/src/Patches/gnutls-win32.patch
extras/contrib/src/Patches/gnutls-win32.patch
+26
-0
No files found.
extras/contrib/src/Makefile
View file @
6979ce05
...
@@ -1498,6 +1498,7 @@ gnutls-$(GNUTLS_VERSION).tar.bz2:
...
@@ -1498,6 +1498,7 @@ gnutls-$(GNUTLS_VERSION).tar.bz2:
gnutls
:
gnutls-$(GNUTLS_VERSION).tar.bz2
gnutls
:
gnutls-$(GNUTLS_VERSION).tar.bz2
$(EXTRACT_BZ2)
$(EXTRACT_BZ2)
patch
-p0
< Patches/gnutls-win32.patch
.gnutls
:
gnutls .gcrypt .gpg-error
.gnutls
:
gnutls .gcrypt .gpg-error
ifdef
HAVE_WIN32
ifdef
HAVE_WIN32
...
...
extras/contrib/src/Patches/gnutls-win32.patch
0 → 100644
View file @
6979ce05
--- gnutls.orig/lib/gnutls_buffers.c 2006-03-08 18:26:31.000000000 +0100
+++ gnutls/lib/gnutls_buffers.c 2006-03-08 18:25:58.000000000 +0100
@@ -244,7 +244,11 @@
_gnutls_read_log("READ: %d returned from %d, errno=%d\n", i,
fd, errno);
+#ifdef _WIN32
+ if (WSAGetLastError() == WSAEWOULDBLOCK) {
+#else
if (errno == EAGAIN || errno == EINTR) {
+#endif
if (sizeOfPtr - left > 0) {
_gnutls_read_log("READ: returning %d bytes from %d\n",
@@ -635,7 +639,11 @@
left);
if (i == -1) {
+#ifdef _WIN32
+ if (WSAGetLastError() == WSAEWOULDBLOCK) {
+#else
if (errno == EAGAIN || errno == EINTR) {
+#endif
session->internals.record_send_buffer_prev_size +=
n - left;
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