#493 XEHttpRequest 버그 수정

This commit is contained in:
akasima 2014-03-21 17:14:10 +09:00
parent b1525b7a21
commit fcf393b4b8

View file

@ -163,7 +163,7 @@ class XEHttpRequest
$chunk_size = hexdec(fgets($sock)); $chunk_size = hexdec(fgets($sock));
if($chunk_size) if($chunk_size)
{ {
$body .= fread($sock, $chunk_size); $body .= fgets($sock, $chunk_size+1);
} }
} }
else else