ReactOS
0.4.14-dev-583-g2a1ba2c
|
#include "config.h"
#include <stdarg.h>
#include <stdlib.h>
#include "windef.h"
#include "winbase.h"
#include "winsock2.h"
#include "ws2ipdef.h"
#include "ws2tcpip.h"
#include "winhttp.h"
#include "winreg.h"
#include "wine/winternl.h"
#include "ole2.h"
#include "dispex.h"
#include "activscp.h"
#include "wine/debug.h"
#include "winhttp_private.h"
Go to the source code of this file.
Classes | |
struct | connection_settings_header |
struct | AUTO_PROXY_SCRIPT_BUFFER |
Macros | |
#define | COBJMACROS |
#define | DEFAULT_RESOLVE_TIMEOUT 0 |
#define | DEFAULT_CONNECT_TIMEOUT 20000 |
#define | DEFAULT_SEND_TIMEOUT 30000 |
#define | DEFAULT_RECEIVE_TIMEOUT 30000 |
#define | DEFAULT_RECEIVE_RESPONSE_TIMEOUT ~0u |
#define | MAX_HOST_NAME_LENGTH 256 |
#define | INTERNET_MAX_URL_LENGTH 2084 |
Variables | |
static const struct object_vtbl | session_vtbl |
static const struct object_vtbl | connect_vtbl |
static const struct object_vtbl | request_vtbl |
static const WCHAR | Connections [] |
static const WCHAR | WinHttpSettings [] |
static const DWORD | WINHTTP_SETTINGS_MAGIC = 0x18 |
static const DWORD | WININET_SETTINGS_MAGIC = 0x46 |
static const DWORD | PROXY_TYPE_DIRECT = 1 |
static const DWORD | PROXY_TYPE_PROXY = 2 |
static const DWORD | PROXY_USE_PAC_SCRIPT = 4 |
static const DWORD | PROXY_AUTODETECT_SETTINGS = 8 |
static const WCHAR | wkday [7][4] |
static const WCHAR | month [12][4] |
Definition at line 1079 of file session.c.
Referenced by WinHttpOpenRequest().
|
static |
Definition at line 664 of file session.c.
Referenced by request_query_option().
Definition at line 1354 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
|
static |
Definition at line 310 of file session.c.
|
static |
Definition at line 325 of file session.c.
Definition at line 1517 of file session.c.
Referenced by WinHttpGetDefaultProxyConfiguration(), and WinHttpGetIEProxyConfigForCurrentUser().
Definition at line 676 of file session.c.
Referenced by request_query_option().
Definition at line 383 of file session.c.
Referenced by should_bypass_proxy().
Definition at line 1770 of file session.c.
Referenced by WinHttpGetProxyForUrl().
|
static |
Definition at line 1324 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
Definition at line 1376 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
Definition at line 111 of file main.c.
Referenced by run_script().
Referenced by run_script().
BOOL WINAPI InternetInitializeAutoProxyDll | ( | DWORD | , |
LPSTR | , | ||
LPSTR | , | ||
void * | , | ||
struct AUTO_PROXY_SCRIPT_BUFFER * | |||
) |
Referenced by run_script().
Definition at line 1340 of file session.c.
Referenced by WinHttpDetectAutoProxyConfigUrl().
|
static |
Definition at line 1736 of file session.c.
Referenced by run_script().
|
static |
Definition at line 1204 of file session.c.
Referenced by WinHttpQueryOption().
|
static |
Definition at line 596 of file session.c.
|
static |
Definition at line 702 of file session.c.
|
static |
Definition at line 881 of file session.c.
|
static |
Definition at line 1841 of file session.c.
Referenced by WinHttpGetProxyForUrl().
Definition at line 55 of file session.c.
Referenced by close_connection(), handle_redirect(), open_connection(), query_data_available(), read_data(), read_more_data(), receive_response(), release_object(), send_request(), WinHttpConnect(), WinHttpOpenRequest(), and write_data().
|
static |
Definition at line 77 of file session.c.
|
static |
Definition at line 96 of file session.c.
|
static |
Definition at line 147 of file session.c.
|
static |
Definition at line 1265 of file session.c.
Referenced by WinHttpSetOption().
Definition at line 468 of file session.c.
Referenced by handle_redirect(), and WinHttpConnect().
Definition at line 437 of file session.c.
Referenced by set_server_for_hostname().
WINE_DEFAULT_DEBUG_CHANNEL | ( | winhttp | ) |
Definition at line 1187 of file session.c.
Referenced by close_request(), do_request(), download_script(), free_request(), reset_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_request_path_escapes(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpGetProxyForUrl(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
HINTERNET WINAPI WinHttpConnect | ( | HINTERNET | hsession, |
LPCWSTR | server, | ||
INTERNET_PORT | port, | ||
DWORD | reserved | ||
) |
Definition at line 533 of file session.c.
Referenced by download_script(), open_async_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_request_path_escapes(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
Definition at line 1415 of file session.c.
Referenced by test_WinHttpDetectAutoProxyConfigUrl(), and WinHttpGetProxyForUrl().
BOOL WINAPI WinHttpGetDefaultProxyConfiguration | ( | WINHTTP_PROXY_INFO * | info | ) |
Definition at line 1529 of file session.c.
Referenced by proxy_active(), and WinHttpOpen().
BOOL WINAPI WinHttpGetIEProxyConfigForCurrentUser | ( | WINHTTP_CURRENT_USER_IE_PROXY_CONFIG * | config | ) |
Definition at line 1656 of file session.c.
Referenced by test_WinHttpGetIEProxyConfigForCurrentUser().
BOOL WINAPI WinHttpGetProxyForUrl | ( | HINTERNET | hsession, |
LPCWSTR | url, | ||
WINHTTP_AUTOPROXY_OPTIONS * | options, | ||
WINHTTP_PROXY_INFO * | info | ||
) |
Definition at line 1884 of file session.c.
Referenced by test_WinHttpGetProxyForUrl().
HINTERNET WINAPI WinHttpOpen | ( | LPCWSTR | agent, |
DWORD | access, | ||
LPCWSTR | proxy, | ||
LPCWSTR | bypass, | ||
DWORD | flags | ||
) |
Definition at line 246 of file session.c.
Referenced by download_script(), open_async_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_request_path_escapes(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpGetProxyForUrl(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
HINTERNET WINAPI WinHttpOpenRequest | ( | HINTERNET | hconnect, |
LPCWSTR | verb, | ||
LPCWSTR | object, | ||
LPCWSTR | version, | ||
LPCWSTR | referrer, | ||
LPCWSTR * | types, | ||
DWORD | flags | ||
) |
Definition at line 1109 of file session.c.
Referenced by do_request(), download_script(), open_async_request(), test_async(), test_bad_header(), test_basic_authentication(), test_basic_request(), test_chunked_read(), test_connection_cache(), test_connection_info(), test_cookies(), test_credentials(), test_empty_headers_param(), test_head_request(), test_large_data_authentication(), test_multi_authentication(), test_multiple_reads(), test_no_content(), test_no_headers(), test_not_modified(), test_passport_auth(), test_redirect(), test_request_parameter_defaults(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpAddHeaders(), test_WinHttpOpenRequest(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
Definition at line 1245 of file session.c.
Referenced by check_notification(), test_basic_request(), test_connection_info(), test_credentials(), test_secure_connection(), test_timeouts(), test_WinHttpQueryOption(), and test_WinHttpSendRequest().
BOOL WINAPI WinHttpSetDefaultProxyConfiguration | ( | WINHTTP_PROXY_INFO * | info | ) |
Definition at line 1940 of file session.c.
Referenced by test_set_default_proxy_config().
Definition at line 1304 of file session.c.
Referenced by open_async_request(), request_set_parameters(), test_async(), test_basic_authentication(), test_basic_request(), test_connection_cache(), test_credentials(), test_passport_auth(), test_redirect(), test_resolve_timeout(), test_secure_connection(), test_timeouts(), test_WinHttpQueryOption(), test_WinHttpSendRequest(), transfer_file_http(), and winhttp_request_Open().
WINHTTP_STATUS_CALLBACK WINAPI WinHttpSetStatusCallback | ( | HINTERNET | handle, |
WINHTTP_STATUS_CALLBACK | callback, | ||
DWORD | flags, | ||
DWORD_PTR | reserved | ||
) |
Definition at line 2048 of file session.c.
Referenced by open_async_request(), test_async(), test_connection_cache(), test_redirect(), test_secure_connection(), transfer_file_http(), and wait_set_status_callback().