mirror of
https://github.com/php/php-src.git
synced 2025-08-18 15:08:55 +02:00
MFB: Added header_remove() (chsc at peytz dotdk, Arnaud)
This commit is contained in:
parent
f24bc6f421
commit
047870a61f
9 changed files with 300 additions and 71 deletions
|
@ -351,11 +351,8 @@ static char* sapi_cli_read_cookies(TSRMLS_D) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
static int sapi_cli_header_handler(sapi_header_struct *h, sapi_headers_struct *s TSRMLS_DC) /* {{{ */
|
||||
static int sapi_cli_header_handler(sapi_header_struct *h, sapi_header_op_enum op, sapi_headers_struct *s TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
/* free allocated header line */
|
||||
efree(h->header);
|
||||
/* avoid pushing headers into SAPI headers list */
|
||||
return 0;
|
||||
}
|
||||
/* }}} */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue