Commit Graph

457 Commits

Author SHA1 Message Date
Frédéric Delanoy 21618deb40 wininet: Use BOOL type where appropriate. 2013-11-27 10:54:22 +01:00
Vijay Kiran Kamuju ebe121e360 wininet: Implement setting INTERNET_PER_CONN_PROXY_BYPASS. 2013-10-30 10:13:35 +01:00
Jacek Caban 47f490e1f6 wininet: Added support for locking HTTP request files. 2013-10-04 17:46:23 +02:00
Jacek Caban 817d6625a8 wininet: Added InternetUnlockRequestFile implementation. 2013-10-04 17:46:23 +02:00
Jacek Caban c1bab59e81 wininet: Forward InternetLockRequestFile to handle-specific functions. 2013-10-04 17:46:23 +02:00
Jacek Caban c58317b5b4 wininet: Moved request file info to separated struct. 2013-10-04 17:46:23 +02:00
Alexandre Julliard a9175e6a65 wininet: Don't bother to free memory at process exit. 2013-05-15 10:32:40 +02:00
Daniel Lehman 2d89a140b2 wininet: Free local proxyinfo in INTERNET_ConfigureProxy. 2013-05-08 20:43:23 +02:00
Daniel Lehman 438be70838 wininet: Copy and pass along proxyBypass in INTERNET_ConfigureProxy. 2013-05-08 20:43:22 +02:00
Daniel Lehman d3308e6f09 wininet: Only accept proxy and proxy bypass if type is INTERNET_OPEN_TYPE_PROXY. 2013-05-08 20:43:22 +02:00
Daniel Lehman 73895b3279 wininet: Accept ProxyBypass from environment or registry. 2013-05-08 20:43:21 +02:00
Hans Leidekker bedf296a27 wininet: Add support for INTERNET_OPTION_PROXY_USERNAME and INTERNET_OPTION_PROXY_PASSWORD. 2013-04-22 12:37:51 +02:00
Piotr Caban c8d1d76909 wininet: Do case-insensitive compare when looking for scheme. 2013-04-01 14:07:57 +02:00
Andrew Talbot ae77b3d368 wininet: Avoid signed-unsigned integer comparisons. 2013-03-13 11:29:29 +01:00
Jacek Caban f824e20010 wininet: Get rid of WORKREQ* types. 2013-01-30 13:05:28 +01:00
Jacek Caban df74951257 wininet: Moved WORKREQ_INTERNETOPENURLW out of WORKREQUEST. 2013-01-28 14:05:52 +01:00
Jacek Caban 63e6a4b2e1 wininet: Moved WORKREQUEST allocation to INTERNET_AsyncCall callers. 2013-01-28 14:05:46 +01:00
Jacek Caban 81edd2acfc wininet: Fixed handling NULL buffer in INTERNET_OPTION_PROXY queries. 2013-01-08 12:18:06 +01:00
Andrew Eikum d6c0e8159b wininet: Fail on URLs without a scheme. 2013-01-02 13:10:51 +01:00
Jacek Caban 5554292284 wininet: Use generic ReadFileEx entry in InternetReadFileExA and get rid of ReadFileExA entry. 2012-11-23 18:06:09 +01:00
Jacek Caban 52144829d1 wininet: Don't take INTERNET_BUFFERSW as argument in object's ReadFileEx entry. 2012-11-23 18:06:08 +01:00
Andrew Talbot 2691e580a0 wininet: Remove unused variable. 2012-11-23 14:40:54 +01:00
Jacek Caban e1d26a24ed wininet: Allow passing INTERNET_INVALID_PORT_NUMBER port to get_server. 2012-11-19 16:35:15 +01:00
Jacek Caban cdf25ee469 wininet: Store an info if connection is HTTPS in server_t. 2012-11-19 16:35:14 +01:00
Erich Hoover 499c53175b wininet: Fix InternetCrackUrl parsing URLs containing a semicolon. 2012-11-16 19:25:11 +01:00
Piotr Caban b9c2a19591 wininet: Make cookies functions thread-safe. 2012-10-01 14:32:29 +02:00
Piotr Caban ed71ed596f wininet: Call FreeUrlCacheSpaceW when cache is full. 2012-09-21 18:29:24 +02:00
Alex Henrie 0b64d319c9 wininet: Support ICU_ENCODE_PERCENT, ICU_ENCODE_SPACES_ONLY, and ICU_NO_META. 2012-07-31 10:53:54 +02:00
Jacek Caban 6c764fbd47 wininet: Added InternetGetSecurityInfoByURL[AW] implementation. 2012-06-11 12:19:07 +02:00
Jacek Caban 4c7e9aa920 wininet: Added InternetGetSecurityInfoByURL* stubs. 2012-06-06 20:54:22 +02:00
Jacek Caban f8f2273b7c wininet: Added INTERNET_OPTION_SETTINGS_CHANGED semi-stub implementation. 2012-05-25 16:48:16 +02:00
Jacek Caban c0400560b5 wininet: Moved querying INTERNET_OPTION_REQUEST_FLAGS implementation to HTTPREQ_QueryOption. 2012-05-23 19:12:11 +02:00
Hans Leidekker b1c4eecdc8 wininet: Support setting the user agent string on handles returned by InternetOpen. 2012-05-18 18:10:32 +02:00
Francois Gouget d0579d02cc wininet: Fix the spelling of an InternetQueryDataAvailable() parameter. 2012-05-15 16:26:42 +02:00
Piotr Caban 0b42100615 wininet: Store connect timeout in all layers. 2012-05-14 17:46:31 +02:00
Jacek Caban 9641515bc0 wininet: Added separated function for querying global options. 2012-03-08 17:59:35 +01:00
Jacek Caban 35587e5608 wininet: Added INTERNET_OPTION_MAX_CONNS_PER_SERVER and INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER options setting implementation. 2012-03-08 17:59:28 +01:00
Jacek Caban a59204a466 wininet: Use separate function for setting global options. 2012-03-08 17:59:08 +01:00
Jacek Caban 4863257e30 wininet: Added default fallback for setting handle options and use it for INTERNET_OPTION_CALLBACK. 2012-03-08 17:59:02 +01:00
André Hentschel 4896f94aaf wininet: Improve stub message for InternetSetFilePointer. 2011-11-15 11:49:03 +01:00
Austin English 25bc31ac2e wininet: Add a stub for ShowClientAuthCerts. 2011-11-03 17:42:05 +01:00
Andrew Talbot 31b3cbfb93 wininet: Add a break to a switch statement. 2011-10-19 16:38:51 +02:00
André Hentschel c09e6bf881 wininet: Fix UrlComponents initialisation. 2011-09-26 22:42:02 +02:00
André Hentschel 37cdf6bd26 wininet: Test and fix possible error situations for InternetQueryOption with INTERNET_OPTION_PROXY. 2011-08-24 12:14:46 +02:00
André Hentschel 20d7bc9522 wininet: Parse user and password for proxy authentication. 2011-08-24 11:58:13 +02:00
André Hentschel 0fda135f3f wininet: Use the constants from the wininet header. 2011-08-24 11:58:13 +02:00
Juan Lang cfdce43de9 wininet: Implement setting proxy options globally for a process. 2011-07-22 12:57:20 +02:00
Juan Lang 027238f856 wininet: De-Hungarian proxyinfo_t. 2011-07-22 12:57:20 +02:00
Hans Leidekker 9acd1ef15f wininet: Consistently use the allocation macros. 2011-06-01 15:16:53 +02:00
Jacek Caban 8a1df203ae wininet: Added support for persistent HTTP connections. 2011-05-10 18:57:23 +02:00
Jacek Caban 354a74e004 wininet: Use wrappers for HeapAlloc calls. 2011-04-21 16:53:42 +02:00
Rex Tsai b7582991de wininet: Added stub for option DATA_SEND_TIMEOUT. 2011-04-13 14:13:51 +02:00
André Hentschel 316f1c2e7c wininet: Port numbers are unsigned. 2011-03-29 12:34:30 +02:00
Marcus Meissner 6e1f37151c wininet: Added missing break (Coverity). 2011-03-28 17:10:55 +02:00
Austin English 249f4562d9 wininet: Avoid shadowing a parameter. 2011-03-09 15:54:21 +01:00
Juan Lang 7243156bc1 wininet: De-Hungarian appinfo member names. 2011-03-02 12:29:13 +01:00
Jacek Caban 923498da03 wininet: Moved freeing object to WININET_Release. 2011-02-04 15:25:32 +01:00
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
Huw Davies 354f97dff8 wininet: Add tests for querying INTERNET_OPTION_MAX_CONNS_PER_SERVER and INTERNET_OPTION_MAX_CONNS_PER_1_0_SERVER and fix typo in the implementation. 2011-01-19 16:54:13 +01:00
David Hedberg 46be41271c wininet: Make module handle scope global. 2010-12-20 12:47:39 +01:00
Andrew Eikum 3555226acf wininet: Clean up returned UrlPath for file protocol URLs. 2010-10-06 11:20:23 +02:00
Marcus Meissner b7f3aa61f4 wininet: Check for NULL lpwhh (Coverity). 2010-05-27 15:22:12 +02:00
Hans Leidekker 67b1eecaf2 wininet: Implement InternetQueryOption(INTERNET_OPTION_CONTEXT_VALUE). 2010-05-25 13:30:25 +02:00
Hans Leidekker 80dd367846 wininet: Pass the object header pointer to INET_QueryOption. 2010-05-25 13:30:18 +02:00
Hans Leidekker ae1f553d2b wininet: Implement InternetSetOption(INTERNET_OPTION_CONTEXT_VALUE). 2010-05-25 13:30:07 +02:00
Piotr Caban ee72094ca8 wininet: Added INTERNET_OPTION_ERROR_MASK flag handling to InternetSetOptionW. 2010-05-19 15:00:55 +02:00
Piotr Caban c0890590ab wininet: Fix trace messages. 2010-05-08 18:14:53 +02:00
Alexandre Julliard d982262302 wininet: Fix some pointer conversion warnings on 64-bit. 2010-04-09 13:43:23 +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
Andrew Eikum 0a84bd728a wininet: Handle PROXY_TYPE_PROXY | PROXY_TYPE_DIRECT per-connection flags. 2010-01-25 18:05:02 +01:00
Andrew Eikum b0ad0b9c0b wininet: Implement PER_CONN_FLAGS option. 2010-01-21 09:05:29 +01:00
Andrew Eikum c3af903ffb wininet: Implement PER_CONN_PROXY_SERVER option. 2010-01-21 09:05:26 +01:00
Andrew Eikum 7f3cbed8ff wininet: Pull proxy info gathering into its own function. 2010-01-21 09:05:18 +01:00
Andrew Eikum 60bb3f8ec2 wininet: Convert PER_CONN_OPTION_LIST from A to W in InternetSetOptionA. 2010-01-21 09:05:12 +01:00
Andrew Eikum deca2e5c0e wininet: Add Internet{Set,Query}Option tests, implement POLICY option. 2010-01-21 09:05:06 +01:00
Hans Leidekker 406b6e36d8 wininet: Free per-thread error info upon exit from an async procedure.
Found by Valgrind.
2009-12-22 13:48:26 +01:00
Jacek Caban 31cb9cfa79 wininet: Don't use INTERNET_SetLastError in InternetSetOptionW. 2009-12-21 15:36:53 +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
Jacek Caban 5b76702e84 wininet: Set lpszUrlPath in InternetCrackUrlW if its length is 0. 2009-12-10 11:55:58 +01:00
Jacek Caban 5e8e358a71 wininet: lpszUrlPath should be NULL for URLs in file:///... format. 2009-12-10 11:55:33 +01:00
Jacek Caban 903d9c460d wininet: Remove a few more INTERNET_SetLastError calls. 2009-12-03 15:27:02 +01:00
Jacek Caban 1ee3ad476e wininet: Directly return error status from WriteFile implementations. 2009-11-30 12:48:33 +01:00
Hans Leidekker b707a523e3 wininet: Avoid accessing uninitialized memory in ConvertUrlComponentValue.
Found by valgrind.
2009-10-27 10:53:04 +01:00
Juan Lang b214fc62f1 wininet: Quiet a fixme. 2009-10-05 13:22:53 +02:00
Juan Lang 05a7e3d386 wininet: Correct user agent handling. 2009-10-05 13:22:47 +02:00
Juan Lang 41592569fd wininet: Unload OpenSSL when unloading wininet. 2009-10-02 17:11:49 +02:00
Andrew Eikum 0250eab25e wininet: Always extract #fragments in InternetCrackUrl. 2009-09-29 12:31:51 +02:00
Vincent Povirk 980bb171ee wininet: Allow +.- characters in url scheme.
According to RFC 1738, the plus, period, and hyphen characters are allowed in URL schemes.
2009-08-26 12:09:48 +02:00
Juan Lang 6ec60e26bc wininet: Implement proxy-related per-connection option queries. 2009-08-11 12:31:33 +02:00
Juan Lang 3ed82127c6 wininet: Fix memory leak querying proxy settings. 2009-08-11 12:31:23 +02:00
Jacek Caban 13974e9d5a wininet: Code clean up by using heap_strdup* functions. 2009-07-17 11:17:13 +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
Juan Lang 33d09e7364 wininet: Use struct sockaddr_storage in InternetCheckConnectionW. 2009-07-10 12:24:53 +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
Hans Leidekker deeb3a9fcb wininet: Improve the PrivacyGet/SetZonePreferenceW stubs. 2009-06-25 14:34:14 +02:00