ReactOS 0.4.16-dev-329-g9223134
|
#include <stdlib.h>
#include "winsock2.h"
#include "ws2ipdef.h"
#include <stdarg.h>
#include <stdio.h>
#include <time.h>
#include <assert.h>
#include <errno.h>
#include <limits.h>
#include "windef.h"
#include "winbase.h"
#include "wininet.h"
#include "winerror.h"
#include "winternl.h"
#include "shlwapi.h"
#include "sspi.h"
#include "wincrypt.h"
#include "winuser.h"
#include "internet.h"
#include "zlib.h"
#include "resource.h"
#include "wine/debug.h"
#include "wine/exception.h"
Go to the source code of this file.
Classes | |
struct | HttpAuthInfo |
struct | _basicAuthorizationData |
struct | _authorizationData |
struct | data_stream_vtbl_t |
struct | chunked_stream_t |
struct | gzip_stream_t |
struct | read_file_task_t |
struct | send_request_task_t |
struct | end_request_task_t |
Macros | |
#define | NO_SHLWAPI_STREAM |
#define | NO_SHLWAPI_REG |
#define | NO_SHLWAPI_GDI |
#define | HTTP_ADDHDR_FLAG_ADD 0x20000000 |
#define | HTTP_ADDHDR_FLAG_ADD_IF_NEW 0x10000000 |
#define | HTTP_ADDHDR_FLAG_COALESCE_WITH_COMMA 0x40000000 |
#define | HTTP_ADDHDR_FLAG_COALESCE_WITH_SEMICOLON 0x01000000 |
#define | HTTP_ADDHDR_FLAG_REPLACE 0x80000000 |
#define | HTTP_ADDHDR_FLAG_REQ 0x02000000 |
#define | COLLECT_TIME 60000 |
#define | FE(x) { x, #x } |
#define | COALESCEFLAGS (HTTP_ADDHDR_FLAG_COALESCE_WITH_COMMA|HTTP_ADDHDR_FLAG_COALESCE_WITH_SEMICOLON) |
Typedefs | |
typedef struct _basicAuthorizationData | basicAuthorizationData |
typedef struct _authorizationData | authorizationData |
Variables | |
static struct list | basicAuthorizationCache = LIST_INIT(basicAuthorizationCache) |
static struct list | authorizationCache = LIST_INIT(authorizationCache) |
static CRITICAL_SECTION | authcache_cs = { &critsect_debug, -1, 0, 0, 0, 0 } |
static CRITICAL_SECTION_DEBUG | critsect_debug |
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 | collector_running |
static const data_stream_vtbl_t | gzip_stream_vtbl |
static const signed char | HTTP_Base64Dec [] |
static const data_stream_vtbl_t | netconn_stream_vtbl |
static const data_stream_vtbl_t | chunked_stream_vtbl |
static const object_vtbl_t | HTTPREQVtbl |
static const LPCWSTR | header_lookup [] |
static const object_vtbl_t | HTTPSESSIONVtbl |
|
static |
Definition at line 3157 of file http.c.
Referenced by HTTPREQ_QueryDataAvailable(), and HTTPREQ_ReadFile().
|
static |
Definition at line 3117 of file http.c.
Referenced by async_read().
|
static |
Definition at line 5369 of file http.c.
Referenced by HttpEndRequestW().
|
static |
Definition at line 5255 of file http.c.
Referenced by HttpSendRequestExW(), and HttpSendRequestW().
|
static |
Definition at line 4879 of file http.c.
Referenced by HTTP_HttpSendRequestW().
|
static |
Definition at line 1657 of file http.c.
Referenced by HTTP_HttpSendRequestW().
|
static |
Definition at line 556 of file http.c.
Referenced by HTTP_HttpQueryInfoW(), and HTTP_HttpSendRequestW().
|
static |
Definition at line 613 of file http.c.
Referenced by commit_cache_entry(), and HTTP_HttpQueryInfoW().
|
static |
Definition at line 891 of file http.c.
Referenced by HTTP_DoAuthorization().
|
static |
Definition at line 814 of file http.c.
Referenced by HTTP_DoAuthorization().
|
static |
|
static |
Definition at line 2911 of file http.c.
|
static |
|
static |
Definition at line 2768 of file http.c.
Referenced by chunked_drain_content().
BOOL collect_connections | ( | collect_type_t | collect_type | ) |
Definition at line 235 of file http.c.
Referenced by collect_connections_proc(), DllMain(), and INET_SetOption().
Definition at line 269 of file http.c.
Referenced by http_release_netconn().
|
static |
Definition at line 2426 of file http.c.
Referenced by create_cache_entry(), and read_http_stream().
|
static |
Definition at line 1815 of file http.c.
Referenced by create_cache_entry(), and HTTPREQ_QueryOption().
Definition at line 1359 of file http.c.
Referenced by HttpOpenRequestA().
|
static |
Definition at line 2449 of file http.c.
Referenced by HTTP_HttpEndRequestW(), and HTTP_HttpSendRequestW().
|
static |
Definition at line 763 of file http.c.
Referenced by HTTP_DoAuthorization(), HTTP_HttpSendRequestW(), and HTTPREQ_Destroy().
|
inlinestatic |
Definition at line 342 of file http.c.
Referenced by gzip_destroy(), HTTPREQ_Destroy(), and reset_data_stream().
|
static |
Definition at line 3091 of file http.c.
Referenced by async_read_file_proc(), HTTP_HttpEndRequestW(), HTTP_HttpSendRequestW(), HTTPREQ_CloseConnection(), HTTPREQ_Read(), and open_http_connection().
Definition at line 1574 of file http.c.
Referenced by HTTP_InsertAuthorization().
|
static |
Definition at line 2625 of file http.c.
Referenced by HTTPREQ_QueryDataAvailable(), and HTTPREQ_ReadFile().
Definition at line 943 of file http.c.
Referenced by InternetSetOptionW().
|
static |
Definition at line 304 of file http.c.
Referenced by HTTP_InsertAuthorization().
|
static |
Definition at line 4076 of file http.c.
Referenced by HTTP_HttpEndRequestW(), and HTTP_HttpSendRequestW().
|
static |
Definition at line 2022 of file http.c.
Referenced by HTTPREQ_QueryOption().
server_t * get_server | ( | substr_t | name, |
INTERNET_PORT | port, | ||
BOOL | is_https, | ||
BOOL | do_create | ||
) |
Definition at line 198 of file http.c.
Referenced by HTTP_DealWithProxy(), HTTP_HandleRedirect(), and HTTP_HttpOpenRequestW().
|
static |
|
static |
Definition at line 444 of file http.c.
|
static |
Definition at line 374 of file http.c.
|
static |
Definition at line 381 of file http.c.
Definition at line 4259 of file http.c.
Referenced by build_request_header(), and build_response_header().
|
static |
Definition at line 5901 of file http.c.
Referenced by HTTP_GetResponseHeaders().
DWORD HTTP_Connect | ( | appinfo_t * | hIC, |
LPCWSTR | lpszServerName, | ||
INTERNET_PORT | serverPort, | ||
LPCWSTR | lpszUserName, | ||
LPCWSTR | lpszPassword, | ||
DWORD | dwFlags, | ||
DWORD_PTR | dwContext, | ||
DWORD | dwInternalFlags, | ||
HINTERNET * | ret | ||
) |
Definition at line 5836 of file http.c.
Referenced by INTERNET_InternetOpenUrlW(), and InternetConnectW().
|
static |
Definition at line 1748 of file http.c.
Referenced by HTTP_HttpOpenRequestW().
Definition at line 1524 of file http.c.
Referenced by HTTP_DoAuthorization().
|
static |
Definition at line 6322 of file http.c.
Referenced by HTTP_clear_response_headers(), HTTP_ProcessHeader(), remove_header(), and set_content_length().
|
static |
Definition at line 974 of file http.c.
Referenced by HTTP_HttpSendRequestW().
Definition at line 1680 of file http.c.
Referenced by HTTP_ShouldBypassProxy().
Definition at line 1468 of file http.c.
Referenced by encode_auth_data().
|
static |
Definition at line 524 of file http.c.
Referenced by HTTP_HttpSendRequestW().
Definition at line 517 of file http.c.
Referenced by HTTP_GetResponseHeaders(), HTTP_HttpAddRequestHeadersW(), and HTTP_InterpretHttpHeader().
|
static |
|
static |
|
static |
Definition at line 294 of file http.c.
Referenced by get_host_header(), and HTTP_HttpSendRequestW().
|
static |
Definition at line 5932 of file http.c.
Referenced by HTTP_HttpEndRequestW(), and HTTP_HttpSendRequestW().
|
static |
Definition at line 4143 of file http.c.
Referenced by HTTP_HttpEndRequestW(), and HTTP_HttpSendRequestW().
|
static |
Definition at line 1218 of file http.c.
Referenced by HTTP_HttpSendRequestW(), HTTP_InsertCookies(), HttpAddRequestHeadersW(), and set_content_length_header().
|
static |
Definition at line 5269 of file http.c.
Referenced by AsyncHttpEndRequestProc(), and HttpEndRequestW().
|
static |
Definition at line 3354 of file http.c.
Referenced by HttpOpenRequestW().
|
static |
Definition at line 3592 of file http.c.
Referenced by get_redirect_url(), HTTP_HttpSendRequestW(), HTTP_KeepAlive(), HttpQueryInfoW(), and set_content_length().
|
static |
Definition at line 4910 of file http.c.