- Fixed HTTP Status code issue with ISAPI module (Zeev)
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
?? ?? 1999, Version 4.0 Beta 3
+- Fixed several problems with output buffering and HEAD requests (Zeev)
+- Fixed HTTP Status code issue with ISAPI module (Zeev)
+- Fixed a problem that prevented $GLOBALS from working properly (Zeev, Zend
+ library)
- Fixed the a problem in the resource reference counting mechanism, that
caused resources to be freed much later than they were supposed to (Zeev,
Zend library)
SLS_FETCH();
sapi_send_headers();
- zend_end_ob_buffering(1);
+ zend_end_ob_buffering(SG(request_info).headers_only?0:1);
php3_call_shutdown_functions();
if (!ob_buffer) {
return;
}
- if (SG(headers_sent)) {
+ if (SG(headers_sent) && !SG(request_info).headers_only) {
zend_body_write = zend_ub_body_write_no_header;
} else {
zend_body_write = zend_ub_body_write;