37#define HTTPAPI_VERSION_1 {1,0}
38#define HTTPAPI_VERSION_2 {2,0}
40#define HTTP_CREATE_REQUEST_QUEUE_FLAG_OPEN_EXISTING 0x00000001
41#define HTTP_CREATE_REQUEST_QUEUE_FLAG_CONTROLLER 0x00000002
43#define HTTP_INITIALIZE_SERVER 0x00000001
44#define HTTP_INITIALIZE_CONFIG 0x00000002
46#define HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY 0x00000001
47#define HTTP_RECEIVE_REQUEST_FLAG_FLUSH_BODY 0x00000002
49#define HTTP_REQUEST_FLAG_MORE_ENTITY_BODY_EXISTS 0x00000001
50#define HTTP_REQUEST_FLAG_IP_ROUTED 0x00000002
51#define HTTP_REQUEST_FLAG_HTTP2 0x00000004
53#define HTTP_SEND_RESPONSE_FLAG_DISCONNECT 0x00000001
54#define HTTP_SEND_RESPONSE_FLAG_MORE_DATA 0x00000002
55#define HTTP_SEND_RESPONSE_FLAG_BUFFER_DATA 0x00000004
56#define HTTP_SEND_RESPONSE_FLAG_ENABLE_NAGLING 0x00000008
57#define HTTP_SEND_RESPONSE_FLAG_PROCESS_RANGES 0x00000020
58#define HTTP_SEND_RESPONSE_FLAG_OPAQUE 0x00000040
60#define HTTP_URL_FLAG_REMOVE_ALL 0x0000001
71#define HTTP_NULL_ID ((ULONGLONG)0)
223#define HTTP_BYTE_RANGE_TO_EOF ((ULONGLONG)-1)
static struct sockaddr_in sa
static const WCHAR version[]
GLuint GLsizei GLsizei * length
struct _HTTP_RESPONSE_INFO HTTP_RESPONSE_INFO
struct _HTTP_REQUEST_V2 HTTP_REQUEST_V2
ULONG WINAPI HttpCreateHttpHandle(PHANDLE, ULONG)
struct _HTTP_SSL_CLIENT_CERT_INFO * PHTTP_SSL_CLIENT_CERT_INFO
struct _HTTP_TRANSPORT_ADDRESS HTTP_TRANSPORT_ADDRESS
enum _HTTP_REQUEST_INFO_TYPE HTTP_REQUEST_INFO_TYPE
struct _HTTP_BINDING_INFO * PHTTP_BINDING_INFO
struct _HTTP_REQUEST_HEADERS * PHTTP_REQUEST_HEADERS
HTTP_OPAQUE_ID HTTP_REQUEST_ID
ULONG WINAPI HttpSetServiceConfiguration(HANDLE, HTTP_SERVICE_CONFIG_ID, PVOID, ULONG, LPOVERLAPPED)
struct _HTTP_REQUEST_INFO * PHTTP_REQUEST_INFO
HTTP_RESPONSE_V2 * PHTTP_RESPONSE
ULONG WINAPI HttpRemoveUrlFromUrlGroup(HTTP_URL_GROUP_ID id, const WCHAR *url, ULONG flags)
HTTP_OPAQUE_ID HTTP_RAW_CONNECTION_ID
struct _HTTP_UNKNOWN_HEADER * PHTTP_UNKNOWN_HEADER
ULONGLONG * PHTTP_OPAQUE_ID
struct _HTTP_DATA_CHUNK * PHTTP_DATA_CHUNK
struct _HTTP_PROPERTY_FLAGS HTTP_PROPERTY_FLAGS
ULONGLONG HTTP_URL_CONTEXT
struct _HTTP_REQUEST_HEADERS HTTP_REQUEST_HEADERS
ULONG WINAPI HttpSetUrlGroupProperty(HTTP_URL_GROUP_ID id, HTTP_SERVER_PROPERTY property, void *value, ULONG length)
struct _HTTP_TRANSPORT_ADDRESS * PHTTP_TRANSPORT_ADDRESS
@ HttpResponseInfoTypeMultipleKnownHeaders
@ HttpResponseInfoTypeChannelBind
@ HttpResponseInfoTypeAuthenticationProperty
@ HttpResponseInfoTypeQosProperty
ULONG WINAPI HttpAddUrl(HANDLE, PCWSTR, PVOID)
ULONG WINAPI HttpRemoveUrl(HANDLE queue, const WCHAR *url)
HTTP_RESPONSE_V2 HTTP_RESPONSE
enum _HTTP_REQUEST_INFO_TYPE * PHTTP_REQUEST_INFO_TYPE
ULONG WINAPI HttpQueryServiceConfiguration(HANDLE, HTTP_SERVICE_CONFIG_ID, PVOID, ULONG, PVOID, ULONG, PULONG, LPOVERLAPPED)
struct _HTTP_RESPONSE_V1 * PHTTP_RESPONSE_V1
ULONG WINAPI HttpCloseServerSession(HTTP_SERVER_SESSION_ID id)
HTTP_OPAQUE_ID * PHTTP_SERVER_SESSION_ID
ULONG WINAPI HttpCreateUrlGroup(HTTP_SERVER_SESSION_ID session_id, HTTP_URL_GROUP_ID *group_id, ULONG reserved)
struct _HTTP_CACHE_POLICY HTTP_CACHE_POLICY
ULONG WINAPI HttpDeleteServiceConfiguration(HANDLE, HTTP_SERVICE_CONFIG_ID, PVOID, ULONG, LPOVERLAPPED)
struct _HTTP_SSL_INFO * PHTTP_SSL_INFO
ULONG WINAPI HttpAddUrlToUrlGroup(HTTP_URL_GROUP_ID id, const WCHAR *url, HTTP_URL_CONTEXT context, ULONG reserved)
enum _HTTP_VERB HTTP_VERB
struct _HTTP_REQUEST_V1 HTTP_REQUEST_V1
enum _HTTP_RESPONSE_INFO_TYPE HTTP_RESPONSE_INFO_TYPE
ULONG WINAPI HttpCreateServerSession(HTTPAPI_VERSION, PHTTP_SERVER_SESSION_ID, ULONG)
struct _HTTP_KNOWN_HEADER * PHTTP_KNOWN_HEADER
struct _HTTP_KNOWN_HEADER HTTP_KNOWN_HEADER
enum _HTTP_SERVER_PROPERTY HTTP_SERVER_PROPERTY
struct _HTTP_UNKNOWN_HEADER HTTP_UNKNOWN_HEADER
@ HttpHeaderTransferEncoding
@ HttpHeaderContentLanguage
@ HttpHeaderIfUnmodifiedSince
@ HttpHeaderIfModifiedSince
@ HttpHeaderAcceptEncoding
@ HttpHeaderContentLocation
@ HttpHeaderContentEncoding
@ HttpHeaderContentLength
@ HttpHeaderProxyAuthenticate
@ HttpHeaderAcceptLanguage
@ HttpHeaderAuthorization
@ HttpHeaderResponseMaximum
@ HttpHeaderRequestMaximum
@ HttpHeaderAcceptCharset
@ HttpHeaderProxyAuthorization
@ HttpHeaderWwwAuthenticate
struct _HTTP_RESPONSE_V2 * PHTTP_RESPONSE_V2
HTTP_OPAQUE_ID HTTP_CONNECTION_ID
enum _HTTP_HEADER_ID HTTP_HEADER_ID
ULONG WINAPI HttpTerminate(ULONG flags, void *reserved)
@ HttpServiceConfigIPListenList
@ HttpServiceConfigTimeout
@ HttpServiceConfigSSLCertInfo
@ HttpServiceConfigUrlAclInfo
struct _HTTP_SSL_CLIENT_CERT_INFO HTTP_SSL_CLIENT_CERT_INFO
struct _HTTP_SSL_INFO HTTP_SSL_INFO
enum _HTTP_CACHE_POLICY_TYPE HTTP_CACHE_POLICY_TYPE
struct _HTTP_REQUEST_V2 * PHTTP_REQUEST_V2
struct _HTTP_RESPONSE_INFO * PHTTP_RESPONSE_INFO
struct _HTTP_BYTE_RANGE HTTP_BYTE_RANGE
HTTP_OPAQUE_ID HTTP_URL_GROUP_ID
enum _HTTP_CACHE_POLICY_TYPE * PHTTP_CACHE_POLICY_TYPE
ULONG WINAPI HttpSendHttpResponse(HANDLE queue, HTTP_REQUEST_ID id, ULONG flags, HTTP_RESPONSE *response, HTTP_CACHE_POLICY *cache_policy, ULONG *ret_size, void *reserved1, ULONG reserved2, OVERLAPPED *ovl, HTTP_LOG_DATA *log_data)
@ HttpDataChunkFromFragmentCache
@ HttpDataChunkFromMemory
@ HttpDataChunkFromFileHandle
@ HttpDataChunkFromFragmentCacheEx
struct _HTTPAPI_VERSION HTTPAPI_VERSION
HTTP_OPAQUE_ID * PHTTP_REQUEST_ID
struct _HTTP_VERSION * PHTTP_VERSION
struct _HTTP_CACHE_POLICY * PHTTP_CACHE_POLICY
struct _HTTP_COOKED_URL * PHTTP_COOKED_URL
struct _HTTP_LOG_DATA HTTP_LOG_DATA
enum _HTTP_DATA_CHUNK_TYPE HTTP_DATA_CHUNK_TYPE
struct _HTTP_RESPONSE_HEADERS * PHTTP_RESPONSE_HEADERS
struct _HTTP_REQUEST_INFO HTTP_REQUEST_INFO
struct _HTTP_PROPERTY_FLAGS * PHTTP_PROPERTY_FLAGS
enum _HTTP_LOG_DATA_TYPE * PHTTP_LOG_DATA_TYPE
enum _HTTP_SERVICE_CONFIG_ID * PHTTP_SERVICE_CONFIG_ID
ULONG WINAPI HttpReceiveHttpRequest(HANDLE queue, HTTP_REQUEST_ID id, ULONG flags, HTTP_REQUEST *request, ULONG size, ULONG *ret_size, OVERLAPPED *ovl)
enum _HTTP_SERVICE_CONFIG_ID HTTP_SERVICE_CONFIG_ID
enum _HTTP_SERVER_PROPERTY * PHTTP_SERVER_PROPERTY
ULONG WINAPI HttpCreateRequestQueue(HTTPAPI_VERSION version, const WCHAR *name, SECURITY_ATTRIBUTES *sa, ULONG flags, HANDLE *handle)
enum _HTTP_LOG_DATA_TYPE HTTP_LOG_DATA_TYPE
struct _HTTP_RESPONSE_V1 HTTP_RESPONSE_V1
struct _HTTP_BYTE_RANGE * PHTTP_BYTE_RANGE
HTTP_REQUEST_V2 * PHTTP_REQUEST
struct _HTTP_COOKED_URL HTTP_COOKED_URL
HTTP_OPAQUE_ID * PHTTP_CONNECTION_ID
enum _HTTP_RESPONSE_INFO_TYPE * PHTTP_RESPONSE_INFO_TYPE
HTTP_OPAQUE_ID * PHTTP_RAW_CONNECTION_ID
struct _HTTP_LOG_DATA * PHTTP_LOG_DATA
struct _HTTP_DATA_CHUNK HTTP_DATA_CHUNK
struct _HTTP_RESPONSE_V2 HTTP_RESPONSE_V2
HTTP_OPAQUE_ID HTTP_SERVER_SESSION_ID
ULONG WINAPI HttpCloseUrlGroup(HTTP_URL_GROUP_ID id)
enum _HTTP_HEADER_ID * PHTTP_HEADER_ID
enum _HTTP_DATA_CHUNK_TYPE * PHTTP_DATA_CHUNK_TYPE
struct _HTTP_RESPONSE_HEADERS HTTP_RESPONSE_HEADERS
enum _HTTP_VERB * PHTTP_VERB
HTTP_REQUEST_V2 HTTP_REQUEST
@ HttpServerQueueLengthProperty
@ HttpServerBindingProperty
@ HttpServerLoggingProperty
@ HttpServerExtendedAuthenticationProperty
@ HttpServerStateProperty
@ HttpServerChannelBindProperty
@ HttpServer503VerbosityProperty
@ HttpServerListenEndpointProperty
@ HttpServerTimeoutsProperty
@ HttpServerAuthenticationProperty
@ HttpServerProtectionLevelProperty
HTTP_OPAQUE_ID * PHTTP_URL_GROUP_ID
ULONG WINAPI HttpInitialize(HTTPAPI_VERSION version, ULONG flags, void *reserved)
struct _HTTPAPI_VERSION * PHTTPAPI_VERSION
struct _HTTP_BINDING_INFO HTTP_BINDING_INFO
struct _HTTP_VERSION HTTP_VERSION
@ HttpRequestInfoTypeAuth
ULONG WINAPI HttpCloseRequestQueue(HANDLE handle)
@ HttpCachePolicyUserInvalidates
@ HttpCachePolicyTimeToLive
USHORT HttpApiMajorVersion
USHORT HttpApiMinorVersion
HANDLE RequestQueueHandle
HTTP_PROPERTY_FLAGS Flags
ULARGE_INTEGER StartingOffset
HTTP_CACHE_POLICY_TYPE Policy
const WCHAR * pQueryString
HTTP_DATA_CHUNK_TYPE DataChunkType
HTTP_BYTE_RANGE ByteRange
struct _HTTP_DATA_CHUNK::@2989::@2991 FromFileHandle
const WCHAR * pFragmentName
USHORT FragmentNameLength
struct _HTTP_DATA_CHUNK::@2989::@2990 FromMemory
__C89_NAMELESS union _HTTP_DATA_CHUNK::@2989 DUMMYUNIONNAME
struct _HTTP_DATA_CHUNK::@2989::@2992 FromFragmentCache
HTTP_REQUEST_INFO_TYPE InfoType
HTTP_REQUEST_HEADERS Headers
HTTP_DATA_CHUNK * pEntityChunks
HTTP_CONNECTION_ID ConnectionId
HTTP_URL_CONTEXT UrlContext
HTTP_REQUEST_ID RequestId
HTTP_RAW_CONNECTION_ID RawConnectionId
const char * pUnknownVerb
HTTP_COOKED_URL CookedUrl
HTTP_TRANSPORT_ADDRESS Address
HTTP_REQUEST_INFO * pRequestInfo
HTTP_RESPONSE_INFO_TYPE Type
HTTP_DATA_CHUNK * pEntityChunks
HTTP_RESPONSE_HEADERS Headers
HTTP_RESPONSE_INFO * pResponseInfo
BOOLEAN CertDeniedByMapper
HTTP_SSL_CLIENT_CERT_INFO * pClientCertInfo
const char * pServerCertSubject
ULONG SslClientCertNegotiated
ULONG ServerCertIssuerSize
ULONG ServerCertSubjectSize
const char * pServerCertIssuer
SOCKADDR * pRemoteAddress