Commit Graph

157 Commits

Author SHA1 Message Date
Jacek Caban a073c66f0d wininet: Moved creation of an object and allocating handles to common function.
Fixes a few leaks.
2011-02-03 13:15:18 +01:00
Jacek Caban 968ab5fd28 wininet: Keep handles invalid but reserved in InternetCloseHandle. 2011-02-03 13:15:18 +01:00
Jacek Caban f165e25e59 wininet: Handles handling clean up. 2011-02-03 13:15:18 +01:00
David Hedberg 46be41271c wininet: Make module handle scope global. 2010-12-20 12:47:39 +01:00
Juan Lang 887aeb6a09 wininet: Support querying the cipher strength of an SSL connection. 2010-10-01 15:20:49 +02:00
Juan Lang 77c4ade08b wininet: Store security flags in WININET_NETCONNECTION. 2010-09-30 11:13:48 +02:00
Piotr Caban 21ced8ddc8 wininet: Allow HTTPREQ_ReadFileEx read more then one data chunk. 2010-07-20 14:40:32 +02:00
Piotr Caban c398e6fc77 wininet: Cache non basic authorization data. 2010-07-19 14:38:16 +02:00
Hans Leidekker 80dd367846 wininet: Pass the object header pointer to INET_QueryOption. 2010-05-25 13:30:18 +02:00
Piotr Caban ee72094ca8 wininet: Added INTERNET_OPTION_ERROR_MASK flag handling to InternetSetOptionW. 2010-05-19 15:00:55 +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
Jacek Caban b73e31c659 wininet: Return error directly from HTTP_Connect. 2009-12-21 15:36:53 +01:00
Jacek Caban 88ac3a381b wininet: Return error directly from INTERNET_AsyncCall. 2009-12-21 15:36:53 +01:00
Juan Lang 880133d248 wininet: Store hostname for secure connection in its SSL context. 2009-12-14 12:05:45 +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 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 358e7b7c8a wininet: Directly return error status from NETCON_recv. 2009-12-01 12:58:34 +01:00
Jacek Caban c55d0a8516 wininet: Directly return error status from NETCON_close. 2009-11-30 12:48:46 +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
Juan Lang 41592569fd wininet: Unload OpenSSL when unloading wininet. 2009-10-02 17:11:49 +02:00
Jacek Caban 5d6f01b76b wininet: Rename WININET_strdup_WtoA to heap_strdupWtoA. 2009-07-17 11:16:55 +02:00
Jacek Caban e09dfcfa99 wininet: Rename WININET_strdup_AtoW to heap_strdupAtoW and handle NULL argument in its implementation. 2009-07-17 11:16:50 +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 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
Jacek Caban 44d633a902 wininet: Rename WININETHANDLEHEADER to object_header_t.
wininet struct names are very unreadable and I hope that patches 
renaming them will be accepted.
2009-07-08 20:13:00 +02:00
Jacek Caban 11ca05f6ae wininet: Added support for decompressing gzip encoded content. 2009-06-01 16:16:01 +02:00
Jacek Caban 26bbf072aa wininet: Change read_buf type to BYTE. 2009-06-01 16:16:01 +02:00
Alexandre Julliard 5c227a9d8a wininet: Add a critical section to protect the read-ahead buffer. 2009-05-28 23:01:28 +02:00
Alexandre Julliard d1de5f37d0 wininet: Get rid of the SSL-specific read-ahead buffer. 2009-05-14 16:55:29 +02:00
Alexandre Julliard 3d02c42b39 wininet: Add a read-ahead buffer to allow InternetQueryDataAvailable to return the right values in chunked mode. 2009-05-14 16:45:38 +02:00
Alexandre Julliard e531ccd6b0 wininet: Centralize detection of chunked mode and add a flag for it in the http request structure. 2009-05-14 16:42:44 +02:00
Hans Leidekker 8077480b0e wininet: Support asynchronous HttpEndRequest. 2009-04-08 16:10:19 +02:00
Hans Leidekker 0fabf540e7 wininet: Keep track of the number of bytes written. 2009-04-08 16:10:00 +02:00
Andrew Talbot f815b68a30 wininet: Declare some functions static. 2009-02-02 12:11:51 +01:00
Hans Leidekker b013ad168b wininet: Implement InternetReadFileExW. 2009-01-16 12:34:26 +01:00
Francois Gouget a6c07ffba4 wininet & winhttp: Remove the MSG_WAITALL definition as it is not needed. 2008-12-12 11:46:50 +01:00
Alexandre Julliard 82280618db wininet: Include ws2tcpip.h before anything else for the Windows build. 2008-12-09 11:33:25 +01:00
Jacek Caban 7426e7e055 wininet: Moved more InternetQueryOption implementation to vtbl. 2008-07-21 12:18:48 +02:00
Alexandre Julliard 7c61679989 wininet: Include openssl/ssl.h before Windows headers. 2008-06-02 12:14:37 +02:00
Jacek Caban e2933c20d6 wininet: Move INTERNET_OPTION_HANDLE_TYPE to vtbl. 2008-03-12 11:59:41 +01:00
Rob Shearman bdc81d9963 wininet: Make the reference count of WININETHANDLEHEADER thread-safe by using InterlockedIncrement/InterlockedDecrement. 2008-03-10 19:12:54 +01:00