mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/11619] Use HTTP/1.0 because of lack of chunked-encoding handling.
PHPBB3-11619
This commit is contained in:
parent
950a3a7d95
commit
9e845d4641
1 changed files with 1 additions and 1 deletions
|
@ -3121,7 +3121,7 @@ function get_remote_file($host, $directory, $filename, &$errstr, &$errno, $port
|
||||||
|
|
||||||
if ($fsock = @fsockopen($host, $port, $errno, $errstr, $timeout))
|
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, "HOST: $host\r\n");
|
||||||
@fputs($fsock, "Connection: close\r\n\r\n");
|
@fputs($fsock, "Connection: close\r\n\r\n");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue