Skip to content

Commit

Permalink
bugfix for relay.php
Browse files Browse the repository at this point in the history
  • Loading branch information
phuslu committed Mar 25, 2014
1 parent 49849ea commit f25e796
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/php/relay.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function php_getallheaders() {


function header_function($ch, $header) {
if (strpos(strtolower($header), 'transfer-encoding:') != 0) {
if (stripos($header, 'Transfer-Encoding:') === false) {
header($header, false);
}
return strlen($header);
Expand Down

0 comments on commit f25e796

Please sign in to comment.