|
ReactOS 0.4.16-dev-2528-g7139e57
|
#include <assert.h>#include <stdarg.h>#include <wchar.h>#include "windef.h"#include "winbase.h"#include "ws2tcpip.h"#include "ole2.h"#include "initguid.h"#include "httprequest.h"#include "httprequestid.h"#include "schannel.h"#include "winhttp.h"#include "winternl.h"#include "ntsecapi.h"#include "wine/debug.h"#include "winhttp_private.h"
Go to the source code of this file.
Classes | |
| struct | winhttp_request |
| struct | stream |
Macros | |
| #define | COBJMACROS |
| #define | DEFAULT_KEEP_ALIVE_TIMEOUT 30000 |
| #define | ACTUAL_DEFAULT_RECEIVE_RESPONSE_TIMEOUT 21000 |
| #define | QUERY_MODIFIER_MASK (WINHTTP_QUERY_FLAG_REQUEST_HEADERS | WINHTTP_QUERY_FLAG_SYSTEMTIME | WINHTTP_QUERY_FLAG_NUMBER) |
| #define | ESCAPE_MASK_DEFAULT |
| #define | ESCAPE_MASK_PERCENT (ESCAPE_FLAG_PERCENT | ESCAPE_MASK_DEFAULT) |
| #define | ESCAPE_MASK_DISABLE (ESCAPE_FLAG_SPACE | ESCAPE_FLAG_8BIT | ESCAPE_FLAG_STRIP_CRLF) |
| #define | MAX_REPLY_LEN 1460 |
| #define | INITIAL_HEADER_BUFFER_LEN 512 |
| #define | FIN_BIT (1 << 7) |
| #define | MASK_BIT (1 << 7) |
| #define | RESERVED_BIT (7 << 4) |
| #define | CONTROL_BIT (1 << 3) |
Enumerations | |
| enum | escape_flags { ESCAPE_FLAG_NON_PRINTABLE = 0x01 , ESCAPE_FLAG_SPACE = 0x02 , ESCAPE_FLAG_PERCENT = 0x04 , ESCAPE_FLAG_UNSAFE = 0x08 , ESCAPE_FLAG_DEL = 0x10 , ESCAPE_FLAG_8BIT = 0x20 , ESCAPE_FLAG_STRIP_CRLF = 0x40 } |
| enum | request_state { REQUEST_STATE_INITIALIZED , REQUEST_STATE_CANCELLED , REQUEST_STATE_OPEN , REQUEST_STATE_SENT , REQUEST_STATE_RESPONSE_RECEIVED } |
| enum | type_id { INetFwAuthorizedApplication_tid , INetFwAuthorizedApplications_tid , INetFwMgr_tid , INetFwOpenPort_tid , INetFwOpenPorts_tid , INetFwPolicy_tid , INetFwPolicy2_tid , INetFwProfile_tid , INetFwRules_tid , IUPnPNAT_tid , last_tid , ISWbemLocator_tid , ISWbemObject_tid , ISWbemObjectSet_tid , ISWbemProperty_tid , ISWbemPropertySet_tid , ISWbemServices_tid , ISWbemSecurity_tid , last_tid , IWinHttpRequest_tid , last_tid } |
Variables | |
| static const WCHAR * | attribute_table [] |
| struct { | |
| const WCHAR * str | |
| unsigned int len | |
| DWORD scheme | |
| } | auth_schemes [] |
| static CRITICAL_SECTION | connection_pool_cs = { &connection_pool_debug, -1, 0, 0, 0, 0 } |
| static CRITICAL_SECTION_DEBUG | connection_pool_debug |
| static struct list | connection_pool = LIST_INIT( connection_pool ) |
| static BOOL | connection_collector_running |
| static const struct object_vtbl | socket_vtbl |
| static ITypeLib * | winhttp_typelib |
| static ITypeInfo * | winhttp_typeinfo [last_tid] |
| static REFIID | winhttp_tid_id [] |
| static const IStreamVtbl | stream_vtbl |
| static const struct IWinHttpRequestVtbl | winhttp_request_vtbl |
| #define ESCAPE_MASK_DEFAULT |
| #define ESCAPE_MASK_DISABLE (ESCAPE_FLAG_SPACE | ESCAPE_FLAG_8BIT | ESCAPE_FLAG_STRIP_CRLF) |
| #define ESCAPE_MASK_PERCENT (ESCAPE_FLAG_PERCENT | ESCAPE_MASK_DEFAULT) |
| #define QUERY_MODIFIER_MASK (WINHTTP_QUERY_FLAG_REQUEST_HEADERS | WINHTTP_QUERY_FLAG_SYSTEMTIME | WINHTTP_QUERY_FLAG_NUMBER) |
| Enumerator | |
|---|---|
| ESCAPE_FLAG_NON_PRINTABLE | |
| ESCAPE_FLAG_SPACE | |
| ESCAPE_FLAG_PERCENT | |
| ESCAPE_FLAG_UNSAFE | |
| ESCAPE_FLAG_DEL | |
| ESCAPE_FLAG_8BIT | |
| ESCAPE_FLAG_STRIP_CRLF | |
Definition at line 2053 of file request.c.
| Enumerator | |
|---|---|
| REQUEST_STATE_INITIALIZED | |
| REQUEST_STATE_CANCELLED | |
| REQUEST_STATE_OPEN | |
| REQUEST_STATE_SENT | |
| REQUEST_STATE_RESPONSE_RECEIVED | |
Definition at line 1748 of file request.c.
Referenced by handle_redirect(), and send_request().
| DWORD add_request_headers | ( | struct request * | request, |
| const WCHAR * | headers, | ||
| DWORD | len, | ||
| DWORD | flags | ||
| ) |
Definition at line 485 of file request.c.
Referenced by add_cookie_headers(), send_request(), and WinHttpAddRequestHeaders().
Definition at line 2233 of file request.c.
Referenced by send_request().
|
static |
Definition at line 1417 of file request.c.
Referenced by open_connection().
|
static |
Definition at line 150 of file request.c.
Referenced by cancel_queue(), and get_next_task().
Definition at line 1079 of file request.c.
Referenced by do_authorization().
Definition at line 871 of file request.c.
Referenced by get_authvalue(), and query_auth_schemes().
Definition at line 552 of file request.c.
Referenced by build_request_string(), and build_wire_path().
Definition at line 578 of file request.c.
Referenced by query_headers().
Definition at line 2130 of file request.c.
Referenced by build_wire_request().
Definition at line 2174 of file request.c.
Referenced by send_request().
Definition at line 1503 of file request.c.
Referenced by finished_reading().
Definition at line 245 of file request.c.
Referenced by socket_handle_closing(), and WinHttpWebSocketClose().
|
static |
Definition at line 4651 of file request.c.
Referenced by reset_request(), winhttp_request_Abort(), and winhttp_request_Release().
Definition at line 1769 of file request.c.
Referenced by send_request().
|
static |
Definition at line 3670 of file request.c.
Referenced by task_socket_send(), task_socket_send_pong(), and task_socket_shutdown().
|
static |
Definition at line 1465 of file request.c.
Referenced by cache_connection().
Definition at line 2223 of file request.c.
Referenced by add_websocket_key_header().
Definition at line 1017 of file request.c.
Referenced by do_authorization().
Definition at line 1007 of file request.c.
Referenced by decode_base64().
Definition at line 411 of file request.c.
Referenced by clear_response_headers(), and process_header().
Definition at line 1097 of file request.c.
Referenced by do_authorization().
Definition at line 1819 of file request.c.
Referenced by start_next_chunk().
Definition at line 1122 of file request.c.
Referenced by handle_authorization(), and send_request().
Definition at line 2037 of file request.c.
Referenced by send_request().
Definition at line 966 of file request.c.
Referenced by create_websocket_key(), and do_authorization().
Definition at line 1981 of file request.c.
Referenced by query_data_available(), read_data(), and skip_async_queue().
Definition at line 1536 of file request.c.
|
static |
Definition at line 1936 of file request.c.
Referenced by read_data().
Definition at line 282 of file request.c.
Referenced by add_request_headers(), parse_header(), and read_reply().
|
static |
Definition at line 4668 of file request.c.
Referenced by winhttp_request_Release().
|
static |
Definition at line 1110 of file request.c.
Referenced by do_authorization().
Definition at line 1970 of file request.c.
Referenced by query_data_ready(), and read_data().
Definition at line 1844 of file request.c.
Referenced by get_available_data().
|
static |
Definition at line 370 of file request.c.
Referenced by process_header(), and query_headers().
|
static |
Definition at line 161 of file request.c.
Referenced by task_callback().
|
static |
Definition at line 2756 of file request.c.
Referenced by handle_redirect().
Definition at line 4753 of file request.c.
Referenced by winhttp_request_GetIDsOfNames(), winhttp_request_GetTypeInfo(), and winhttp_request_Invoke().
Definition at line 2520 of file request.c.
Referenced by receive_response().
Definition at line 4104 of file request.c.
Referenced by socket_receive().
Definition at line 2906 of file request.c.
Referenced by receive_response().
Definition at line 2774 of file request.c.
Referenced by receive_response().
Definition at line 5738 of file request.c.
Referenced by stream_AddRef(), stream_QueryInterface(), stream_Read(), stream_Release(), and stream_Seek().
|
inlinestatic |
Definition at line 4638 of file request.c.
Referenced by winhttp_request_Abort(), winhttp_request_AddRef(), winhttp_request_get_Option(), winhttp_request_get_ResponseBody(), winhttp_request_get_ResponseStream(), winhttp_request_get_ResponseText(), winhttp_request_get_Status(), winhttp_request_get_StatusText(), winhttp_request_GetAllResponseHeaders(), winhttp_request_GetIDsOfNames(), winhttp_request_GetResponseHeader(), winhttp_request_GetTypeInfo(), winhttp_request_GetTypeInfoCount(), winhttp_request_Invoke(), winhttp_request_Open(), winhttp_request_put_Option(), winhttp_request_QueryInterface(), winhttp_request_Release(), winhttp_request_Send(), winhttp_request_SetAutoLogonPolicy(), winhttp_request_SetCredentials(), winhttp_request_SetProxy(), winhttp_request_SetRequestHeader(), winhttp_request_SetTimeouts(), and winhttp_request_WaitForResponse().
Definition at line 137 of file request.c.
Referenced by WinHttpOpenRequest(), and WinHttpWebSocketCompleteUpgrade().
|
static |
Definition at line 4999 of file request.c.
Referenced by WinHttpRequest_create().
Definition at line 390 of file request.c.
Referenced by process_header().
Definition at line 2891 of file request.c.
Referenced by receive_response().
|
static |
Definition at line 3966 of file request.c.
Referenced by receive_frame().
|
static |
Definition at line 3744 of file request.c.
Referenced by socket_send().
|
static |
Definition at line 4139 of file request.c.
Referenced by socket_receive().
Definition at line 1525 of file request.c.
Referenced by ensure_cred_handle().
|
inlinestatic |
Definition at line 2069 of file request.c.
Referenced by escape_string().
Definition at line 1567 of file request.c.
Referenced by send_request().
Definition at line 310 of file request.c.
Referenced by add_request_headers(), and read_reply().
| DWORD process_header | ( | struct request * | request, |
| const WCHAR * | field, | ||
| const WCHAR * | value, | ||
| DWORD | flags, | ||
| BOOL | request_only | ||
| ) |
Definition at line 424 of file request.c.
Referenced by add_accept_types_header(), add_host_header(), add_request_headers(), add_websocket_key_header(), do_authorization(), handle_passport_redirect(), read_reply(), and send_request().
|
static |
Definition at line 883 of file request.c.
Referenced by handle_authorization(), and WinHttpQueryAuthSchemes().
|
static |
Definition at line 3112 of file request.c.
Referenced by task_query_data_available(), and WinHttpQueryDataAvailable().
Definition at line 3094 of file request.c.
Referenced by query_data_available(), and skip_async_queue().
|
static |
Definition at line 624 of file request.c.
Referenced by finished_reading(), get_authvalue(), get_redirect_url(), is_passport_request(), query_auth_schemes(), receive_response(), send_request(), set_content_length(), and WinHttpQueryHeaders().
Definition at line 2928 of file request.c.
Referenced by receive_response().
|
static |
Definition at line 207 of file request.c.
Referenced by queue_receive_response(), send_socket_shutdown(), socket_send_pong(), WinHttpQueryDataAvailable(), WinHttpReadData(), WinHttpSendRequest(), WinHttpWebSocketClose(), WinHttpWebSocketReceive(), WinHttpWebSocketSend(), and WinHttpWriteData().
|
static |
Definition at line 1989 of file request.c.
Definition at line 1791 of file request.c.
Referenced by discard_eol(), read_line(), refill_buffer(), and start_next_chunk().
Definition at line 2625 of file request.c.
Referenced by receive_response(), secure_proxy_connect(), and send_request().
|
static |
Definition at line 3937 of file request.c.
Referenced by receive_close_status(), receive_frame(), socket_drain(), and socket_receive().
Definition at line 4086 of file request.c.
Referenced by handle_control_frame(), and socket_close().
|
static |
Definition at line 3983 of file request.c.
Referenced by socket_close(), and socket_receive().
Definition at line 3708 of file request.c.
Referenced by task_socket_close(), and task_socket_receive().
|
static |
Definition at line 2939 of file request.c.
Definition at line 2742 of file request.c.
Referenced by receive_response().
Definition at line 1911 of file request.c.
Referenced by drain_content(), query_data_available(), and read_data().
Definition at line 1449 of file request.c.
Referenced by netconn_release(), and open_connection().
|
static |
Definition at line 155 of file request.c.
Referenced by cancel_queue(), get_next_task(), and task_callback().
Definition at line 1784 of file request.c.
Referenced by discard_eol(), get_chunk_size(), read_data(), read_line(), and start_next_chunk().
|
static |
Definition at line 5620 of file request.c.
Referenced by winhttp_request_get_ResponseText().
|
static |
Definition at line 5315 of file request.c.
Referenced by send_and_receive_proc().
Definition at line 52 of file request.c.
Referenced by open_connection(), receive_response(), and send_request().
|
static |
Definition at line 5409 of file request.c.
Referenced by send_and_receive_proc().
|
static |
Definition at line 5375 of file request.c.
Referenced by request_send().
|
static |
Definition at line 5397 of file request.c.
Referenced by request_send().
|
static |
Definition at line 5479 of file request.c.
Referenced by winhttp_request_Send(), and winhttp_request_WaitForResponse().
|
static |
|
static |
Definition at line 863 of file request.c.
Referenced by do_authorization(), and set_credentials().
Definition at line 1397 of file request.c.
Referenced by HTTP_HttpSendRequestW(), and open_connection().
|
static |
Definition at line 5471 of file request.c.
Referenced by winhttp_request_Send().
|
static |
Definition at line 3558 of file request.c.
Referenced by complete_send_frame(), and send_frame().
|
static |
Definition at line 3573 of file request.c.
Referenced by send_socket_shutdown(), socket_send(), socket_send_pong(), task_socket_send_pong(), and task_socket_shutdown().
|
static |
Definition at line 3701 of file request.c.
Referenced by task_socket_send(), task_socket_send_pong(), and task_socket_shutdown().
|
static |
Definition at line 2242 of file request.c.
|
static |
Definition at line 4358 of file request.c.
Referenced by WinHttpWebSocketClose(), and WinHttpWebSocketShutdown().
Definition at line 2554 of file request.c.
Referenced by receive_response().
|
static |
Definition at line 2450 of file request.c.
Referenced by WinHttpSetCredentials().
Definition at line 3104 of file request.c.
Referenced by WinHttpQueryDataAvailable(), and WinHttpReadData().
Definition at line 3719 of file request.c.
Referenced by WinHttpWebSocketReceive().
Definition at line 4441 of file request.c.
Referenced by task_socket_close(), and WinHttpWebSocketClose().
Definition at line 4464 of file request.c.
Referenced by task_socket_close(), and WinHttpWebSocketClose().
|
static |
Definition at line 4073 of file request.c.
Referenced by handle_control_frame(), and socket_close().
|
static |
|
static |
Definition at line 3426 of file request.c.
|
static |
Definition at line 4191 of file request.c.
|
static |
Definition at line 4234 of file request.c.
Referenced by task_socket_receive().
|
static |
Definition at line 3808 of file request.c.
|
static |
Definition at line 3789 of file request.c.
Referenced by task_socket_send(), and WinHttpWebSocketSend().
Definition at line 4031 of file request.c.
Referenced by handle_control_frame(), and socket_receive().
|
static |
Definition at line 4328 of file request.c.
Referenced by send_socket_shutdown(), and task_socket_shutdown().
Definition at line 1869 of file request.c.
Referenced by read_data(), and refill_buffer().
Definition at line 144 of file request.c.
Referenced by request_destroy(), and socket_destroy().
|
static |
Definition at line 2114 of file request.c.
Referenced by build_wire_path(), and build_wire_request().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 187 of file request.c.
Referenced by queue_task().
|
static |
Definition at line 240 of file request.c.
Referenced by cancel_queue(), task_socket_close(), and task_socket_receive().
Definition at line 3142 of file request.c.
Referenced by WinHttpQueryDataAvailable().
Definition at line 3054 of file request.c.
Referenced by queue_receive_response().
Definition at line 272 of file request.c.
Referenced by WinHttpQueryDataAvailable(), and WinHttpReadData().
Definition at line 4477 of file request.c.
Referenced by WinHttpWebSocketClose().
Definition at line 4253 of file request.c.
Referenced by WinHttpWebSocketReceive().
Definition at line 3818 of file request.c.
Referenced by WinHttpWebSocketSend().
Definition at line 4016 of file request.c.
Referenced by socket_send_pong().
Definition at line 4341 of file request.c.
Referenced by send_socket_shutdown().
Definition at line 3357 of file request.c.
Referenced by WinHttpWriteData().
Definition at line 1836 of file request.c.
Referenced by get_chunk_size(), and start_next_chunk().
Definition at line 289 of file request.c.
Referenced by parse_header().
|
static |
Definition at line 3724 of file request.c.
Referenced by WinHttpWebSocketSend().
|
static |
Definition at line 5294 of file request.c.
Referenced by request_receive(), and request_send().
|
static |
Definition at line 5288 of file request.c.
Referenced by request_receive(), and request_send().
|
static |
Definition at line 5261 of file request.c.
Referenced by wait_set_status_callback().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | winhttp | ) |
Definition at line 6056 of file request.c.
|
static |
Definition at line 5929 of file request.c.
|
static |
Definition at line 5684 of file request.c.
|
static |
Definition at line 5887 of file request.c.
|
static |
Definition at line 5650 of file request.c.
|
static |
Definition at line 5581 of file request.c.
|
static |
Definition at line 5222 of file request.c.
|
static |
Definition at line 4812 of file request.c.
|
static |
Definition at line 5179 of file request.c.
|
static |
|
static |
|
static |
Definition at line 4837 of file request.c.
|
static |
Definition at line 5042 of file request.c.
|
static |
Definition at line 5961 of file request.c.
|
static |
Definition at line 5511 of file request.c.
|
static |
Definition at line 6097 of file request.c.
|
static |
Definition at line 4960 of file request.c.
|
static |
Definition at line 4907 of file request.c.
|
static |
Definition at line 5135 of file request.c.
|
static |
Definition at line 6069 of file request.c.
|
static |
| BOOL WINAPI WinHttpAddRequestHeaders | ( | HINTERNET | hrequest, |
| const WCHAR * | headers, | ||
| DWORD | len, | ||
| DWORD | flags | ||
| ) |
Definition at line 521 of file request.c.
Referenced by request_set_utf8_content_type(), test_async(), test_bad_header(), test_chunked_request(), test_WinHttpAddHeaders(), and winhttp_request_SetRequestHeader().
| BOOL WINAPI WinHttpQueryAuthSchemes | ( | HINTERNET | hrequest, |
| LPDWORD | supported, | ||
| LPDWORD | first, | ||
| LPDWORD | target | ||
| ) |
Definition at line 925 of file request.c.
Referenced by test_basic_authentication(), test_basic_request(), and test_multi_authentication().
Definition at line 3156 of file request.c.
Referenced by request_receive(), test_async(), test_chunked_read(), test_head_request(), test_multiple_reads(), test_no_content(), test_not_modified(), test_recursion(), test_recursion_callback(), test_redirect(), test_secure_connection(), and test_websocket().
| BOOL WINAPI WinHttpQueryHeaders | ( | HINTERNET | hrequest, |
| DWORD | level, | ||
| const WCHAR * | name, | ||
| void * | buffer, | ||
| DWORD * | buflen, | ||
| DWORD * | index | ||
| ) |
Definition at line 814 of file request.c.
Referenced by do_request(), download_script(), progress_callback_http(), request_get_codepage(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_cookies(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_no_content(), test_not_modified(), test_passport_auth(), test_recursion(), test_redirect(), test_request_parameter_defaults(), test_secure_connection(), test_websocket(), test_WinHttpAddHeaders(), test_WinHttpSendRequest(), winhttp_request_get_Status(), winhttp_request_get_StatusText(), winhttp_request_GetAllResponseHeaders(), and winhttp_request_GetResponseHeader().
Definition at line 3252 of file request.c.
Referenced by _read_request_data(), download_script(), request_receive(), test_async(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_chunked_request(), test_connection_cache(), test_head_request(), test_multiple_reads(), test_no_content(), test_recursion(), test_recursion_callback(), test_redirect(), test_secure_connection(), test_WinHttpSendRequest(), and transfer_file_http().
Definition at line 3068 of file request.c.
Referenced by do_request(), download_script(), request_receive(), server_send_reply(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_chunked_request(), test_client_cert_authentication(), test_connection_cache(), test_connection_info(), test_cookies(), test_head_request(), test_large_data_authentication(), test_max_http_automatic_redirects(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_recursion(), test_recursion_callback(), test_redirect(), test_request_parameter_defaults(), test_resolve_timeout(), test_secure_connection(), test_websocket(), test_WinHttpSendRequest(), and transfer_file_http().
Definition at line 6155 of file request.c.
| BOOL WINAPI WinHttpSendRequest | ( | HINTERNET | hrequest, |
| const WCHAR * | headers, | ||
| DWORD | headers_len, | ||
| void * | optional, | ||
| DWORD | optional_len, | ||
| DWORD | total_len, | ||
| DWORD_PTR | context | ||
| ) |
Definition at line 2397 of file request.c.
Referenced by do_request(), download_script(), open_async_request(), request_send(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_chunked_request(), test_client_cert_authentication(), test_connect_error(), test_connection_cache(), test_connection_info(), test_cookies(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_max_http_automatic_redirects(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_recursion(), test_redirect(), test_request_parameter_defaults(), test_resolve_timeout(), test_secure_connection(), test_websocket(), test_WinHttpOpenRequest(), test_WinHttpSendRequest(), and transfer_file_http().
| BOOL WINAPI WinHttpSetCredentials | ( | HINTERNET | hrequest, |
| DWORD | target, | ||
| DWORD | scheme, | ||
| const WCHAR * | username, | ||
| const WCHAR * | password, | ||
| void * | params | ||
| ) |
Definition at line 2493 of file request.c.
Referenced by set_request_credentials(), test_basic_authentication(), test_credentials(), test_large_data_authentication(), and winhttp_request_SetCredentials().
Definition at line 4497 of file request.c.
Definition at line 3492 of file request.c.
| DWORD WINAPI WinHttpWebSocketQueryCloseStatus | ( | HINTERNET | hsocket, |
| USHORT * | status, | ||
| void * | reason, | ||
| DWORD | len, | ||
| DWORD * | ret_len | ||
| ) |
Definition at line 4561 of file request.c.
| DWORD WINAPI WinHttpWebSocketReceive | ( | HINTERNET | hsocket, |
| void * | buf, | ||
| DWORD | len, | ||
| DWORD * | ret_len, | ||
| WINHTTP_WEB_SOCKET_BUFFER_TYPE * | ret_type | ||
| ) |
| DWORD WINAPI WinHttpWebSocketSend | ( | HINTERNET | hsocket, |
| WINHTTP_WEB_SOCKET_BUFFER_TYPE | type, | ||
| void * | buf, | ||
| DWORD | len | ||
| ) |
Definition at line 3836 of file request.c.
| DWORD WINAPI WinHttpWebSocketShutdown | ( | HINTERNET | hsocket, |
| USHORT | status, | ||
| void * | reason, | ||
| DWORD | len | ||
| ) |
| BOOL WINAPI WinHttpWriteData | ( | HINTERNET | hrequest, |
| const void * | buffer, | ||
| DWORD | to_write, | ||
| DWORD * | written | ||
| ) |
Definition at line 3371 of file request.c.
Referenced by test_recursion_callback(), and test_WinHttpSendRequest().
|
static |
Definition at line 3335 of file request.c.
Definition at line 58 of file request.c.
Referenced by query_headers().
| const struct { ... } auth_schemes[] |
Referenced by auth_scheme_from_header(), do_authorization(), handle_authorization(), and scheme_from_flag().
|
static |
Definition at line 1463 of file request.c.
Referenced by cache_connection(), and connection_collector().
Definition at line 1447 of file request.c.
Referenced by connection_collector(), and open_connection().
|
static |
Definition at line 1438 of file request.c.
Referenced by cache_connection(), connection_collector(), open_connection(), and release_host().
|
static |
Definition at line 851 of file request.c.
Referenced by add_host_header(), build_absolute_request_path(), build_request_string(), build_wire_path(), complete_send_frame(), escape_string(), get_authvalue(), handle_passport_redirect(), handle_redirect(), open_connection(), parse_header(), process_header(), query_headers(), read_more_data(), read_reply(), receive_bytes(), receive_frame(), request_send(), request_set_utf8_content_type(), secure_proxy_connect(), send_frame(), send_request(), send_socket_shutdown(), socket_receive_complete(), socket_send_complete(), str_to_wire(), winhttp_request_get_ResponseText(), winhttp_request_Open(), winhttp_request_SetRequestHeader(), WinHttpWebSocketReceive(), and WinHttpWebSocketSend().
| DWORD scheme |
Definition at line 852 of file request.c.
Referenced by build_absolute_request_path(), do_authorization(), get_authvalue(), handle_authorization(), query_auth_schemes(), scheme_from_flag(), set_credentials(), winhttp_request_SetCredentials(), and WinHttpSetCredentials().
|
static |
Definition at line 3484 of file request.c.
Referenced by WinHttpWebSocketCompleteUpgrade().
Definition at line 850 of file request.c.
Referenced by auth_scheme_from_header(), do_authorization(), request_send(), secure_proxy_connect(), and winhttp_request_SetRequestHeader().
|
static |
Definition at line 5869 of file request.c.
Referenced by winhttp_request_get_ResponseStream().
Definition at line 6125 of file request.c.
Referenced by WinHttpRequest_create().
|
static |
Definition at line 4748 of file request.c.
Referenced by get_typeinfo().
Definition at line 4746 of file request.c.
Referenced by get_typeinfo(), and release_typelib().
|
static |
Definition at line 4745 of file request.c.
Referenced by get_typeinfo(), and release_typelib().