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
64845e08
Commit
64845e08
authored
May 22, 2002
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed HTTP input under Win32 (thanks ipkiss).
parent
9f5db9fd
Changes
4
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
321 additions
and
305 deletions
+321
-305
Makefile.opts.in
Makefile.opts.in
+1
-0
configure
configure
+305
-302
configure.in
configure.in
+2
-0
plugins/access/http.c
plugins/access/http.c
+13
-3
No files found.
Makefile.opts.in
View file @
64845e08
...
...
@@ -102,6 +102,7 @@ ggi_LDFLAGS = @ggi_LDFLAGS@
glide_LDFLAGS
=
@glide_LDFLAGS@
gnome_LDFLAGS
=
@gnome_LDFLAGS@
gtk_LDFLAGS
=
@gtk_LDFLAGS@
http_LDFLAGS
=
@http_LDFLAGS@
idctaltivec_LDFLAGS
=
@idctaltivec_LDFLAGS@
imdct_LDFLAGS
=
@imdct_LDFLAGS@
imdct3dn_LDFLAGS
=
@imdct3dn_LDFLAGS@
...
...
configure
View file @
64845e08
This diff is collapsed.
Click to expand it.
configure.in
View file @
64845e08
...
...
@@ -80,6 +80,7 @@ case x"${target_os}" in
vlc_LDFLAGS="${vlc_LDFLAGS} -lws2_32 -lnetapi32"
ipv4_LDFLAGS="${ipv4_LDFLAGS} -lws2_32"
ipv6_LDFLAGS="${ipv6_LDFLAGS} -lws2_32"
http_LDFLAGS="${http_LDFLAGS} -lws2_32"
rc_LDFLAGS="${rc_LDFLAGS} -lws2_32"
;;
x*nto*)
...
...
@@ -1702,6 +1703,7 @@ AC_SUBST(ggi_LDFLAGS)
AC_SUBST(glide_LDFLAGS)
AC_SUBST(gnome_LDFLAGS)
AC_SUBST(gtk_LDFLAGS)
AC_SUBST(http_LDFLAGS)
AC_SUBST(idctaltivec_LDFLAGS)
AC_SUBST(imdct_LDFLAGS)
AC_SUBST(imdct3dn_LDFLAGS)
...
...
plugins/access/http.c
View file @
64845e08
...
...
@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.
9 2002/05/15 13:07:18 marcari
Exp $
* $Id: http.c,v 1.
10 2002/05/22 23:11:00 massiot
Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -39,6 +39,16 @@
# include <io.h>
#endif
#ifdef WIN32
# include <winsock2.h>
# include <ws2tcpip.h>
# ifndef IN_MULTICAST
# define IN_MULTICAST(a) IN_CLASSD(a)
# endif
#else
# include <sys/socket.h>
#endif
#include "stream_control.h"
#include "input_ext-intf.h"
#include "input_ext-dec.h"
...
...
@@ -140,8 +150,8 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell )
psz_buffer
[
sizeof
(
psz_buffer
)
-
1
]
=
'\0'
;
/* Send GET ... */
if
(
write
(
p_access_data
->
_socket
.
i_handle
,
psz_buffer
,
strlen
(
psz_buffer
)
)
==
(
-
1
)
)
if
(
send
(
p_access_data
->
_socket
.
i_handle
,
psz_buffer
,
strlen
(
psz_buffer
)
,
0
)
==
(
-
1
)
)
{
intf_ErrMsg
(
"http error: cannot send request (%s)"
,
strerror
(
errno
)
);
input_FDNetworkClose
(
p_input
);
...
...
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