Searched refs:new_header (Results 1 – 1 of 1) sorted by relevance
293 zval new_header; in sdl_set_uri_credentials() local296 ZVAL_NEW_STR(&new_header, zend_string_alloc(Z_STRLEN_P(header) - (rest - s), 0)); in sdl_set_uri_credentials()297 memcpy(Z_STRVAL(new_header), Z_STRVAL_P(header), s - Z_STRVAL_P(header)); in sdl_set_uri_credentials()298 …memcpy(Z_STRVAL(new_header) + (s - Z_STRVAL_P(header)), rest, Z_STRLEN_P(header) - (rest - Z_STRVA… in sdl_set_uri_credentials()300 php_stream_context_set_option(ctx->context, "http", "header", &new_header); in sdl_set_uri_credentials()301 zval_ptr_dtor(&new_header); in sdl_set_uri_credentials()
Completed in 17 milliseconds