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
8dc9156f
Commit
8dc9156f
authored
Nov 28, 2002
by
Sigmund Augdal Helberg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
increased maximums size of a http request from 256 to 1024 in order to allow
insanly long urls
parent
e2da42f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
modules/access/http.c
modules/access/http.c
+5
-5
No files found.
modules/access/http.c
View file @
8dc9156f
...
...
@@ -2,7 +2,7 @@
* http.c: HTTP access plug-in
*****************************************************************************
* Copyright (C) 2001, 2002 VideoLAN
* $Id: http.c,v 1.1
2 2002/11/28 15:18:27
sigmunau Exp $
* $Id: http.c,v 1.1
3 2002/11/28 18:16:02
sigmunau Exp $
*
* Authors: Christophe Massiot <massiot@via.ecp.fr>
*
...
...
@@ -106,7 +106,7 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell )
{
_input_socket_t
*
p_access_data
;
module_t
*
p_network
;
char
psz_buffer
[
256
];
char
psz_buffer
[
1024
];
byte_t
*
psz_parser
;
int
i_pos
,
i_returncode
,
i
,
i_size
;
char
*
psz_return_alpha
;
...
...
@@ -145,7 +145,7 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell )
p_access_data
->
psz_buffer
);
}
psz_buffer
[
sizeof
(
psz_buffer
)
-
1
]
=
'\0'
;
printf
(
psz_buffer
);
/* Send GET ... */
if
(
send
(
p_access_data
->
_socket
.
i_handle
,
psz_buffer
,
strlen
(
psz_buffer
),
0
)
==
(
-
1
)
)
...
...
@@ -281,8 +281,8 @@ static int HTTPConnect( input_thread_t * p_input, off_t i_tell )
psz_parser
++
;
}
psz_header_value
=
psz_parser
;
msg_Dbg
(
p_input
,
"found header
\"
%s: %s
\"
"
,
psz_header_name
,
psz_header_value
);
/*
msg_Dbg( p_input, "found header \"%s: %s\"",
psz_header_name, psz_header_value );*/
if
(
!
strcasecmp
(
psz_header_name
,
"Content-Length"
)
)
{
...
...
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