Lines Matching refs:dynamic_detail
499 struct http_resource_detail_dynamic *dynamic_detail) in http2_dynamic_response() argument
533 (struct http_resource_detail *)dynamic_detail, flags, in http2_dynamic_response()
559 static int dynamic_get_del_req_v2(struct http_resource_detail_dynamic *dynamic_detail, in dynamic_get_del_req_v2() argument
574 ptr = &client->url_buffer[dynamic_detail->common.path_len]; in dynamic_get_del_req_v2()
582 ret = dynamic_detail->cb(client, status, &request_ctx, &response_ctx, in dynamic_get_del_req_v2()
583 dynamic_detail->user_data); in dynamic_get_del_req_v2()
588 ret = http2_dynamic_response(client, frame, &response_ctx, status, dynamic_detail); in dynamic_get_del_req_v2()
606 dynamic_detail->holder = NULL; in dynamic_get_del_req_v2()
611 static int dynamic_post_put_req_v2(struct http_resource_detail_dynamic *dynamic_detail, in dynamic_post_put_req_v2() argument
624 if (dynamic_detail == NULL) { in dynamic_post_put_req_v2()
651 ret = dynamic_detail->cb(client, status, &request_ctx, &response_ctx, in dynamic_post_put_req_v2()
652 dynamic_detail->user_data); in dynamic_post_put_req_v2()
661 ret = http2_dynamic_response(client, frame, &response_ctx, status, dynamic_detail); in dynamic_post_put_req_v2()
672 ret = dynamic_detail->cb(client, status, &request_ctx, &response_ctx, in dynamic_post_put_req_v2()
673 dynamic_detail->user_data); in dynamic_post_put_req_v2()
678 ret = http2_dynamic_response(client, frame, &response_ctx, status, dynamic_detail); in dynamic_post_put_req_v2()
694 HTTP_SERVER_DATA_FINAL, dynamic_detail); in dynamic_post_put_req_v2()
702 dynamic_detail->holder = NULL; in dynamic_post_put_req_v2()
709 struct http_resource_detail_dynamic *dynamic_detail, in handle_http2_dynamic_resource() argument
715 if (dynamic_detail->cb == NULL) { in handle_http2_dynamic_resource()
719 user_method = dynamic_detail->common.bitmask_of_supported_http_methods; in handle_http2_dynamic_resource()
725 if (dynamic_detail->holder != NULL && dynamic_detail->holder != client) { in handle_http2_dynamic_resource()
734 dynamic_detail->holder = client; in handle_http2_dynamic_resource()
740 return dynamic_get_del_req_v2(dynamic_detail, client); in handle_http2_dynamic_resource()
753 (struct http_resource_detail *)dynamic_detail; in handle_http2_dynamic_resource()
760 ret = dynamic_post_put_req_v2(dynamic_detail, client, true); in handle_http2_dynamic_resource()
1401 struct http_resource_detail_dynamic *dynamic_detail = in handle_http_frame_headers_end_stream() local
1408 ret = dynamic_detail->cb(client, HTTP_SERVER_DATA_FINAL, &request_ctx, in handle_http_frame_headers_end_stream()
1409 &response_ctx, dynamic_detail->user_data); in handle_http_frame_headers_end_stream()
1411 dynamic_detail->holder = NULL; in handle_http_frame_headers_end_stream()
1419 dynamic_detail); in handle_http_frame_headers_end_stream()
1420 dynamic_detail->holder = NULL; in handle_http_frame_headers_end_stream()