Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-1.1
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-1.1
Commits
c74a2b3c
Commit
c74a2b3c
authored
Apr 27, 2003
by
Gildas Bazin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/misc/httpd.c: win32 fix for non-blocking sockets.
parent
89475796
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
modules/misc/httpd.c
modules/misc/httpd.c
+7
-2
No files found.
modules/misc/httpd.c
View file @
c74a2b3c
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* httpd.c
* httpd.c
*****************************************************************************
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.1
2 2003/04/27 03:08:36 fenrir
Exp $
* $Id: httpd.c,v 1.1
3 2003/04/27 14:11:26 gbazin
Exp $
*
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
*
...
@@ -1801,7 +1801,12 @@ static void httpd_Thread( httpd_sys_t *p_httpt )
...
@@ -1801,7 +1801,12 @@ static void httpd_Thread( httpd_sys_t *p_httpt )
p_con
->
p_buffer
+
p_con
->
i_buffer
,
p_con
->
p_buffer
+
p_con
->
i_buffer
,
p_con
->
i_buffer_size
-
p_con
->
i_buffer
,
0
);
p_con
->
i_buffer_size
-
p_con
->
i_buffer
,
0
);
if
(
(
i_len
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
#if defined( WIN32 ) || defined( UNDER_CE )
if
(
(
i_len
<
0
&&
WSAGetLastError
()
==
!
WSAEWOULDBLOCK
)
||
#else
if
(
(
i_len
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
#endif
(
i_len
==
0
)
)
(
i_len
==
0
)
)
{
{
httpd_connection_t
*
p_next
=
p_con
->
p_next
;
httpd_connection_t
*
p_next
=
p_con
->
p_next
;
...
...
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