diff options
author | Andreas Fischer <bantu@phpbb.com> | 2013-07-03 15:31:40 +0200 |
---|---|---|
committer | Andreas Fischer <bantu@phpbb.com> | 2013-07-03 15:31:40 +0200 |
commit | 9e845d4641aa7f71ab713434a7a2e1edfd2876b4 (patch) | |
tree | a3ba2b6f7963dc3b063657b348e63e7af45825b7 /phpBB/includes/functions_admin.php | |
parent | 950a3a7d952cd361c9dc3c3ff8138b0becea6f74 (diff) | |
download | forums-9e845d4641aa7f71ab713434a7a2e1edfd2876b4.tar forums-9e845d4641aa7f71ab713434a7a2e1edfd2876b4.tar.gz forums-9e845d4641aa7f71ab713434a7a2e1edfd2876b4.tar.bz2 forums-9e845d4641aa7f71ab713434a7a2e1edfd2876b4.tar.xz forums-9e845d4641aa7f71ab713434a7a2e1edfd2876b4.zip |
[ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling.
PHPBB3-11619
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r-- | phpBB/includes/functions_admin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php index a9d1db24a5..2f73858ea2 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -3121,7 +3121,7 @@ function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port if ($fsock = @fsockopen($host, $port, $errno, $errstr, $timeout)) { - @fputs($fsock, "GET $directory/$filename HTTP/1.1\r\n"); + @fputs($fsock, "GET $directory/$filename HTTP/1.0\r\n"); @fputs($fsock, "HOST: $host\r\n"); @fputs($fsock, "Connection: close\r\n\r\n"); |