diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-05 18:21:38 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-07-05 18:21:38 -0500 |
commit | e03586f2cff2317efc30d8d5c39d6299ecad90bb (patch) | |
tree | 715bea0e6051568095a99ad3be15e7cd7140159e /phpBB/includes | |
parent | 4aef3d0ab9f08b1e5ad5dc776461fc425368c8db (diff) | |
parent | 7c84a12f39282b6749908f6c59962776bce10a0a (diff) | |
download | forums-e03586f2cff2317efc30d8d5c39d6299ecad90bb.tar forums-e03586f2cff2317efc30d8d5c39d6299ecad90bb.tar.gz forums-e03586f2cff2317efc30d8d5c39d6299ecad90bb.tar.bz2 forums-e03586f2cff2317efc30d8d5c39d6299ecad90bb.tar.xz forums-e03586f2cff2317efc30d8d5c39d6299ecad90bb.zip |
Merge branch 'develop-olympus' into develop
# By Andreas Fischer
# Via Andreas Fischer (1) and Nathan Guse (1)
* develop-olympus:
[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 72855af5f8..21662eb493 100644 --- a/phpBB/includes/functions_admin.php +++ b/phpBB/includes/functions_admin.php @@ -2899,7 +2899,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"); |