Lines Matching refs:headers

646 			if (binding->headers == NULL) {  in wsdl_soap_binding_body()
647 binding->headers = emalloc(sizeof(HashTable)); in wsdl_soap_binding_body()
648 zend_hash_init(binding->headers, 0, NULL, delete_header, 0); in wsdl_soap_binding_body()
657 if (zend_hash_add_ptr(binding->headers, key.s, h) == NULL) { in wsdl_soap_binding_body()
1483 body->headers = emalloc(sizeof(HashTable)); in sdl_deserialize_soap_body()
1484 zend_hash_init(body->headers, i, NULL, delete_header, 0); in sdl_deserialize_soap_body()
1488 sdl_deserialize_key(body->headers, tmp, in); in sdl_deserialize_soap_body()
2075 if (body->headers) { in sdl_serialize_soap_body()
2076 i = zend_hash_num_elements(body->headers); in sdl_serialize_soap_body()
2085 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(body->headers, key, tmp) { in sdl_serialize_soap_body()
2105 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(body->headers, key, tmp2) { in sdl_serialize_soap_body()
2462 static HashTable* make_persistent_sdl_function_headers(HashTable *headers, HashTable *ptr_map) in make_persistent_sdl_function_headers() argument
2471 zend_hash_init(pheaders, zend_hash_num_elements(headers), NULL, delete_header_persistent, 1); in make_persistent_sdl_function_headers()
2473 ZEND_HASH_MAP_FOREACH_STR_KEY_PTR(headers, key, tmp) { in make_persistent_sdl_function_headers()
2520 if (body->headers) { in make_persistent_sdl_soap_body()
2521 body->headers = make_persistent_sdl_function_headers(body->headers, ptr_map); in make_persistent_sdl_soap_body()
3196 smart_str headers = {0}; in get_sdl() local
3280 smart_str_appends(&headers, "User-Agent: "); in get_sdl()
3281 smart_str_appends(&headers, Z_STRVAL_P(tmp)); in get_sdl()
3282 smart_str_appends(&headers, "\r\n"); in get_sdl()
3308 has_proxy_authorization = proxy_authentication(this_ptr, &headers); in get_sdl()
3311 has_authorization = basic_authentication(this_ptr, &headers); in get_sdl()
3324 smart_str_appendl(&headers, "Connection: close\r\n", sizeof("Connection: close\r\n")-1); in get_sdl()
3327 if (headers.s && ZSTR_LEN(headers.s) > 0) { in get_sdl()
3333 http_context_headers(context, has_authorization, has_proxy_authorization, 0, &headers); in get_sdl()
3336 ZVAL_STR(&str_headers, smart_str_extract(&headers)); in get_sdl()
3504 if (body.headers) { in delete_sdl_soap_binding_function_body()
3505 zend_hash_destroy(body.headers); in delete_sdl_soap_binding_function_body()
3506 efree(body.headers); in delete_sdl_soap_binding_function_body()
3515 if (body.headers) { in delete_sdl_soap_binding_function_body_persistent()
3516 zend_hash_destroy(body.headers); in delete_sdl_soap_binding_function_body_persistent()
3517 free(body.headers); in delete_sdl_soap_binding_function_body_persistent()