Commit Graph

403 Commits

Author SHA1 Message Date
Piotr Caban 8dde5c5168 wininet: Combine certificate errors in HTTP_OpenConnection. 2010-05-19 15:01:00 +02:00
Piotr Caban 4ba60d265a wininet: Fix callbacks sent on connection error. 2010-05-19 15:00:43 +02:00
Juan Lang de6a0a86be wininet: Handle proxy entries of the form <proto>=<proxy>, and allow multiple proxies. 2010-03-15 15:54:10 +01:00
Hans Leidekker 911d0df691 wininet: Fix a memory leak.
Found by Valgrind.
2010-02-23 13:31:07 +01:00
Hans Leidekker 2ed570ecc6 wininet: Fix handling of a response without headers. 2010-02-22 13:16:02 +01:00
Hans Leidekker e5180c101b wininet: Fix a memory leak.
Found by Valgrind.
2010-01-05 16:28:48 +01:00
Jacek Caban b73e31c659 wininet: Return error directly from HTTP_Connect. 2009-12-21 15:36:53 +01:00
Jacek Caban e1958a67d6 wininet: Don't use INTERNET_SetLastError in HttpSendRequestA. 2009-12-21 15:36:53 +01:00
Hans Leidekker 68453a5251 wininet: Always set last error in HttpSendRequest{,Ex}. 2009-12-21 15:01:25 +01:00
Jacek Caban 78b2cedaa6 wininet: Make sure to not read over chunk end in read_gzip_data. 2009-12-17 12:53:23 +01:00
Jacek Caban 9823c23927 wininet: Directly return error status from HTTP_HttpQueryInfoW. 2009-12-14 12:07:52 +01:00
Jacek Caban 2d1c4e6928 wininet: Correctly handle dwContentRead for gzip encoded requests. 2009-12-09 13:13:53 +01:00
Juan Lang 66b4ad208d wininet: Fix an apparent typo. 2009-12-09 12:02:30 +01:00
Juan Lang 3cd54553f3 wininet: Trace more parameters to HTTP_GetCustomHeaderIndex. 2009-12-09 12:02:26 +01:00
Hans Leidekker 4a22c88b37 wininet: Cleanup any existing cache file before creating a new one.
Otherwise we leak the file name and handle when a request is sent again.
Found by Valgrind.
2009-12-07 14:18:29 +01:00
Juan Lang b967fde0a8 wininet: Correct length of data passed to callback when resolving a name. 2009-12-04 14:34:57 +01:00
Jacek Caban a9ecdc6024 wininet: Directly return error status from HTTP_HandleRedirect. 2009-12-03 15:27:22 +01:00
Jacek Caban 741b6611fb wininet: Directly return error status fro HTTP_HttpEndRequest. 2009-12-03 15:27:14 +01:00
Jacek Caban c952e81a89 wininet: Directly return error from HTTP_HttpSendRequest. 2009-12-03 15:27:08 +01:00
Jacek Caban 34fcbb5f75 wininet: Make HTTP_HttpSendRequestW static and avoid its forward declaration. 2009-12-01 12:59:36 +01:00
Jacek Caban e974965185 wininet: Directly return error status from HTTP_HttpAddRequestHeadersW. 2009-12-01 12:59:23 +01:00
Jacek Caban 85a057e186 wininet: Directly return error status from HTTP_HttpOpenRequestW. 2009-12-01 12:59:16 +01:00
Jacek Caban 47c71fcd0a wininet: Make HTTP_HttpOpenRequestW static and avoid forward its declaration. 2009-12-01 12:59:07 +01:00
Jacek Caban b01d58428b wininet: Directly return error status from NETCON_init. 2009-12-01 12:58:58 +01:00
Jacek Caban 1d96e20e8a wininet: Directly return error status from refill_buffer. 2009-12-01 12:58:52 +01:00
Jacek Caban 358e7b7c8a wininet: Directly return error status from NETCON_recv. 2009-12-01 12:58:34 +01:00
Jacek Caban 4e3eabd6fa wininet: Don't use INTERNET_SetLastError in HttpSendRequestW. 2009-11-30 12:48:52 +01:00
Jacek Caban 36cb1ef3d3 wininet: Directly return error status from HTTP_OpenConnection. 2009-11-30 12:48:40 +01:00
Jacek Caban 1ee3ad476e wininet: Directly return error status from WriteFile implementations. 2009-11-30 12:48:33 +01:00
Jacek Caban b77868cbfd wininet: Dorectly return error status from NETCON_secure_connect and NETCON_send. 2009-11-30 12:48:27 +01:00
Jacek Caban bf1da4c857 wininet: Directly return error status from NETCON_connect. 2009-11-30 12:48:20 +01:00
Jacek Caban cff77d602c wininet: Directly return error status from NETCON_create. 2009-11-30 12:48:09 +01:00
Hans Leidekker 4990ca0ea3 wininet: Avoid a crash on NULL lpcszHeader in HttpSendRequestExW. 2009-11-17 16:05:36 +01:00
Hans Leidekker e62fdaf0f1 wininet: Avoid accessing uninitialized memory in HttpSendRequestExW.
Found by valgrind.
2009-10-27 10:53:08 +01:00
Aric Stewart fc5089349d wininet: Cache basic authentication values based on realm and host. 2009-10-13 14:19:47 +02:00
Erik Inge Bolsø 5af1a49738 wininet: Add test for response without headers, avoid crash. 2009-09-30 14:31:57 +02:00
Hans Leidekker 50fef74131 wininet: Destroy authorization info on failure in HTTP_DoAuthorization.
This makes sure the app can retry authorization, e.g. when username and
password are not supplied upfront and there are no cached credentials.
2009-09-02 14:41:40 +02:00
Jacek Caban 4dfec39b6f wininet: Don't free gzip_stream in HTTPREQ_CloseConnection. 2009-08-24 15:17:12 +02:00
Juan Lang 6ae6ea99b4 wininet: Partially implement InternetQueryOption for INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO. 2009-08-11 12:32:24 +02:00
Jacek Caban 3858e35432 wininet: Explicity delete Content-Length header for gzip encoded connection. 2009-08-03 14:59:35 +02:00
Hans Leidekker fa4c25ddf4 wininet: Correct handling of redirected HEAD requests. 2009-07-22 14:42:49 +02:00
Jacek Caban 97936252dd wininet: Code clean up by using heap_strdup* functions. 2009-07-17 11:21:59 +02:00
Jacek Caban f598709212 wininet: Rename WININET_strdupW to standard heap_strdupW. 2009-07-17 11:16:42 +02:00
Jacek Caban 6d1601a850 wininet: Rename WININETAPPINFOW to appinfo_t. 2009-07-13 10:26:52 +02:00
Jacek Caban 34abacde71 wininet: Rename WININETHTTPREQW to http_request_t. 2009-07-13 10:26:39 +02:00
Jacek Caban e9f4a40584 wininet: Rename WININETHTTPSESSIONW to http_session_t. 2009-07-13 10:26:32 +02:00
Juan Lang 481c9b895d wininet: Support IPv6 addresses in HTTP_ResolveName and HTTP_OpenConnection. 2009-07-10 12:25:25 +02:00
Juan Lang 058e918da5 wininet: Convert WININETSESSIONW's socketAddress to a struct sockaddr_storage. 2009-07-10 12:25:17 +02:00
Juan Lang c572e1c99a wininet: Use address length returned by GetAddress in NETCON_connect. 2009-07-10 12:25:10 +02:00
Juan Lang 44bf025767 wininet: Change type of GetAddress from struct sockaddr_in * to struct sockaddr *. 2009-07-10 12:24:35 +02:00