diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-05 18:21:01 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-05 18:21:01 -0500 |
commit | 7c84a12f39282b6749908f6c59962776bce10a0a (patch) | |
tree | a3ba2b6f7963dc3b063657b348e63e7af45825b7 /phpBB/includes | |
parent | 44de24f1b8b32a5ce3391b9ef24518a6671e452d (diff) | |
parent | 9e845d4641aa7f71ab713434a7a2e1edfd2876b4 (diff) | |
download | forums-7c84a12f39282b6749908f6c59962776bce10a0a.tar forums-7c84a12f39282b6749908f6c59962776bce10a0a.tar.gz forums-7c84a12f39282b6749908f6c59962776bce10a0a.tar.bz2 forums-7c84a12f39282b6749908f6c59962776bce10a0a.tar.xz forums-7c84a12f39282b6749908f6c59962776bce10a0a.zip |
Merge remote-tracking branch 'remotes/bantu/ticket/11619' into develop-olympus
# By Andreas Fischer
# Via Andreas Fischer
* remotes/bantu/ticket/11619:
[ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling.
[ticket/11619] Some tests for get_remote_file().
Diffstat (limited to 'phpBB/includes')
-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"); |