Browse Source

MF4: fix double bailout in HEAD when output is attempted from shutdown

PHP-5.1
Stanislav Malyshev 22 years ago
parent
commit
f799da0a21
  1. 3
      main/output.c

3
main/output.c

@ -698,6 +698,9 @@ PHPAPI int php_ub_body_write(const char *str, uint str_length TSRMLS_DC)
int result = 0;
if (SG(request_info).headers_only) {
if(SG(headers_sent)) {
return 0;
}
php_header(TSRMLS_C);
zend_bailout();
}

Loading…
Cancel
Save