Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
f865c594
Commit
f865c594
authored
Jul 01, 2003
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* http: removed a too verbose message, make vim happier.
parent
f53fe261
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
57 additions
and
62 deletions
+57
-62
modules/misc/httpd.c
modules/misc/httpd.c
+57
-62
No files found.
modules/misc/httpd.c
View file @
f865c594
...
...
@@ -2,7 +2,7 @@
* httpd.c
*****************************************************************************
* Copyright (C) 2001-2003 VideoLAN
* $Id: httpd.c,v 1.
19 2003/07/01 09:00:50 adn
Exp $
* $Id: httpd.c,v 1.
20 2003/07/01 21:32:32 fenrir
Exp $
*
* Authors: Laurent Aimar <fenrir@via.ecp.fr>
*
...
...
@@ -1431,7 +1431,6 @@ static int httpd_UnbanIP( httpd_sys_t *p_httpt, httpd_banned_ip_t *p_banned_ip )
p_httpt
->
i_banned_ip_count
--
;
return
0
;
}
static
void
httpd_ConnnectionNew
(
httpd_sys_t
*
p_httpt
,
int
fd
,
struct
sockaddr_in
*
p_sock
)
...
...
@@ -2022,11 +2021,10 @@ static void httpd_Thread( httpd_sys_t *p_httpt )
#if defined( WIN32 ) || defined( UNDER_CE )
if
(
(
i_len
<
0
&&
WSAGetLastError
()
!=
WSAEWOULDBLOCK
)
||
if
(
(
i_len
<
0
&&
WSAGetLastError
()
!=
WSAEWOULDBLOCK
)
||
(
i_len
==
0
)
)
#else
if
(
(
i_len
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
if
(
(
i_len
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
(
i_len
==
0
)
)
#endif
(
i_len
==
0
)
)
{
httpd_connection_t
*
p_next
=
p_con
->
p_next
;
...
...
@@ -2073,11 +2071,10 @@ static void httpd_Thread( httpd_sys_t *p_httpt )
// msg_Warn( p_httpt, "on %d send %d bytes %s", p_con->i_buffer_size, i_len, p_con->p_buffer + p_con->i_buffer );
#if defined( WIN32 ) || defined( UNDER_CE )
if
(
(
i_len
<
0
&&
WSAGetLastError
()
!=
WSAEWOULDBLOCK
)
||
if
(
(
i_len
<
0
&&
WSAGetLastError
()
!=
WSAEWOULDBLOCK
)
||
(
i_len
==
0
)
)
#else
if
(
(
i_len
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
if
(
(
i_len
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
(
i_len
==
0
)
)
#endif
(
i_len
==
0
)
)
{
httpd_connection_t
*
p_next
=
p_con
->
p_next
;
...
...
@@ -2176,11 +2173,10 @@ static void httpd_Thread( httpd_sys_t *p_httpt )
i_send
=
send
(
p_con
->
fd
,
&
p_stream
->
p_buffer
[
i_pos
],
i_write
,
0
);
#if defined( WIN32 ) || defined( UNDER_CE )
if
(
(
i_send
<
0
&&
WSAGetLastError
()
!=
WSAEWOULDBLOCK
)
||
if
(
(
i_send
<
0
&&
WSAGetLastError
()
!=
WSAEWOULDBLOCK
)
||
(
i_send
==
0
)
)
#else
if
(
(
i_send
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
if
(
(
i_send
<
0
&&
errno
!=
EAGAIN
&&
errno
!=
EINTR
)
||
(
i_send
==
0
)
)
#endif
(
i_send
==
0
)
)
{
httpd_connection_t
*
p_next
=
p_con
->
p_next
;
...
...
@@ -2190,7 +2186,6 @@ static void httpd_Thread( httpd_sys_t *p_httpt )
}
else
if
(
i_send
>
0
)
{
msg_Dbg
(
p_httpt
,
"Sending %d bytes"
,
i_send
);
p_con
->
i_last_activity_date
=
mdate
();
p_con
->
i_stream_pos
+=
i_send
;
}
...
...
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