Lines Matching refs:client_ptr

142 UINT  _nxe_web_http_client_create(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *client_name, NX_IP *ip_ptr,…  in _nxe_web_http_client_create()  argument
151 … (client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id == NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_create()
163 status = _nx_web_http_client_create(client_ptr, client_name, ip_ptr, pool_ptr, window_size); in _nxe_web_http_client_create()
216 UINT _nx_web_http_client_create(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *client_name, NX_IP *ip_ptr, … in _nx_web_http_client_create() argument
223 memset((void *) client_ptr, 0, sizeof(NX_WEB_HTTP_CLIENT)); in _nx_web_http_client_create()
226 status = nx_tcp_socket_create(ip_ptr, &(client_ptr -> nx_web_http_client_socket), client_name, in _nx_web_http_client_create()
239 client_ptr -> nx_web_http_client_name = client_name; in _nx_web_http_client_create()
242 client_ptr -> nx_web_http_client_ip_ptr = ip_ptr; in _nx_web_http_client_create()
245 client_ptr -> nx_web_http_client_packet_pool_ptr = pool_ptr; in _nx_web_http_client_create()
248 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_create()
251 client_ptr -> nx_web_http_client_method = NX_WEB_HTTP_METHOD_NONE; in _nx_web_http_client_create()
254 client_ptr -> nx_web_http_client_id = NX_WEB_HTTP_CLIENT_ID; in _nx_web_http_client_create()
257 client_ptr -> nx_web_http_client_connect_port = NX_WEB_HTTP_SERVER_PORT; in _nx_web_http_client_create()
305 UINT _nxe_web_http_client_delete(NX_WEB_HTTP_CLIENT *client_ptr) in _nxe_web_http_client_delete() argument
312 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID)) in _nxe_web_http_client_delete()
319 status = _nx_web_http_client_delete(client_ptr); in _nxe_web_http_client_delete()
367 UINT _nx_web_http_client_delete(NX_WEB_HTTP_CLIENT *client_ptr) in _nx_web_http_client_delete() argument
373 if (client_ptr->nx_web_http_client_is_https) in _nx_web_http_client_delete()
375 nx_secure_tls_session_end(&(client_ptr -> nx_web_http_client_tls_session), NX_WAIT_FOREVER); in _nx_web_http_client_delete()
376 nx_secure_tls_session_delete(&(client_ptr -> nx_web_http_client_tls_session)); in _nx_web_http_client_delete()
381 … nx_tcp_socket_disconnect(&(client_ptr -> nx_web_http_client_socket), NX_WEB_HTTP_CLIENT_TIMEOUT); in _nx_web_http_client_delete()
382 nx_tcp_client_socket_unbind(&(client_ptr -> nx_web_http_client_socket)); in _nx_web_http_client_delete()
385 nx_tcp_socket_delete(&(client_ptr -> nx_web_http_client_socket)); in _nx_web_http_client_delete()
388 client_ptr -> nx_web_http_client_id = 0; in _nx_web_http_client_delete()
391 if (client_ptr -> nx_web_http_client_request_packet_ptr) in _nx_web_http_client_delete()
393 nx_packet_release(client_ptr -> nx_web_http_client_request_packet_ptr); in _nx_web_http_client_delete()
394 client_ptr -> nx_web_http_client_request_packet_ptr = NX_NULL; in _nx_web_http_client_delete()
398 if (client_ptr -> nx_web_http_client_response_packet) in _nx_web_http_client_delete()
400 nx_packet_release(client_ptr -> nx_web_http_client_response_packet); in _nx_web_http_client_delete()
401 client_ptr -> nx_web_http_client_response_packet = NX_NULL; in _nx_web_http_client_delete()
405 memset(client_ptr, 0, sizeof(NX_WEB_HTTP_CLIENT)); in _nx_web_http_client_delete()
458 UINT _nx_web_http_client_content_type_header_add(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *resource, UL… in _nx_web_http_client_content_type_header_add() argument
465 _nx_web_http_client_request_header_add(client_ptr, "Content-Type", 12, string1, j, wait_option); in _nx_web_http_client_content_type_header_add()
518 UINT _nx_web_http_client_content_length_header_add(NX_WEB_HTTP_CLIENT *client_ptr, ULONG total_byte… in _nx_web_http_client_content_length_header_add() argument
525 … _nx_web_http_client_request_header_add(client_ptr, "Content-Length", 14, string1, j, wait_option); in _nx_web_http_client_content_length_header_add()
578 UINT _nxe_web_http_client_get_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT s… in _nxe_web_http_client_get_start() argument
587 … if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_get_start()
595 status = _nx_web_http_client_get_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_get_start()
653 UINT _nx_web_http_client_get_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT se… in _nx_web_http_client_get_start() argument
680 return(_nx_web_http_client_get_start_extended(client_ptr, server_ip, server_port, resource, in _nx_web_http_client_get_start()
739 UINT _nxe_web_http_client_get_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_i… in _nxe_web_http_client_get_start_extended() argument
750 … if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_get_start_extended()
758 status = _nx_web_http_client_get_start_extended(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_get_start_extended()
827 UINT _nx_web_http_client_get_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, in _nx_web_http_client_get_start_extended() argument
836 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_get_start_extended()
839 …status = _nx_web_http_client_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_connect… in _nx_web_http_client_get_start_extended()
848 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_get_start_extended()
868 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_get_start_extended()
877 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_GET; in _nx_web_http_client_get_start_extended()
931 UINT _nxe_web_http_client_get_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip,… in _nxe_web_http_client_get_secure_start() argument
933 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_get_secure_start() argument
939 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_get_secure_start()
947 status = _nx_web_http_client_get_secure_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_get_secure_start()
1008 UINT _nx_web_http_client_get_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, … in _nx_web_http_client_get_secure_start() argument
1010 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_get_secure_start() argument
1036 return(_nx_web_http_client_get_secure_start_extended(client_ptr, server_ip, server_port, in _nx_web_http_client_get_secure_start()
1097 UINT _nxe_web_http_client_get_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *se… in _nxe_web_http_client_get_secure_start_extended() argument
1100 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_get_secure_start_extended() argument
1106 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_get_secure_start_extended()
1114 status = _nx_web_http_client_get_secure_start_extended(client_ptr, server_ip, server_port, in _nxe_web_http_client_get_secure_start_extended()
1187 UINT _nx_web_http_client_get_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *ser… in _nx_web_http_client_get_secure_start_extended() argument
1190 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_get_secure_start_extended() argument
1197 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_get_secure_start_extended()
1200 …status = _nx_web_http_client_secure_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_… in _nx_web_http_client_get_secure_start_extended()
1209 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_get_secure_start_extended()
1230 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_get_secure_start_extended()
1239 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_GET; in _nx_web_http_client_get_secure_start_extended()
1293 UINT _nx_web_http_client_get_server_response(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packet_pt… in _nx_web_http_client_get_server_response() argument
1309 status = _nx_web_http_client_receive(client_ptr, &head_packet_ptr, wait_option); in _nx_web_http_client_get_server_response()
1382 status = _nx_web_http_client_receive(client_ptr, &new_packet_ptr, wait_option); in _nx_web_http_client_get_server_response()
1406client_ptr -> nx_web_http_client_packet_pool_ptr, wait_option); in _nx_web_http_client_get_server_response()
1481 UINT _nxe_web_http_client_response_body_get(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packet_ptr… in _nxe_web_http_client_response_body_get() argument
1488 … if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_response_body_get()
1496 status = _nx_web_http_client_response_body_get(client_ptr, packet_ptr, wait_option); in _nxe_web_http_client_response_body_get()
1558 UINT _nx_web_http_client_response_body_get(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packet_pptr… in _nx_web_http_client_response_body_get() argument
1570 if ((client_ptr -> nx_web_http_client_state < NX_WEB_HTTP_CLIENT_STATE_GET) || in _nx_web_http_client_response_body_get()
1571 (client_ptr -> nx_web_http_client_state > NX_WEB_HTTP_CLIENT_STATE_DELETE)) in _nx_web_http_client_response_body_get()
1580 if (!(client_ptr -> nx_web_http_client_response_header_received)) in _nx_web_http_client_response_body_get()
1584 … status = _nx_web_http_client_get_server_response(client_ptr, &response_packet_ptr, wait_option); in _nx_web_http_client_response_body_get()
1605 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_response_body_get()
1608 client_ptr->nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_response_body_get()
1647 length = _nx_web_http_client_content_length_get(client_ptr, response_packet_ptr); in _nx_web_http_client_response_body_get()
1650 offset = _nx_web_http_client_process_header_fields(client_ptr, response_packet_ptr); in _nx_web_http_client_response_body_get()
1656 (!client_ptr -> nx_web_http_client_response_chunked))) in _nx_web_http_client_response_body_get()
1666 client_ptr -> nx_web_http_client_response_header_received = NX_TRUE; in _nx_web_http_client_response_body_get()
1670 if (client_ptr -> nx_web_http_client_state != NX_WEB_HTTP_CLIENT_STATE_HEAD) in _nx_web_http_client_response_body_get()
1672 client_ptr -> nx_web_http_client_total_receive_bytes = length; in _nx_web_http_client_response_body_get()
1676 client_ptr -> nx_web_http_client_total_receive_bytes = 0; in _nx_web_http_client_response_body_get()
1678 client_ptr -> nx_web_http_client_actual_bytes_received = 0; in _nx_web_http_client_response_body_get()
1687 if (client_ptr -> nx_web_http_client_response_chunked) in _nx_web_http_client_response_body_get()
1689 client_ptr -> nx_web_http_client_response_packet = response_packet_ptr; in _nx_web_http_client_response_body_get()
1690client_ptr -> nx_web_http_client_chunked_response_remaining_size = response_packet_ptr -> nx_packe… in _nx_web_http_client_response_body_get()
1695 else if (!client_ptr -> nx_web_http_client_response_chunked) in _nx_web_http_client_response_body_get()
1699 status = _nx_web_http_client_receive(client_ptr, &response_packet_ptr, wait_option); in _nx_web_http_client_response_body_get()
1709 client_ptr->nx_web_http_client_response_header_received = NX_FALSE; in _nx_web_http_client_response_body_get()
1712 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_response_body_get()
1715 client_ptr->nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_response_body_get()
1721 …(response_packet_ptr -> nx_packet_length > (client_ptr -> nx_web_http_client_total_receive_bytes -… in _nx_web_http_client_response_body_get()
1731 if (client_ptr -> nx_web_http_client_response_chunked) in _nx_web_http_client_response_body_get()
1735 … status = _nx_web_http_client_response_chunked_get(client_ptr, &response_packet_ptr, wait_option); in _nx_web_http_client_response_body_get()
1746client_ptr -> nx_web_http_client_actual_bytes_received = client_ptr -> nx_web_http_client_actual_b… in _nx_web_http_client_response_body_get()
1750 …if (client_ptr -> nx_web_http_client_total_receive_bytes == client_ptr -> nx_web_http_client_actua… in _nx_web_http_client_response_body_get()
1773 if (client_ptr -> nx_web_http_client_response_chunked) in _nx_web_http_client_response_body_get()
1781 nx_packet_release(client_ptr -> nx_web_http_client_response_packet); in _nx_web_http_client_response_body_get()
1783 client_ptr -> nx_web_http_client_response_packet = NX_NULL; in _nx_web_http_client_response_body_get()
1784 client_ptr -> nx_web_http_client_chunked_response_remaining_size = 0; in _nx_web_http_client_response_body_get()
1785 client_ptr -> nx_web_http_client_response_chunked = NX_FALSE; in _nx_web_http_client_response_body_get()
1789 client_ptr -> nx_web_http_client_response_header_received = NX_FALSE; in _nx_web_http_client_response_body_get()
1792 if ((status != NX_WEB_HTTP_GET_DONE) || !(client_ptr -> nx_web_http_client_keep_alive)) in _nx_web_http_client_response_body_get()
1797 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_response_body_get()
1801 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_response_body_get()
1854 UINT _nx_web_http_client_response_read(NX_WEB_HTTP_CLIENT *client_ptr, UCHAR *data, ULONG wait_opti… in _nx_web_http_client_response_read() argument
1860 while (client_ptr -> nx_web_http_client_chunked_response_remaining_size == 0) in _nx_web_http_client_response_read()
1864 if (client_ptr -> nx_web_http_client_response_packet) in _nx_web_http_client_response_read()
1866 nx_packet_release(client_ptr -> nx_web_http_client_response_packet); in _nx_web_http_client_response_read()
1867 client_ptr -> nx_web_http_client_response_packet = NX_NULL; in _nx_web_http_client_response_read()
1871 …status = _nx_web_http_client_receive(client_ptr, &(client_ptr -> nx_web_http_client_response_packe… in _nx_web_http_client_response_read()
1878 (*current_packet_pptr) = client_ptr -> nx_web_http_client_response_packet; in _nx_web_http_client_response_read()
1879 … (*current_data_pptr) = client_ptr -> nx_web_http_client_response_packet -> nx_packet_prepend_ptr; in _nx_web_http_client_response_read()
1880client_ptr -> nx_web_http_client_chunked_response_remaining_size = client_ptr -> nx_web_http_clien… in _nx_web_http_client_response_read()
1896 if (client_ptr -> nx_web_http_client_response_packet) in _nx_web_http_client_response_read()
1898 client_ptr -> nx_web_http_client_response_packet -> nx_packet_next = NX_NULL; in _nx_web_http_client_response_read()
1899 nx_packet_release(client_ptr -> nx_web_http_client_response_packet); in _nx_web_http_client_response_read()
1900 client_ptr -> nx_web_http_client_response_packet = (*current_packet_pptr); in _nx_web_http_client_response_read()
1912 client_ptr -> nx_web_http_client_chunked_response_remaining_size--; in _nx_web_http_client_response_read()
1963 UINT _nx_web_http_client_response_byte_expect(NX_WEB_HTTP_CLIENT *client_ptr, UCHAR data, ULONG wai… in _nx_web_http_client_response_byte_expect() argument
1970 …status = _nx_web_http_client_response_read(client_ptr, &tmp, wait_option, current_packet_pptr, cur… in _nx_web_http_client_response_byte_expect()
2036 UINT _nx_web_http_client_chunked_size_get(NX_WEB_HTTP_CLIENT *client_ptr, UINT *chunk_size, ULONG w… in _nx_web_http_client_chunked_size_get() argument
2044 …if (client_ptr -> nx_web_http_client_actual_bytes_received < client_ptr -> nx_web_http_client_tota… in _nx_web_http_client_chunked_size_get()
2048 …*chunk_size = client_ptr -> nx_web_http_client_total_receive_bytes - client_ptr -> nx_web_http_cli… in _nx_web_http_client_chunked_size_get()
2058 …status = _nx_web_http_client_response_read(client_ptr, &tmp, wait_option, current_packet_pptr, cur… in _nx_web_http_client_chunked_size_get()
2102 …status = _nx_web_http_client_response_byte_expect(client_ptr, '\n', wait_option, current_packet_pp… in _nx_web_http_client_chunked_size_get()
2112 while (client_ptr -> nx_web_http_client_chunked_response_remaining_size == 0) in _nx_web_http_client_chunked_size_get()
2114 if (client_ptr -> nx_web_http_client_response_packet) in _nx_web_http_client_chunked_size_get()
2116 nx_packet_release(client_ptr -> nx_web_http_client_response_packet); in _nx_web_http_client_chunked_size_get()
2117 client_ptr -> nx_web_http_client_response_packet = NX_NULL; in _nx_web_http_client_chunked_size_get()
2120 …status = _nx_web_http_client_receive(client_ptr, &(client_ptr -> nx_web_http_client_response_packe… in _nx_web_http_client_chunked_size_get()
2127 (*current_packet_pptr) = client_ptr -> nx_web_http_client_response_packet; in _nx_web_http_client_chunked_size_get()
2128 … (*current_data_pptr) = client_ptr -> nx_web_http_client_response_packet -> nx_packet_prepend_ptr; in _nx_web_http_client_chunked_size_get()
2129client_ptr -> nx_web_http_client_chunked_response_remaining_size = client_ptr -> nx_web_http_clien… in _nx_web_http_client_chunked_size_get()
2181 UINT _nx_web_http_client_response_chunked_get(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packet_pp… in _nx_web_http_client_response_chunked_get() argument
2191 current_packet_ptr = client_ptr -> nx_web_http_client_response_packet; in _nx_web_http_client_response_chunked_get()
2201 …status = _nx_web_http_client_chunked_size_get(client_ptr, &chunk_size, wait_option, &current_packe… in _nx_web_http_client_response_chunked_get()
2212 …status = _nx_web_http_client_response_byte_expect(client_ptr, '\r', wait_option, &current_packet_p… in _nx_web_http_client_response_chunked_get()
2218 …status = _nx_web_http_client_response_byte_expect(client_ptr, '\n', wait_option, &current_packet_p… in _nx_web_http_client_response_chunked_get()
2225client_ptr -> nx_web_http_client_response_packet -> nx_packet_append_ptr = client_ptr -> nx_web_ht… in _nx_web_http_client_response_chunked_get()
2226 client_ptr -> nx_web_http_client_response_packet -> nx_packet_length = 0; in _nx_web_http_client_response_chunked_get()
2227 *packet_pptr = client_ptr -> nx_web_http_client_response_packet; in _nx_web_http_client_response_chunked_get()
2233 *packet_pptr = client_ptr -> nx_web_http_client_response_packet; in _nx_web_http_client_response_chunked_get()
2234 client_ptr -> nx_web_http_client_response_packet = NX_NULL; in _nx_web_http_client_response_chunked_get()
2237 remaining_size = client_ptr -> nx_web_http_client_chunked_response_remaining_size; in _nx_web_http_client_response_chunked_get()
2266 client_ptr -> nx_web_http_client_chunked_response_remaining_size -= chunk_size; in _nx_web_http_client_response_chunked_get()
2270 …status = _nx_web_http_client_response_byte_expect(client_ptr, '\r', wait_option, &current_packet_p… in _nx_web_http_client_response_chunked_get()
2276 …status = _nx_web_http_client_response_byte_expect(client_ptr, '\n', wait_option, &current_packet_p… in _nx_web_http_client_response_chunked_get()
2283 if (client_ptr -> nx_web_http_client_chunked_response_remaining_size) in _nx_web_http_client_response_chunked_get()
2285 if (client_ptr -> nx_web_http_client_response_packet) in _nx_web_http_client_response_chunked_get()
2289client_ptr -> nx_web_http_client_response_packet -> nx_packet_prepend_ptr = current_data_ptr; in _nx_web_http_client_response_chunked_get()
2296 status = nx_packet_allocate(client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_response_chunked_get()
2297 &(client_ptr -> nx_web_http_client_response_packet), in _nx_web_http_client_response_chunked_get()
2306 status = nx_packet_data_append(client_ptr -> nx_web_http_client_response_packet, in _nx_web_http_client_response_chunked_get()
2309 client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_response_chunked_get()
2317 if (client_ptr -> nx_web_http_client_chunked_response_remaining_size > temp_size) in _nx_web_http_client_response_chunked_get()
2324client_ptr -> nx_web_http_client_response_packet -> nx_packet_next = current_packet_ptr -> nx_pack… in _nx_web_http_client_response_chunked_get()
2325client_ptr -> nx_web_http_client_response_packet -> nx_packet_last = current_packet_ptr -> nx_pack… in _nx_web_http_client_response_chunked_get()
2337client_ptr -> nx_web_http_client_response_packet -> nx_packet_length = client_ptr -> nx_web_http_c… in _nx_web_http_client_response_chunked_get()
2344 client_ptr -> nx_web_http_client_chunked_response_remaining_size = 0; in _nx_web_http_client_response_chunked_get()
2349 client_ptr -> nx_web_http_client_total_receive_bytes = chunk_size; in _nx_web_http_client_response_chunked_get()
2350 client_ptr -> nx_web_http_client_actual_bytes_received = length; in _nx_web_http_client_response_chunked_get()
2428 UINT _nxe_web_http_client_request_chunked_set(NX_WEB_HTTP_CLIENT *client_ptr, UINT chunk_size, NX_P… in _nxe_web_http_client_request_chunked_set() argument
2433 if ((client_ptr == NX_NULL) || (packet_ptr == NX_NULL)) in _nxe_web_http_client_request_chunked_set()
2439 status = _nx_web_http_client_request_chunked_set(client_ptr, chunk_size, packet_ptr); in _nxe_web_http_client_request_chunked_set()
2488 UINT _nx_web_http_client_request_chunked_set(NX_WEB_HTTP_CLIENT *client_ptr, UINT chunk_size, NX_PA… in _nx_web_http_client_request_chunked_set() argument
2525 …status = nx_packet_data_append(packet_ptr, temp_string, i, client_ptr -> nx_web_http_client_packet… in _nx_web_http_client_request_chunked_set()
2532 …status = nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_p… in _nx_web_http_client_request_chunked_set()
2539 client_ptr -> nx_web_http_client_request_chunked = NX_TRUE; in _nx_web_http_client_request_chunked_set()
2542 client_ptr -> nx_web_http_client_total_transfer_bytes = chunk_size + i + 2; in _nx_web_http_client_request_chunked_set()
2543 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_request_chunked_set()
2593 UINT _nxe_web_http_client_request_packet_send(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_ptr… in _nxe_web_http_client_request_packet_send() argument
2598 if ((client_ptr == NX_NULL) || (packet_ptr == NX_NULL)) in _nxe_web_http_client_request_packet_send()
2604 … status = _nx_web_http_client_request_packet_send(client_ptr, packet_ptr, more_data, wait_option); in _nxe_web_http_client_request_packet_send()
2658 UINT _nx_web_http_client_request_packet_send(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_ptr,… in _nx_web_http_client_request_packet_send() argument
2665 …if (client_ptr -> nx_web_http_client_total_transfer_bytes < (client_ptr -> nx_web_http_client_actu… in _nx_web_http_client_request_packet_send()
2671 if (client_ptr -> nx_web_http_client_request_chunked) in _nx_web_http_client_request_packet_send()
2674 …if (client_ptr -> nx_web_http_client_total_transfer_bytes == (client_ptr -> nx_web_http_client_act… in _nx_web_http_client_request_packet_send()
2678 …nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, wait_… in _nx_web_http_client_request_packet_send()
2683 …nx_packet_data_append(packet_ptr, "0\r\n\r\n", 5, client_ptr -> nx_web_http_client_packet_pool_ptr… in _nx_web_http_client_request_packet_send()
2684 client_ptr -> nx_web_http_client_request_chunked = NX_FALSE; in _nx_web_http_client_request_packet_send()
2690 status = _nx_web_http_client_send(client_ptr, packet_ptr, wait_option); in _nx_web_http_client_request_packet_send()
2699 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_request_packet_send()
2706 client_ptr -> nx_web_http_client_actual_bytes_transferred += length; in _nx_web_http_client_request_packet_send()
2759 UINT _nxe_web_http_client_put_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT s… in _nxe_web_http_client_put_start() argument
2767 … if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_put_start()
2779 status = _nx_web_http_client_put_start(client_ptr, server_ip, server_port, resource, host, in _nxe_web_http_client_put_start()
2840 UINT _nx_web_http_client_put_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT se… in _nx_web_http_client_put_start() argument
2866 return(_nx_web_http_client_put_start_extended(client_ptr, server_ip, server_port, resource, in _nx_web_http_client_put_start()
2925 UINT _nxe_web_http_client_put_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_i… in _nxe_web_http_client_put_start_extended() argument
2937 … if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_put_start_extended()
2949 status = _nx_web_http_client_put_start_extended(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_put_start_extended()
3024 UINT _nx_web_http_client_put_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, in _nx_web_http_client_put_start_extended() argument
3034 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_put_start_extended()
3037 …status = _nx_web_http_client_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_connect… in _nx_web_http_client_put_start_extended()
3046 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_put_start_extended()
3061 _nx_web_http_client_content_type_header_add(client_ptr, resource, wait_option); in _nx_web_http_client_put_start_extended()
3070 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_put_start_extended()
3079 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_put_start_extended()
3087 client_ptr -> nx_web_http_client_total_transfer_bytes = total_bytes; in _nx_web_http_client_put_start_extended()
3088 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_put_start_extended()
3091 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_PUT; in _nx_web_http_client_put_start_extended()
3149 UINT _nxe_web_http_client_put_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip,… in _nxe_web_http_client_put_secure_start() argument
3151 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_put_secure_start() argument
3157 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_put_secure_start()
3165 status = _nx_web_http_client_put_secure_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_put_secure_start()
3229 UINT _nx_web_http_client_put_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, … in _nx_web_http_client_put_secure_start() argument
3231 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_put_secure_start() argument
3257 return(_nx_web_http_client_put_secure_start_extended(client_ptr, server_ip, server_port, in _nx_web_http_client_put_secure_start()
3320 UINT _nxe_web_http_client_put_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *se… in _nxe_web_http_client_put_secure_start_extended() argument
3324 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_put_secure_start_extended() argument
3330 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_put_secure_start_extended()
3338 status = _nx_web_http_client_put_secure_start_extended(client_ptr, server_ip, server_port, in _nxe_web_http_client_put_secure_start_extended()
3416 UINT _nx_web_http_client_put_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *ser… in _nx_web_http_client_put_secure_start_extended() argument
3420 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_put_secure_start_extended() argument
3427 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_put_secure_start_extended()
3430 …status = _nx_web_http_client_secure_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_… in _nx_web_http_client_put_secure_start_extended()
3439 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_put_secure_start_extended()
3454 _nx_web_http_client_content_type_header_add(client_ptr, resource, wait_option); in _nx_web_http_client_put_secure_start_extended()
3463 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_put_secure_start_extended()
3472 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_put_secure_start_extended()
3480 client_ptr -> nx_web_http_client_total_transfer_bytes = total_bytes; in _nx_web_http_client_put_secure_start_extended()
3481 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_put_secure_start_extended()
3484 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_PUT; in _nx_web_http_client_put_secure_start_extended()
3541 UINT _nxe_web_http_client_post_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT … in _nxe_web_http_client_post_start() argument
3549 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_post_start()
3561 status = _nx_web_http_client_post_start(client_ptr, server_ip, server_port, resource, host, in _nxe_web_http_client_post_start()
3622 UINT _nx_web_http_client_post_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT s… in _nx_web_http_client_post_start() argument
3648 return(_nx_web_http_client_post_start_extended(client_ptr, server_ip, server_port, resource, in _nx_web_http_client_post_start()
3708 UINT _nxe_web_http_client_post_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_… in _nxe_web_http_client_post_start_extended() argument
3720 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_post_start_extended()
3732 status = _nx_web_http_client_post_start_extended(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_post_start_extended()
3807 UINT _nx_web_http_client_post_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_i… in _nx_web_http_client_post_start_extended() argument
3818 client_ptr -> nx_web_http_client_connect_port = server_port; in _nx_web_http_client_post_start_extended()
3821 …status = _nx_web_http_client_connect(client_ptr, server_ip, client_ptr -> nx_web_http_client_conne… in _nx_web_http_client_post_start_extended()
3830 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_post_start_extended()
3845 _nx_web_http_client_content_type_header_add(client_ptr, resource, wait_option); in _nx_web_http_client_post_start_extended()
3854 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_post_start_extended()
3863 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_post_start_extended()
3871 client_ptr -> nx_web_http_client_total_transfer_bytes = total_bytes; in _nx_web_http_client_post_start_extended()
3872 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_post_start_extended()
3875 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_POST; in _nx_web_http_client_post_start_extended()
3934 UINT _nxe_web_http_client_post_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip… in _nxe_web_http_client_post_secure_start() argument
3936 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_post_secure_start() argument
3942 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_post_secure_start()
3950 …status = _nx_web_http_client_post_secure_start(client_ptr, server_ip, server_port, resource, host, in _nxe_web_http_client_post_secure_start()
4014 UINT _nx_web_http_client_post_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip,… in _nx_web_http_client_post_secure_start() argument
4016 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_post_secure_start() argument
4042 return(_nx_web_http_client_post_secure_start_extended(client_ptr, server_ip, server_port, in _nx_web_http_client_post_secure_start()
4105 UINT _nxe_web_http_client_post_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *s… in _nxe_web_http_client_post_secure_start_extended() argument
4109 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_post_secure_start_extended() argument
4115 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_post_secure_start_extended()
4123 status = _nx_web_http_client_post_secure_start_extended(client_ptr, server_ip, server_port, in _nxe_web_http_client_post_secure_start_extended()
4200 UINT _nx_web_http_client_post_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *se… in _nx_web_http_client_post_secure_start_extended() argument
4204 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_post_secure_start_extended() argument
4211 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_post_secure_start_extended()
4214 …status = _nx_web_http_client_secure_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_… in _nx_web_http_client_post_secure_start_extended()
4223 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_post_secure_start_extended()
4238 _nx_web_http_client_content_type_header_add(client_ptr, resource, wait_option); in _nx_web_http_client_post_secure_start_extended()
4247 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_post_secure_start_extended()
4256 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_post_secure_start_extended()
4264 client_ptr -> nx_web_http_client_total_transfer_bytes = total_bytes; in _nx_web_http_client_post_secure_start_extended()
4265 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_post_secure_start_extended()
4268 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_POST; in _nx_web_http_client_post_secure_start_extended()
4322 UINT _nxe_web_http_client_head_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT … in _nxe_web_http_client_head_start() argument
4330 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_head_start()
4340 status = _nx_web_http_client_head_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_head_start()
4397 UINT _nx_web_http_client_head_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT s… in _nx_web_http_client_head_start() argument
4423 return(_nx_web_http_client_head_start_extended(client_ptr, server_ip, server_port, resource, in _nx_web_http_client_head_start()
4482 UINT _nxe_web_http_client_head_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_… in _nxe_web_http_client_head_start_extended() argument
4492 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_head_start_extended()
4502 status = _nx_web_http_client_head_start_extended(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_head_start_extended()
4573 UINT _nx_web_http_client_head_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_i… in _nx_web_http_client_head_start_extended() argument
4581 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_head_start_extended()
4584 …status = _nx_web_http_client_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_connect… in _nx_web_http_client_head_start_extended()
4593 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_head_start_extended()
4614 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_head_start_extended()
4623 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_HEAD; in _nx_web_http_client_head_start_extended()
4678 UINT _nxe_web_http_client_head_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip… in _nxe_web_http_client_head_secure_start() argument
4680 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_head_secure_start() argument
4686 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_head_secure_start()
4694 status = _nx_web_http_client_head_secure_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_head_secure_start()
4756 UINT _nx_web_http_client_head_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip,… in _nx_web_http_client_head_secure_start() argument
4758 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_head_secure_start() argument
4784 return(_nx_web_http_client_head_secure_start_extended(client_ptr, server_ip, server_port, in _nx_web_http_client_head_secure_start()
4846 UINT _nxe_web_http_client_head_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *s… in _nxe_web_http_client_head_secure_start_extended() argument
4850 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_head_secure_start_extended() argument
4856 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_head_secure_start_extended()
4864 status = _nx_web_http_client_head_secure_start_extended(client_ptr, server_ip, server_port, in _nxe_web_http_client_head_secure_start_extended()
4937 UINT _nx_web_http_client_head_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *se… in _nx_web_http_client_head_secure_start_extended() argument
4941 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_head_secure_start_extended() argument
4948 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_head_secure_start_extended()
4951 …status = _nx_web_http_client_secure_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_… in _nx_web_http_client_head_secure_start_extended()
4960 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_head_secure_start_extended()
4981 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_head_secure_start_extended()
4990 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_HEAD; in _nx_web_http_client_head_secure_start_extended()
5045 UINT _nxe_web_http_client_delete_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UIN… in _nxe_web_http_client_delete_start() argument
5053 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_delete_start()
5063 status = _nx_web_http_client_delete_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_delete_start()
5120 UINT _nx_web_http_client_delete_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT… in _nx_web_http_client_delete_start() argument
5146 return(_nx_web_http_client_delete_start_extended(client_ptr, server_ip, server_port, resource, in _nx_web_http_client_delete_start()
5205 UINT _nxe_web_http_client_delete_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *serve… in _nxe_web_http_client_delete_start_extended() argument
5215 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_delete_start_extended()
5225 … status = _nx_web_http_client_delete_start_extended(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_delete_start_extended()
5297 UINT _nx_web_http_client_delete_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server… in _nx_web_http_client_delete_start_extended() argument
5306 client_ptr -> nx_web_http_client_connect_port = server_port; in _nx_web_http_client_delete_start_extended()
5309 …status = _nx_web_http_client_connect(client_ptr, server_ip, client_ptr -> nx_web_http_client_conne… in _nx_web_http_client_delete_start_extended()
5318 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_delete_start_extended()
5339 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_delete_start_extended()
5348 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_DELETE; in _nx_web_http_client_delete_start_extended()
5403 UINT _nxe_web_http_client_delete_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_… in _nxe_web_http_client_delete_secure_start() argument
5405 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_delete_secure_start() argument
5411 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_delete_secure_start()
5419 status = _nx_web_http_client_delete_secure_start(client_ptr, server_ip, server_port, resource, in _nxe_web_http_client_delete_secure_start()
5481 UINT _nx_web_http_client_delete_secure_start(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_i… in _nx_web_http_client_delete_secure_start() argument
5483 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_delete_secure_start() argument
5509 return(_nx_web_http_client_delete_secure_start_extended(client_ptr, server_ip, server_port, in _nx_web_http_client_delete_secure_start()
5571 UINT _nxe_web_http_client_delete_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS … in _nxe_web_http_client_delete_secure_start_extended() argument
5575 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_delete_secure_start_extended() argument
5581 if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_delete_secure_start_extended()
5589 status = _nx_web_http_client_delete_secure_start_extended(client_ptr, server_ip, server_port, in _nxe_web_http_client_delete_secure_start_extended()
5662 UINT _nx_web_http_client_delete_secure_start_extended(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *… in _nx_web_http_client_delete_secure_start_extended() argument
5666 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_delete_secure_start_extended() argument
5673 client_ptr->nx_web_http_client_connect_port = server_port; in _nx_web_http_client_delete_secure_start_extended()
5676 …status = _nx_web_http_client_secure_connect(client_ptr, server_ip, client_ptr->nx_web_http_client_… in _nx_web_http_client_delete_secure_start_extended()
5685 status = _nx_web_http_client_request_initialize_extended(client_ptr, in _nx_web_http_client_delete_secure_start_extended()
5706 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nx_web_http_client_delete_secure_start_extended()
5715 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_DELETE; in _nx_web_http_client_delete_secure_start_extended()
5767 UINT _nxe_web_http_client_put_packet(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_ptr, ULONG … in _nxe_web_http_client_put_packet() argument
5776 … if ((client_ptr == NX_NULL) || (client_ptr -> nx_web_http_client_id != NX_WEB_HTTP_CLIENT_ID) || in _nxe_web_http_client_put_packet()
5784 server_ip = &(client_ptr -> nx_web_http_client_server_address); in _nxe_web_http_client_put_packet()
5814 status = _nx_web_http_client_put_packet(client_ptr, packet_ptr, wait_option); in _nxe_web_http_client_put_packet()
5870 UINT _nx_web_http_client_put_packet(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_ptr, ULONG w… in _nx_web_http_client_put_packet() argument
5880 if (client_ptr -> nx_web_http_client_state != NX_WEB_HTTP_CLIENT_STATE_PUT && in _nx_web_http_client_put_packet()
5881 client_ptr -> nx_web_http_client_state != NX_WEB_HTTP_CLIENT_STATE_POST) in _nx_web_http_client_put_packet()
5889 status = _nx_web_http_client_receive(client_ptr, &response_packet_ptr, NX_NO_WAIT); in _nx_web_http_client_put_packet()
5919 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_put_packet()
5922 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_put_packet()
5930 …(client_ptr -> nx_web_http_client_total_transfer_bytes - client_ptr -> nx_web_http_client_actual_b… in _nx_web_http_client_put_packet()
5941 status = _nx_web_http_client_send(client_ptr, packet_ptr, wait_option); in _nx_web_http_client_put_packet()
5950 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_put_packet()
5953 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_put_packet()
5960client_ptr -> nx_web_http_client_actual_bytes_transferred = client_ptr -> nx_web_http_client_ac… in _nx_web_http_client_put_packet()
6188 UINT _nx_web_http_client_content_length_get(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_ptr) in _nx_web_http_client_content_length_get() argument
6196 NX_PARAMETER_NOT_USED(client_ptr); in _nx_web_http_client_content_length_get()
6399 UINT _nx_web_http_client_process_header_fields(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_p… in _nx_web_http_client_process_header_fields() argument
6415 client_ptr -> nx_web_http_client_response_chunked = NX_FALSE; in _nx_web_http_client_process_header_fields()
6429 client_ptr -> nx_web_http_client_keep_alive = NX_FALSE; in _nx_web_http_client_process_header_fields()
6435 client_ptr -> nx_web_http_client_keep_alive = NX_TRUE; in _nx_web_http_client_process_header_fields()
6437 client_ptr -> nx_web_http_client_keep_alive = NX_FALSE; in _nx_web_http_client_process_header_fields()
6513 client_ptr -> nx_web_http_client_response_chunked = NX_TRUE; in _nx_web_http_client_process_header_fields()
6524 client_ptr -> nx_web_http_client_keep_alive = NX_TRUE; in _nx_web_http_client_process_header_fields()
6528 client_ptr -> nx_web_http_client_keep_alive = NX_FALSE; in _nx_web_http_client_process_header_fields()
6535 if(client_ptr -> nx_web_http_client_response_callback) in _nx_web_http_client_process_header_fields()
6537client_ptr -> nx_web_http_client_response_callback(client_ptr, field_name, field_name_length, fiel… in _nx_web_http_client_process_header_fields()
6693 UINT _nxe_web_http_client_connect(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT ser… in _nxe_web_http_client_connect() argument
6699 if(client_ptr == NX_NULL || server_ip == NX_NULL) in _nxe_web_http_client_connect()
6705 status = _nx_web_http_client_connect(client_ptr, server_ip, server_port, wait_option); in _nxe_web_http_client_connect()
6767 UINT _nx_web_http_client_connect(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UINT serv… in _nx_web_http_client_connect() argument
6776 if (client_ptr -> nx_web_http_client_keep_alive) in _nx_web_http_client_connect()
6780 _nx_web_http_client_cleanup(client_ptr); in _nx_web_http_client_connect()
6782 …if (nx_tcp_socket_state_wait(&(client_ptr -> nx_web_http_client_socket), NX_TCP_ESTABLISHED, 0) ==… in _nx_web_http_client_connect()
6792 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_connect()
6798 if (client_ptr -> nx_web_http_client_state != NX_WEB_HTTP_CLIENT_STATE_READY) in _nx_web_http_client_connect()
6802 _nx_web_http_client_cleanup(client_ptr); in _nx_web_http_client_connect()
6806 …status = nx_tcp_client_socket_bind(&(client_ptr -> nx_web_http_client_socket), NX_ANY_PORT, wait_… in _nx_web_http_client_connect()
6818 COPY_NXD_ADDRESS(server_ip, &(client_ptr -> nx_web_http_client_server_address)); in _nx_web_http_client_connect()
6820 client_ptr -> nx_web_http_client_server_address.nxd_ip_version = NX_IP_VERSION_V4; in _nx_web_http_client_connect()
6821client_ptr -> nx_web_http_client_server_address.nxd_ip_address.v4 = server_ip -> nxd_ip_address.v4; in _nx_web_http_client_connect()
6824 client_ptr -> nx_web_http_client_connect_port = server_port; in _nx_web_http_client_connect()
6827 status = nxd_tcp_client_socket_connect(&(client_ptr -> nx_web_http_client_socket), server_ip, in _nx_web_http_client_connect()
6828client_ptr -> nx_web_http_client_connect_port, wait_option); in _nx_web_http_client_connect()
6835 nx_tcp_client_socket_unbind(&(client_ptr -> nx_web_http_client_socket)); in _nx_web_http_client_connect()
6889 UINT _nxe_web_http_client_secure_connect(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, U… in _nxe_web_http_client_secure_connect() argument
6890 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nxe_web_http_client_secure_connect() argument
6897 if(client_ptr == NX_NULL || server_ip == NX_NULL || tls_setup == NX_NULL) in _nxe_web_http_client_secure_connect()
6903 …status = _nx_web_http_client_secure_connect(client_ptr, server_ip, server_port, tls_setup, wait_op… in _nxe_web_http_client_secure_connect()
6958 UINT _nx_web_http_client_secure_connect(NX_WEB_HTTP_CLIENT *client_ptr, NXD_ADDRESS *server_ip, UI… in _nx_web_http_client_secure_connect() argument
6959 … UINT (*tls_setup)(NX_WEB_HTTP_CLIENT *client_ptr, NX_SECURE_TLS_SESSION *), in _nx_web_http_client_secure_connect() argument
6967 if (client_ptr -> nx_web_http_client_keep_alive && in _nx_web_http_client_secure_connect()
6968 …(nx_tcp_socket_state_wait(&(client_ptr -> nx_web_http_client_socket), NX_TCP_ESTABLISHED, 0) == NX… in _nx_web_http_client_secure_connect()
6972 _nx_web_http_client_cleanup(client_ptr); in _nx_web_http_client_secure_connect()
6978 client_ptr -> nx_web_http_client_is_https = NX_TRUE; in _nx_web_http_client_secure_connect()
6982 status = _nx_web_http_client_connect(client_ptr, server_ip, server_port, wait_option); in _nx_web_http_client_secure_connect()
6990 status = (*tls_setup)(client_ptr, &(client_ptr->nx_web_http_client_tls_session)); in _nx_web_http_client_secure_connect()
6996 _nx_tcp_socket_disconnect(&(client_ptr -> nx_web_http_client_socket), wait_option); in _nx_web_http_client_secure_connect()
6997 _nx_tcp_client_socket_unbind(&(client_ptr -> nx_web_http_client_socket)); in _nx_web_http_client_secure_connect()
7002 …status = _nx_secure_tls_session_start(&(client_ptr -> nx_web_http_client_tls_session), &(client_pt… in _nx_web_http_client_secure_connect()
7007 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_secure_connect()
7069 UINT _nxe_web_http_client_request_initialize(NX_WEB_HTTP_CLIENT *client_ptr, in _nxe_web_http_client_request_initialize() argument
7083 if(client_ptr == NX_NULL || resource == NX_NULL || host == NX_NULL) in _nxe_web_http_client_request_initialize()
7119 status = _nx_web_http_client_request_initialize(client_ptr, method, resource, host, input_size, in _nxe_web_http_client_request_initialize()
7180 UINT _nx_web_http_client_request_initialize(NX_WEB_HTTP_CLIENT *client_ptr, in _nx_web_http_client_request_initialize() argument
7213 return(_nx_web_http_client_request_initialize_extended(client_ptr, method, resource, in _nx_web_http_client_request_initialize()
7274 UINT _nxe_web_http_client_request_initialize_extended(NX_WEB_HTTP_CLIENT *client_ptr, in _nxe_web_http_client_request_initialize_extended() argument
7292 if(client_ptr == NX_NULL || resource == NX_NULL || host == NX_NULL) in _nxe_web_http_client_request_initialize_extended()
7328 …status = _nx_web_http_client_request_initialize_extended(client_ptr, method, resource, resource_le… in _nxe_web_http_client_request_initialize_extended()
7406 UINT _nx_web_http_client_request_initialize_extended(NX_WEB_HTTP_CLIENT *client_ptr, in _nx_web_http_client_request_initialize_extended() argument
7433 if (client_ptr -> nx_web_http_client_request_packet_ptr) in _nx_web_http_client_request_initialize_extended()
7435 nx_packet_release(client_ptr -> nx_web_http_client_request_packet_ptr); in _nx_web_http_client_request_initialize_extended()
7436 client_ptr -> nx_web_http_client_request_packet_ptr = NX_NULL; in _nx_web_http_client_request_initialize_extended()
7472 …status = _nx_web_http_client_request_packet_allocate(client_ptr, &(client_ptr -> nx_web_http_clien… in _nx_web_http_client_request_initialize_extended()
7478 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_request_initialize_extended()
7484 packet_ptr = client_ptr -> nx_web_http_client_request_packet_ptr; in _nx_web_http_client_request_initialize_extended()
7488 client_ptr -> nx_web_http_client_method = method; in _nx_web_http_client_request_initialize_extended()
7493 … nx_packet_data_append(packet_ptr, "GET ", 4, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7498 … nx_packet_data_append(packet_ptr, "PUT ", 4, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7502 client_ptr -> nx_web_http_client_total_transfer_bytes = input_size; in _nx_web_http_client_request_initialize_extended()
7503 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_request_initialize_extended()
7508 … nx_packet_data_append(packet_ptr, "POST ", 5, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7512 client_ptr -> nx_web_http_client_total_transfer_bytes = input_size; in _nx_web_http_client_request_initialize_extended()
7513 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_request_initialize_extended()
7518 … nx_packet_data_append(packet_ptr, "DELETE ", 7, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7523 … nx_packet_data_append(packet_ptr, "HEAD ", 5, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7538 client_ptr -> nx_web_http_client_request_packet_ptr = NX_NULL; in _nx_web_http_client_request_initialize_extended()
7563 …nx_packet_data_append(packet_ptr, "/", 1, client_ptr -> nx_web_http_client_packet_pool_ptr, wait_o… in _nx_web_http_client_request_initialize_extended()
7569 …nx_packet_data_append(packet_ptr, resource, resource_length, client_ptr -> nx_web_http_client_pack… in _nx_web_http_client_request_initialize_extended()
7573 …nx_packet_data_append(packet_ptr, " HTTP/1.1", 9, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7577 nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7581 nx_packet_data_append(packet_ptr, "Host: ", 6, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7586 …nx_packet_data_append(packet_ptr, host, host_length, client_ptr -> nx_web_http_client_packet_pool_… in _nx_web_http_client_request_initialize_extended()
7589 nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended()
7597 …nx_packet_data_append(packet_ptr, "Authorization: Basic ", 21, client_ptr -> nx_web_http_client_pa… in _nx_web_http_client_request_initialize_extended()
7618 …nx_packet_data_append(packet_ptr, string2, string2_length, client_ptr -> nx_web_http_client_packet… in _nx_web_http_client_request_initialize_extended()
7619 …nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, wait_… in _nx_web_http_client_request_initialize_extended()
7627 …nx_packet_data_append(packet_ptr, "Content-Length: ", 16, client_ptr -> nx_web_http_client_packet_… in _nx_web_http_client_request_initialize_extended()
7629 …nx_packet_data_append(packet_ptr, string1, string1_length, client_ptr -> nx_web_http_client_packet… in _nx_web_http_client_request_initialize_extended()
7630 …nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, wait_… in _nx_web_http_client_request_initialize_extended()
7637 …nx_packet_data_append(packet_ptr, "Transfer-Encoding: chunked", 26, client_ptr -> nx_web_http_clie… in _nx_web_http_client_request_initialize_extended()
7638 …nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, wait_… in _nx_web_http_client_request_initialize_extended()
7691 UINT _nxe_web_http_client_request_header_add(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT… in _nxe_web_http_client_request_header_add() argument
7697 if(client_ptr == NX_NULL || field_name == NX_NULL || field_value == NX_NULL) in _nxe_web_http_client_request_header_add()
7703 status = _nx_web_http_client_request_header_add(client_ptr, field_name, name_length, in _nxe_web_http_client_request_header_add()
7758 UINT _nx_web_http_client_request_header_add(NX_WEB_HTTP_CLIENT *client_ptr, CHAR *field_name, UINT … in _nx_web_http_client_request_header_add() argument
7767 if(client_ptr -> nx_web_http_client_request_packet_ptr == NX_NULL) in _nx_web_http_client_request_header_add()
7773 packet_ptr = client_ptr -> nx_web_http_client_request_packet_ptr; in _nx_web_http_client_request_header_add()
7777 …status = nx_packet_data_append(packet_ptr, field_name, name_length, client_ptr -> nx_web_http_clie… in _nx_web_http_client_request_header_add()
7785 …status = nx_packet_data_append(packet_ptr, ": ", 2, client_ptr -> nx_web_http_client_packet_pool_p… in _nx_web_http_client_request_header_add()
7793 …status = nx_packet_data_append(packet_ptr, field_value, value_length, client_ptr -> nx_web_http_cl… in _nx_web_http_client_request_header_add()
7801 …status = nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_p… in _nx_web_http_client_request_header_add()
7847 UINT _nxe_web_http_client_request_send(NX_WEB_HTTP_CLIENT *client_ptr, ULONG wait_option) in _nxe_web_http_client_request_send() argument
7852 if(client_ptr == NX_NULL) in _nxe_web_http_client_request_send()
7858 status = _nx_web_http_client_request_send(client_ptr, wait_option); in _nxe_web_http_client_request_send()
7910 UINT _nx_web_http_client_request_send(NX_WEB_HTTP_CLIENT *client_ptr, ULONG wait_option) in _nx_web_http_client_request_send() argument
7918 if(client_ptr -> nx_web_http_client_request_packet_ptr == NX_NULL) in _nx_web_http_client_request_send()
7924 packet_ptr = client_ptr -> nx_web_http_client_request_packet_ptr; in _nx_web_http_client_request_send()
7927 client_ptr -> nx_web_http_client_request_packet_ptr = NX_NULL; in _nx_web_http_client_request_send()
7931 client_ptr -> nx_web_http_client_packet_pool_ptr, wait_option); in _nx_web_http_client_request_send()
7934 status = _nx_web_http_client_send(client_ptr, packet_ptr, wait_option); in _nx_web_http_client_request_send()
7946 _nx_web_http_client_error_exit(client_ptr, wait_option); in _nx_web_http_client_request_send()
7953 switch(client_ptr -> nx_web_http_client_method) in _nx_web_http_client_request_send()
7956 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_GET; in _nx_web_http_client_request_send()
7959 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_PUT; in _nx_web_http_client_request_send()
7962 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_POST; in _nx_web_http_client_request_send()
7965 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_DELETE; in _nx_web_http_client_request_send()
7968 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_HEAD; in _nx_web_http_client_request_send()
8026 UINT _nxe_web_http_client_request_packet_allocate(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packe… in _nxe_web_http_client_request_packet_allocate() argument
8032 if(client_ptr == NX_NULL || packet_ptr == NX_NULL) in _nxe_web_http_client_request_packet_allocate()
8038 status = _nx_web_http_client_request_packet_allocate(client_ptr, packet_ptr, wait_option); in _nxe_web_http_client_request_packet_allocate()
8093 UINT _nx_web_http_client_request_packet_allocate(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packet… in _nx_web_http_client_request_packet_allocate() argument
8099 server_ip = &(client_ptr->nx_web_http_client_server_address); in _nx_web_http_client_request_packet_allocate()
8103 if(client_ptr->nx_web_http_client_is_https) in _nx_web_http_client_request_packet_allocate()
8105 …status = nx_secure_tls_packet_allocate(&(client_ptr->nx_web_http_client_tls_session), client_ptr -… in _nx_web_http_client_request_packet_allocate()
8112 status = nx_packet_allocate(client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_packet_allocate()
8119 status = nx_packet_allocate(client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_packet_allocate()
8171 UINT _nxe_web_http_client_response_header_callback_set(NX_WEB_HTTP_CLIENT *client_ptr, in _nxe_web_http_client_response_header_callback_set() argument
8172 … VOID (*callback_function)(NX_WEB_HTTP_CLIENT *client_ptr, in _nxe_web_http_client_response_header_callback_set() argument
8182 if(client_ptr == NX_NULL || callback_function == NX_NULL) in _nxe_web_http_client_response_header_callback_set()
8188 status = _nx_web_http_client_response_header_callback_set(client_ptr, callback_function); in _nxe_web_http_client_response_header_callback_set()
8237 UINT _nx_web_http_client_response_header_callback_set(NX_WEB_HTTP_CLIENT *client_ptr, in _nx_web_http_client_response_header_callback_set() argument
8238 … VOID (*callback_function)(NX_WEB_HTTP_CLIENT *client_ptr, in _nx_web_http_client_response_header_callback_set() argument
8246 client_ptr -> nx_web_http_client_response_callback = callback_function; in _nx_web_http_client_response_header_callback_set()
8298 UINT _nx_web_http_client_send(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET *packet_ptr, ULONG wait_op… in _nx_web_http_client_send() argument
8305 if(client_ptr -> nx_web_http_client_is_https) in _nx_web_http_client_send()
8307 …status = nx_secure_tls_session_send(&(client_ptr -> nx_web_http_client_tls_session), packet_ptr, w… in _nx_web_http_client_send()
8312 … status = nx_tcp_socket_send(&(client_ptr -> nx_web_http_client_socket), packet_ptr, wait_option); in _nx_web_http_client_send()
8365 UINT _nx_web_http_client_receive(NX_WEB_HTTP_CLIENT *client_ptr, NX_PACKET **packet_ptr, ULONG wai… in _nx_web_http_client_receive() argument
8372 if(client_ptr -> nx_web_http_client_is_https) in _nx_web_http_client_receive()
8374 …status = nx_secure_tls_session_receive(&(client_ptr -> nx_web_http_client_tls_session), packet_ptr… in _nx_web_http_client_receive()
8379 …status = nx_tcp_socket_receive(&(client_ptr -> nx_web_http_client_socket), packet_ptr, wait_option… in _nx_web_http_client_receive()
8433 VOID _nx_web_http_client_error_exit(NX_WEB_HTTP_CLIENT *client_ptr, UINT wait_option) in _nx_web_http_client_error_exit() argument
8437 if(client_ptr -> nx_web_http_client_is_https) in _nx_web_http_client_error_exit()
8439 nx_secure_tls_session_end(&(client_ptr -> nx_web_http_client_tls_session), NX_WAIT_FOREVER); in _nx_web_http_client_error_exit()
8440 nx_secure_tls_session_delete(&(client_ptr -> nx_web_http_client_tls_session)); in _nx_web_http_client_error_exit()
8444 nx_tcp_socket_disconnect(&(client_ptr -> nx_web_http_client_socket), wait_option); in _nx_web_http_client_error_exit()
8445 nx_tcp_client_socket_unbind(&(client_ptr -> nx_web_http_client_socket)); in _nx_web_http_client_error_exit()
8492 VOID _nx_web_http_client_cleanup(NX_WEB_HTTP_CLIENT *client_ptr) in _nx_web_http_client_cleanup() argument
8500 status = _nx_web_http_client_receive(client_ptr, &response_packet_ptr, NX_NO_WAIT); in _nx_web_http_client_cleanup()
8513 client_ptr -> nx_web_http_client_total_transfer_bytes = 0; in _nx_web_http_client_cleanup()
8515 client_ptr -> nx_web_http_client_actual_bytes_transferred = 0; in _nx_web_http_client_cleanup()
8517 client_ptr -> nx_web_http_client_total_receive_bytes = 0; in _nx_web_http_client_cleanup()
8519 client_ptr -> nx_web_http_client_actual_bytes_received = 0; in _nx_web_http_client_cleanup()
8521 client_ptr -> nx_web_http_client_response_header_received = NX_FALSE; in _nx_web_http_client_cleanup()
8524 if (client_ptr -> nx_web_http_client_request_packet_ptr) in _nx_web_http_client_cleanup()
8526 nx_packet_release(client_ptr -> nx_web_http_client_request_packet_ptr); in _nx_web_http_client_cleanup()
8527 client_ptr -> nx_web_http_client_request_packet_ptr = NX_NULL; in _nx_web_http_client_cleanup()
8530 client_ptr -> nx_web_http_client_request_chunked = NX_FALSE; in _nx_web_http_client_cleanup()
8532 client_ptr -> nx_web_http_client_response_chunked = NX_FALSE; in _nx_web_http_client_cleanup()
8534 client_ptr -> nx_web_http_client_chunked_response_remaining_size = 0; in _nx_web_http_client_cleanup()
8537 if (client_ptr -> nx_web_http_client_response_packet) in _nx_web_http_client_cleanup()
8539 nx_packet_release(client_ptr -> nx_web_http_client_response_packet); in _nx_web_http_client_cleanup()
8540 client_ptr -> nx_web_http_client_response_packet = NX_NULL; in _nx_web_http_client_cleanup()
8544 client_ptr -> nx_web_http_client_state = NX_WEB_HTTP_CLIENT_STATE_READY; in _nx_web_http_client_cleanup()