Jacek Caban
059c77956f
wininet: Moved WORKREQ_FTPGETCURRENTDIRECTORYW out of WORKREQUEST.
2013-01-30 12:43:54 +01:00
Jacek Caban
b2deb67696
wininet: Moved WORKREQ_FTPGETFILEW out of WORKREQUEST.
2013-01-30 12:43:50 +01:00
Jacek Caban
ffa7d16731
wininet: Moved WORKREQ_FTPREMOVEDIRECTORYW out of WORKREQUEST.
2013-01-29 17:50:17 +01:00
Jacek Caban
d816de27fb
wininet: Moved WORKREQ_FTPCREATEDIRECTORYW out of WORKREQUEST.
2013-01-29 17:50:17 +01:00
Jacek Caban
989bb5b983
wininet: Moved WORKREQ_FTPSETCURRENTDIRECTORYW out of WORKREQUEST.
2013-01-29 17:50:17 +01:00
Jacek Caban
47d0f5a167
wininet: Moved WORKREQ_FTPPUTFILEW out of WORKREQUEST.
2013-01-29 17:50:17 +01:00
Jacek Caban
195ea90f3b
wininet: Moved WORKREQ_SENDCALLBACK out of WORKREQUEST.
2013-01-29 17:50:17 +01:00
Jacek Caban
7ca22d701d
wininet: Moved WORKREQ_HTTPENDREQUESTW out of WORKREQUEST.
2013-01-29 17:50:17 +01:00
Detlef Riekenberg
097dee606e
wininet: Don't depend on user settings.
2013-01-28 19:43:32 +01:00
Detlef Riekenberg
2a66b25e6d
wininet: Remove most GetLastError tests for IsDomainLegalCookieDomainW.
2013-01-28 19:43:32 +01:00
Detlef Riekenberg
e1c2f18ab1
wininet: Fix a test failure on w2k.
2013-01-28 19:43:32 +01:00
Jacek Caban
023abdacdb
wininet: Moved WORKREQ_HTTPREADFILEEX out of WORKREQUEST.
2013-01-28 14:05:55 +01:00
Jacek Caban
df74951257
wininet: Moved WORKREQ_INTERNETOPENURLW out of WORKREQUEST.
2013-01-28 14:05:52 +01:00
Jacek Caban
940a67c8a5
wininet: Moved WORKREQ_HTTPSENDREQUESTW out of WORKREQUEST.
2013-01-28 14:05:49 +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
f877fe9ba4
wininet: Properly handle output buffer size in InternetGetCookieA.
2012-12-28 11:26:56 +01:00
Jacek Caban
0c02e35841
wininet: Properly handle output buffer size in InternetGetCookieW.
2012-12-28 11:26:52 +01:00
Chae Jong Bin
e8307fe160
wininet: Add stub for DeleteWpadCacheForNetworks.
2012-12-27 17:15:40 +01:00
Piotr Caban
a62e3f6442
wininet: NULL terminate cookie data in load_persistent_cookie function.
2012-12-21 17:29:03 +01:00
Piotr Caban
2f35659035
wininet: Fixed CreateUrlCacheEntryW behaviour on URLs without '\' and '/' characters.
2012-12-21 17:28:59 +01:00
Hans Leidekker
f33f7a5df1
wininet: Map socket errors to ERROR_INTERNET_CANNOT_CONNECT in create_netconn_socket.
2012-12-19 14:38:59 +01:00
Hans Leidekker
59247cf9db
wininet: Don't perform revocation checks when verifying a certificate.
2012-12-11 12:03:42 +01:00
Jacek Caban
bfad905bd8
wininet: Fixed handling empty HTTP version string in HttpOpenRequest.
2012-12-10 11:27:21 +01:00
Jacek Caban
21e7e28d64
wininet: Fixed NULL cookie data pointer handling in InternetGetCookieA.
2012-12-03 19:13:23 +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
3e23b5e589
wininet: Use proxy settings directly from http_request_t in a few more places.
2012-11-19 16:35:17 +01:00
Jacek Caban
5fb49243af
wininet: Use processed string from server_t for constructing proxy path.
2012-11-19 16:35:16 +01:00
Jacek Caban
3cf2838a93
wininet: Store more useful strings in server_t.
2012-11-19 16:35:16 +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
Jacek Caban
bd42c0416a
wininet: Fixed HTTP CONNECT secure connection.
2012-11-16 17:42:47 +01:00
Jacek Caban
c8da35729c
wininet: Store both proxy and destination host in http_request_t.
2012-11-16 17:42:46 +01:00
Marcus Meissner
02a80554f8
wininet: Move freeing netconn into create_netconn_socket (Coverity).
2012-11-15 21:22:05 +01:00
Jacek Caban
54639c5dc5
wininet: Commit cache file as soon as all data is written.
2012-11-02 19:47:19 +01:00
Jacek Caban
b012765e91
wininet: Write received data to cache before notifying progress.
2012-11-02 19:47:18 +01:00
Hiroshi Miura
923ac2e546
wininet: Add a TLS fallback mechanism.
2012-11-01 19:16:25 +01:00
André Hentschel
5010f0933e
wininet: Fix WININET_SetAuthorization on error path (coverity).
2012-10-31 16:12:27 +01:00
Francois Gouget
ed9e745580
Assorted spelling tweaks and fixes.
2012-10-22 12:21:55 +02:00
Piotr Caban
8e6d2bab37
wininet: Fixed failing test.
2012-10-03 13:14:29 +02:00
Piotr Caban
a3a909f2b9
wininet: Correctly set headers size in CommitUrlCacheEntryW function.
2012-10-03 11:29:35 +02:00
Piotr Caban
b9c2a19591
wininet: Make cookies functions thread-safe.
2012-10-01 14:32:29 +02:00
Piotr Caban
fc219b0ab3
wininet: Added basic cookie domain validation in set_cookie function.
2012-10-01 14:32:24 +02:00
Piotr Caban
c34bc977a0
wininet: Added basic persistent cookie tests.
2012-10-01 14:32:17 +02:00
Piotr Caban
b49c980d0d
wininet: Added support for persistent cookies.
2012-10-01 14:32:11 +02:00
Piotr Caban
e4a0281679
wininet: Added support for urlcache file name generating.
2012-10-01 14:32:02 +02:00
Piotr Caban
ee47def0ad
wininet: Added more fields to cookie structure.
2012-10-01 14:31:49 +02:00
Francois Gouget
906127fe29
Assorted spelling fixes.
2012-10-01 12:07:41 +02:00
Francois Gouget
83af29fb03
wininet: Add a trailing '\n' to a couple of Wine traces.
2012-09-26 14:40:48 +02:00
Piotr Caban
fa0f0630c5
wininet: Delete cache directory when cache version doesn't match.
2012-09-26 14:40:48 +02:00
Piotr Caban
d2e5bb30eb
wininet: Don't ask for confirmation while deleting cache directory.
2012-09-26 14:40:46 +02:00
Piotr Caban
306f53cbf2
wininet: Added more GetUrlCacheEntryInfo tests with GET_INSTALLED_ENTRY flag.
2012-09-25 21:13:08 +02:00
Piotr Caban
f9e80f588a
wininet: Ignore unsupported flags in GetUrlCacheEntryInfoEx functions.
2012-09-25 21:13:08 +02:00
Piotr Caban
7c6f0c9470
wininet: Fixed handling of GET_INSTALLED_ENTRY flag in GetUrlCacheEntryInfoW.
2012-09-25 21:13:08 +02:00
Piotr Caban
a342ded288
wininet: Fixed handling of GET_INSTALLED_ENTRY flag in GetUrlCacheEntryInfoA.
2012-09-25 21:13:07 +02:00
Piotr Caban
134db11eff
wininet: Move GetUrlCacheEntryInfoA code to GetUrlCacheEntryInfoExA function.
2012-09-25 21:13:07 +02:00
Francois Gouget
2606b85687
wininet: Check for the 'http:' protocol in a locale independent way.
2012-09-25 11:42:38 +02:00
Francois Gouget
5f55a71b70
Assorted spelling fixes.
2012-09-24 22:27:29 +02:00
Piotr Caban
d07d3cbe91
wininet: Added support for cache containers without subdirectories.
2012-09-24 22:27:28 +02:00
Piotr Caban
78835843c2
wininet: Added support for cache path parameter in FreeUrlCacheSpace function.
2012-09-24 22:27:28 +02:00
Piotr Caban
71511c9fc5
wininet: Added tests for entries with identical hash key.
2012-09-24 22:27:28 +02:00
Piotr Caban
122daa50bc
wininet: Reserve more space for urlcache entry flags.
2012-09-24 22:27:28 +02:00
Francois Gouget
51c90eba23
wininet: Make URLCacheContainers_{Create,Delete}All() static.
2012-09-24 16:38:16 +02:00
Piotr Caban
8bb1af84f4
wininet: Update used blocks count when block is allocated or freed.
2012-09-21 18:29:25 +02:00
Piotr Caban
34dc796406
wininet: Stop urlcache clearing when dll is being unloaded.
2012-09-21 18:29:24 +02:00
Piotr Caban
66931e4d9f
wininet: Improved FreeUrlCacheSpaceW implementation.
2012-09-21 18:29:24 +02:00
Piotr Caban
ed71ed596f
wininet: Call FreeUrlCacheSpaceW when cache is full.
2012-09-21 18:29:24 +02:00
Piotr Caban
e3a2e3a1c9
wininet: Don't delete files that were modified after adding to cache.
2012-09-19 16:31:56 +02:00
Piotr Caban
b7010348cf
wininet: Added support for leaked urlcache entries handling.
2012-09-19 16:31:41 +02:00
Piotr Caban
dba38b1ab4
wininet: Define more fields in urlcache header structure.
2012-09-19 16:31:32 +02:00
Piotr Caban
95a4f3dd6d
wininet/tests: Remove all temporary files.
2012-09-18 14:51:29 +02:00
Piotr Caban
65034ce2a4
wininet: Set entry type based on container type.
2012-09-18 14:51:21 +02:00
Piotr Caban
8f2b0fdf52
wininet: Added support for cache entries overwriting.
2012-09-18 14:51:05 +02:00
Piotr Caban
6935b7c73b
wininet: Unlock urlcache entries that were locked for over a day.
2012-09-18 14:50:59 +02:00
Piotr Caban
359ed33824
wininet: Delete file when cache entry is deleted.
2012-09-18 14:50:54 +02:00
Piotr Caban
7967f8beec
wininet: Don't define DELETED_CACHE_ENTRY in public headers.
2012-09-18 14:50:49 +02:00
Jacek Caban
c4c3ff47e7
wininet: Set last error for invalid URL argument.
2012-09-04 17:32:31 +02:00
Gerald Pfeifer
44953d7003
wininet: Fix initialization in test_cert_struct.
2012-08-20 20:18:11 +02:00
Bruno Jesus
dc9f5becd1
wininet/tests: Add invalid index test for HttpQueryInfo.
2012-08-17 09:56:39 +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
Dan Kegel
766eecaf07
wininet: Don't evaluate netconn_get_avail_data() twice in netconn_read().
2012-07-11 10:09:56 -05:00
Jacek Caban
c400117027
wininet: Try harder to reuse connection after authorization.
2012-07-02 19:18:08 +02:00
Thomas Faber
62d6b24e4c
wininet: Use the correct type for sock_namelen in FTP_Connect.
2012-06-20 19:26:13 +02:00
Jacek Caban
e2a9511b30
wininet: Added support for more certificate error types.
2012-06-18 17:49:05 +02:00
Thomas Faber
7d24e59229
wininet: Use the correct struct in a sizeof.
2012-06-18 11:59:41 +02:00
Jacek Caban
120c413f39
wininet: Fixed returned buffer size in HttpQueryInfo(HTTP_QUERY_STATUS_CODE) when insufficient buffer is passed.
2012-06-15 20:29:28 +02:00
Alexandre Julliard
3521e1b89b
wininet: Fix a compiler warning on Mingw.
2012-06-15 18:35:44 +02:00
Thomas Faber
0b60b8f35a
wininet: Correctly fail INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT if libssl is not available.
2012-06-15 18:35:33 +02:00
Jacek Caban
1325c400c1
wininet: Added InternetGetSecurityInfoByURL tests.
2012-06-11 12:19:07 +02:00
Jacek Caban
6c764fbd47
wininet: Added InternetGetSecurityInfoByURL[AW] implementation.
2012-06-11 12:19:07 +02:00
Jacek Caban
e3dfbe33f6
wininet: Skip security flags tests on too old wininet versions.
2012-06-08 19:35:08 +02:00
Jacek Caban
74f596c5ed
wininet: Read status code directly from request object in InternetErrorDlg.
2012-06-08 18:00:17 +02:00
Jacek Caban
ebff6036bf
wininet: Access request object directly in WININET_SetAuthorization.
2012-06-08 18:00:12 +02:00
Jacek Caban
4f51146a46
wininet: Access directly host name from request object in dialogs.
2012-06-08 18:00:04 +02:00
Jacek Caban
9bc3046896
wininet: Simplify proxy server access in dialogs.
2012-06-08 17:59:59 +02:00
Jacek Caban
f6fc1e3cac
wininet: Added more security flags and errors tests.
2012-06-07 16:07:13 +02:00
Jacek Caban
448f2452c4
wininet: Added support for ERROR_INTERNET_SEC_CERT_REV_FAILED in InternetErrorDlg.
2012-06-07 16:07:13 +02:00
Jacek Caban
964e538ba9
wininet: Set SECURITY_FLAG_SECURE when error dialog ignores invalid certificate.
2012-06-07 16:07:12 +02:00
Jacek Caban
b5fec3c033
wininet: Store request object instead of handle in error dialog.
2012-06-07 16:07:12 +02:00
Jacek Caban
d8b5f468ab
wininet: Added support for undocumented InternetSetOption(99) call.
2012-06-07 16:07:11 +02:00
Jacek Caban
c3eec8dc57
wininet: Improved handling ERROR_INTERNET_INVALID_CA error.
2012-06-07 16:07:11 +02:00
Jacek Caban
8dbc39b4be
wininet: Properly set flags in InternetSetOption(INTERNET_OPTION_SECURITY_FLAGS).
2012-06-06 20:54:22 +02:00
Jacek Caban
4c7e9aa920
wininet: Added InternetGetSecurityInfoByURL* stubs.
2012-06-06 20:54:22 +02:00
Jacek Caban
0133683c46
wininet: Added support for undocumented InternetQueryOption(98).
2012-06-05 10:23:54 +02:00
Jacek Caban
2ef0676042
wininet: Set correct security flags in InternetErrorDlg for ERROR_INTERNET_SEC_CERT_ERRORS.
2012-06-01 17:41:52 +02:00
Jacek Caban
f5cbc9f3f2
wininet: Properly set security flags for ERROR_INTERNET_SEC_CERT_DATE_INVALID.
2012-06-01 17:41:52 +02:00
Jacek Caban
37e483d567
wininet: Use CRLF separator in INTERNET_CERTIFICATE_INFO.
2012-05-30 17:17:56 +02:00
Jacek Caban
2ed97ebe43
wininet: Get rid of no longer used serverName and serverPort from http_session_t.
2012-05-29 10:44:08 +02:00
Jacek Caban
a24b5588d2
wininet: Fixed grouping security error flags.
2012-05-29 10:43:58 +02:00
Jacek Caban
79259064c9
wininet: Handle error flags only for masked-error mode.
2012-05-29 10:43:50 +02:00
Jacek Caban
22e25ea006
wininet: Added INTERNET_OPTION_SECURITY_FLAGS tests.
2012-05-25 16:59:01 +02:00
Jacek Caban
868575a416
wininet: Store certificate error information in security flags.
2012-05-25 16:58:56 +02:00
Jacek Caban
f8f2273b7c
wininet: Added INTERNET_OPTION_SETTINGS_CHANGED semi-stub implementation.
2012-05-25 16:48:16 +02:00
Jacek Caban
95c1b74fc9
wininet: Store server_t on the list until clean up.
2012-05-25 16:48:11 +02:00
Jacek Caban
f3dd75d8a4
wininet: Set SECURITY_FLAG_STRENGTH_* flags in NETCONN_secure_connect.
2012-05-25 16:48:06 +02:00
Jacek Caban
90ec92dfd1
wininet: Set SECURITY_FLAG_SECURRE in NETCON_secure_connect.
2012-05-25 16:48:01 +02:00
Jacek Caban
59a0ab54cb
wininet: Store security flags in server_t.
2012-05-25 16:47:57 +02:00
Jacek Caban
3aeb8eb6b6
wininet: Store server_t in http_request_t.
2012-05-25 16:47:52 +02:00
Jacek Caban
23440d918b
wininet: Added better traces for status info in INTERNET_SendCallback.
2012-05-24 20:08:47 +02:00
Jacek Caban
17d683b0f4
wininet: Added INTERNET_OPTION_REQUEST_FLAGS tests.
2012-05-24 20:08:47 +02:00
Jacek Caban
27af81972f
wininet: Added real implementation of InternetQueryOption(INTERNET_OPTION_REQUEST_FLAGS).
2012-05-24 20:08:46 +02:00
Alexander Morozov
ef95a79384
wininet: Add "Content-Disposition" field.
2012-05-24 19:53:43 +02:00
Jacek Caban
c0400560b5
wininet: Moved querying INTERNET_OPTION_REQUEST_FLAGS implementation to HTTPREQ_QueryOption.
2012-05-23 19:12:11 +02:00
Michael Stefaniuc
92c97c1710
wininet/tests: Remove wrong check for 'len'.
2012-05-22 17:44:02 +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
fac36c55e9
Assorted typo, spelling, wording and case fixes.
2012-05-15 16:26:43 +02:00
Francois Gouget
d0579d02cc
wininet: Fix the spelling of an InternetQueryDataAvailable() parameter.
2012-05-15 16:26:42 +02:00
Piotr Caban
d5913b5c45
wininet/tests: Added INTERNET_OPTION_CONNECT_TIMEOUT setting tests.
2012-05-14 17:46:37 +02:00
Piotr Caban
0b42100615
wininet: Store connect timeout in all layers.
2012-05-14 17:46:31 +02:00
Jacek Caban
07e5b87feb
wininet: Fixed typo in tests and accompanying implementation.
2012-05-14 17:42:13 +02:00
Alexandre Julliard
0b3b6ba26d
wininet/tests: Mark a failing test as broken.
2012-05-09 23:20:51 +02:00
Alexandre Julliard
80376eacd5
wininet/tests: Add even more optional COOKIE_SENT messages.
2012-05-03 23:40:21 +02:00
Jacek Caban
2aa3d697a3
wininet: Set status code OK for responses without headers.
2012-05-03 20:44:14 +02:00
Jacek Caban
0d76489353
wininet: Added special case for HTTP_QUERY_STATUS_CODE in HttpQueryInfo.
2012-05-03 20:44:13 +02:00
Jacek Caban
797a17bb2d
wininet: Use stored status code in HTTP_HttpEndRequestW.
2012-05-03 20:44:13 +02:00
Jacek Caban
4cf3f78542
wininet: Use stored status code in HTTP_HttpSendRequestW.
2012-05-03 20:44:12 +02:00
Jacek Caban
5240e40b69
wininet: Store status code in http_request_t and use it in set_content_length.
2012-05-03 20:44:12 +02:00
Jacek Caban
ebf406c163
wininet: Clean up HTTP_QUERY_STATUS_CODE tests.
2012-05-03 20:44:11 +02:00
Alexandre Julliard
9ec1f7ba1b
wininet/tests: Add more optional COOKIE_SENT messages.
2012-05-03 10:11:28 +02:00
Alexandre Julliard
415d7a4401
wininet/tests: Add some optional COOKIE_SENT messages in various places.
2012-05-02 13:01:34 +02:00
Jacek Caban
905ede6c6d
wininet: Use hostname stored in server_t in NETCON_secure_connect.
2012-04-30 19:32:58 +02:00
Piotr Caban
9d68333f78
wininet: Use the same hashing function as native does.
2012-04-19 19:28:11 +02:00
Piotr Caban
fdf2e15b80
wininet: Store correct urlcache file size.
2012-04-13 17:27:54 +02:00
Morten Rønne
4b3e4fa87b
wininet/tests: Moved a test outside a loop to make numbers of tests run independent on the numbers of entries in the cache.
2012-04-09 18:10:32 +02:00
Piotr Caban
91296abb63
wininet: Implement urlcache index growing.
2012-04-06 20:13:01 +02:00
Piotr Caban
dab1f7c38e
wininet: Return error code in URLCache_FindFirstFreeEntry function.
2012-04-06 20:12:53 +02:00
Piotr Caban
4254bdbfb2
wininet: Don't reserve space for directory in URL cache entry.
2012-04-06 20:12:49 +02:00
Piotr Caban
c9983b1159
wininet: Don't overwrite locked entry in CommitUrlCacheEntry.
2012-04-06 20:12:44 +02:00
Piotr Caban
d1ecb6d9ba
wininet: Don't delete locked entry in DeleteUrlCacheEntry.
2012-04-06 20:12:40 +02:00
Morten Rønne
e0f93874c8
wininet/tests: Added more tests for urlcache, including a new flag in CacheEntryType.
2012-04-05 17:53:14 +02:00
Morten Rønne
fb81502a50
wininet/tests: Fixed text errors in tests.
2012-04-05 17:53:14 +02:00
Piotr Caban
299f9e6b47
wininet: Only mark elements as deleted in DeleteUrlCacheEntry function.
2012-04-04 17:57:52 +02:00
Piotr Caban
e4ad164f6e
wininet: Set uninitialized memmory to 0xdeadbeef in cache files.
2012-04-03 17:54:40 +02:00
Piotr Caban
edcc395dac
wininet: Mark empty fields in the same way while hash table is created and element is removed.
2012-04-03 17:54:33 +02:00
Piotr Caban
39bc1faa8f
wininet: Correctly set next hash table offset.
2012-04-03 17:54:28 +02:00
Piotr Caban
dedd42fb4f
wininet: Store element type and state in hash table key (urlcache).
2012-04-03 17:54:24 +02:00
Jacek Caban
a3709badab
wininet: Added more connection limit options tests.
2012-03-08 17:59:40 +01: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
Frédéric Delanoy
39d378538d
wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity).
2012-01-26 19:10:16 +01:00
Jacek Caban
dfa9f4bc26
wininet: Insert custom headers only once in HTTP_HttpSendRequestW.
2012-01-24 20:43:14 +01:00
Jacek Caban
ac26517ac9
wininet: Correctly detect https connections and custom port numbers in HTTP_HandleRedirect.
2012-01-24 20:43:13 +01:00
Hans Leidekker
6522393265
wininet: Add support for setting and retrieving the send/receive timeouts.
2012-01-16 12:16:41 +01:00
Hans Leidekker
848cd8a2f5
wininet: Add support for setting and retrieving the connect timeout.
2012-01-16 12:16:37 +01:00
Hans Leidekker
72273a0786
wininet: Implement the connect timeout.
2012-01-16 12:16:30 +01:00
Alexandre Julliard
2329f91998
wininet: Don't free name before the IPv6 lookup.
2012-01-11 20:11:39 +01:00
Pierre Schweitzer
85e2b4d7df
wininet: Fix handle leak.
2012-01-03 12:37:36 +01:00
Jacek Caban
7a1ad69869
wininet: Added more connection failure tests.
2011-12-08 18:04:31 +01:00
Jacek Caban
892d3cd46b
wininet: Properly handle closed connection in HTTP_HttpEndRequestW.
2011-12-08 18:04:30 +01:00
Jacek Caban
3dc2c3ca44
wininet: Use test.winehq.org instead of crossover.codeweavers.com in test_async_HttpSendRequestEx.
2011-12-08 18:04:30 +01:00
Alexandre Julliard
68c7aa266f
wininet: Convert dialogs to po files.
2011-11-30 19:57:15 +01:00
Andy Clayton
da11075000
wininet: Avoid calling HTTP_ReceiveRequestData before reading headers.
2011-11-23 18:08:48 +01:00
Francois Gouget
17929b925e
wininet: Give a name to the critical sections, make them static and delete them when unloading the dll.
2011-11-16 17:02:22 +01:00
Francois Gouget
37f7089a4a
wininet: Add prototypes for a couple of mpr functions.
2011-11-15 19:37:35 +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
Austin English
9536a9cc1b
wininet: Add a stub for RunOnceUrlCache.
2011-11-02 12:26:48 +01:00
Juan Lang
044f645477
wininet: Implement ShowX509EncodedCertificate.
2011-11-01 10:36:27 +01:00
André Hentschel
adea3c5dda
wininet: Add a stub for ShowX509EncodedCertificate.
2011-10-31 17:52:02 +01:00
Juan Lang
ad3e22d5ee
wininet: Fix off by one error parsing RFC 850 dates.
2011-10-25 16:57:25 +02:00
Juan Lang
aeca2f98fa
wininet: Accept RFC 850 dates in HTTP headers.
2011-10-24 11:15:59 +02:00
Andrew Talbot
31b3cbfb93
wininet: Add a break to a switch statement.
2011-10-19 16:38:51 +02:00
Hans Leidekker
85e9e21929
wininet: Ignore the accept types array in HttpOpenRequestA if there are invalid pointers.
2011-09-27 16:24:26 +02:00
André Hentschel
c09e6bf881
wininet: Fix UrlComponents initialisation.
2011-09-26 22:42:02 +02:00
Francois Gouget
843e97eb1f
wininet: Fix printing NULL strings.
2011-09-20 16:21:38 +02:00
Piotr Caban
e80e73586d
wininet: Make it possible to ignore CERT_TRUST_IS_PARTIAL_CHAIN error in netconn_verify_cert.
2011-09-14 09:58:39 +02:00
Alexandre Julliard
905d6844e3
wininet/tests: Avoid crash on test failure.
2011-09-09 15:57:59 +02:00
Alexandre Julliard
006bb26b8c
wininet/tests: Remove an invalid FTP test.
2011-09-01 18:06:39 +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
d8f036e4dc
wininet: Don't return a relative path when building the proxy url request.
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
Jacek Caban
0281b7d30b
wininet: Fixed realm allocation in cache_basic_authorization.
2011-07-28 18:37:40 +02:00
Austin English
c13f29357a
wininet/tests: Remove win9x hacks.
2011-07-27 12:26:18 +02:00
Austin English
2a16ae1d06
wininet: Make sure to use return values (LLVM/Clang).
2011-07-26 10:21:44 +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
Igor Paliychuk
64d668a2bc
wininet: Convert Ukrainian resources into utf-8.
2011-06-20 19:32:04 +02:00
Jerome Leclanche
f30616e257
wininet: Fix a warning when compiling --without-openssl.
2011-06-20 19:32:02 +02:00
Francois Gouget
df63b63614
Standardize the OK buttons.
2011-06-15 20:04:38 +02:00
Jacek Caban
adf08d586d
wininet: A small netconn_secure_verify code clean up.
2011-06-10 15:28:46 +02:00
Jacek Caban
a664fa8041
wininet: Added dwError of INTERNET_STATUS_REQUEST_COMPLETE notifications tests.
2011-06-10 15:28:42 +02:00
Jacek Caban
cfdc539972
wininet: Set content_length when we reach end of data in netconn_read.
2011-06-10 15:28:37 +02:00
Jacek Caban
8e37ed551a
wininet: Don't pass handle to INTERNET_REQUEST_COMPLETE unless the request is opened via InternetPoenUrl.
2011-06-10 15:28:32 +02:00
Jacek Caban
c0293df46a
wininet: Moved INTERNET_STATUS_REQUEST_COMPLETE notifications sending to separated function.
2011-06-10 15:28:26 +02:00
Hans Leidekker
9acd1ef15f
wininet: Consistently use the allocation macros.
2011-06-01 15:16:53 +02:00
Hans Leidekker
14d4d1957d
wininet: Don't change the verb if the server response is HTTP_STATUS_REDIRECT_KEEP_VERB.
2011-06-01 15:16:49 +02:00
Marcus Meissner
c0ad2d4a92
wininet: Mark internal symbols with hidden visibility.
2011-05-26 13:30:38 +02:00
Jacek Caban
6eff315555
wininet: Added connection closing tests.
2011-05-23 16:25:44 +02:00
Jacek Caban
193da884ad
wininet: Correctly handle closed socket in HTTP_ReceiveRequestData.
2011-05-23 16:25:42 +02:00
Jacek Caban
2e2ed52cfb
wininet: Use set_cookie directly in HTTP_ProcessCookies.
2011-05-19 19:37:26 +02:00
Jacek Caban
dce9181c91
wininet: Use get_cookie directly in HTTP_InsertCookies.
2011-05-19 19:37:26 +02:00
Jacek Caban
9a741bf3d7
wininet: Moved getting cookie from known host to separated function.
2011-05-19 19:37:26 +02:00
Juan Lang
d797e5fc7e
wininet: Handle invalid HTTP time of "0".
2011-05-13 17:05:28 +02:00
Jacek Caban
5a5eddfe81
wininet: Added 204 No Content response tests.
2011-05-13 17:05:27 +02:00
Jacek Caban
188de03497
wininet: Better closing async handles in tests.
2011-05-13 17:05:27 +02:00
Jacek Caban
3ab297125d
wininet: Clean up closing connection notifications tests.
2011-05-13 17:05:27 +02:00
Jacek Caban
a890e3a144
wininet: Fixed handling of 204 No Content response.
2011-05-13 17:05:27 +02:00
Jacek Caban
086eb61c84
wininet: Don't depend on is_end_of_read_data in HTTPREQ_Read.
2011-05-13 17:05:27 +02:00
Jacek Caban
c280970c3e
wininet: Set TCP_NODELAY on socket.
2011-05-11 14:56:49 +02:00
Jacek Caban
8a1df203ae
wininet: Added support for persistent HTTP connections.
2011-05-10 18:57:23 +02:00
Karsten Elfenbein
5b173cb405
wininet: Follow 307 temporary redirect.
2011-05-09 11:44:29 +02:00
Jacek Caban
4c1c5fe64c
wininet: Moved connected check out of NETCON_set_timeout.
2011-05-04 17:26:51 +02:00
Jacek Caban
aa4e663954
wininet: Use test.winehq.org for post tests.
2011-05-02 16:38:01 +02:00
Jacek Caban
59f2e837eb
wininet: Allocate buffer for host name in HTTP_HttpOpenRequestW only if needed.
2011-05-02 12:48:05 +02:00
Jacek Caban
aa612ec39b
wininet: Get rid of useless read_ret in netconn_read.
2011-05-02 12:48:00 +02:00
Jacek Caban
e594268421
wininet: Moved OpenSSL initialization to separated function.
2011-04-28 18:33:43 +02:00
Jacek Caban
12bf3472dd
wininet: Rename WININET_NETCONNECTION to netconn_t.
2011-04-28 18:33:10 +02:00
Marcus Meissner
2ac87cb695
wininet: Mark internal symbols as hidden visibility.
2011-04-26 15:31:26 +02:00
Jacek Caban
55b2722816
wininet: Use wrappers for HeapReAlloc calls.
2011-04-22 12:59:17 +02:00
Thomas Mullaly
2e61684c51
wininet: Prevent a race condition which results in handles being leaked.
2011-04-22 11:14:09 +02:00
Jacek Caban
354a74e004
wininet: Use wrappers for HeapAlloc calls.
2011-04-21 16:53:42 +02:00
Alexandre Julliard
5b4be5d4c3
wininet: Use an accessor function instead of directly accessing the X509_STORE_CTX structure.
2011-04-20 16:28:27 +02:00
Rex Tsai
b7582991de
wininet: Added stub for option DATA_SEND_TIMEOUT.
2011-04-13 14:13:51 +02:00
Juan Lang
0b8bfd9736
wininet: Honor security flags specified when opening a connection.
2011-04-07 17:48:28 +02:00
Jacek Caban
9e30a2f5ee
wininet: Check NETCON_connected in netconn_end_of_data.
2011-04-06 21:17:41 +02:00
Michael Stefaniuc
9bf247d44e
wininet: Move "inline" right after the storage specifier.
2011-04-05 16:23:02 +02:00
Jacek Caban
7611d10732
wininet: Added more tests.
2011-04-04 11:53:01 +02:00
Jacek Caban
ccd11eb7d6
wininet: Abstract different transfer and content encoding reading to layered structures.
2011-04-04 11:52:56 +02:00
André Hentschel
316f1c2e7c
wininet: Port numbers are unsigned.
2011-03-29 12:34:30 +02:00
André Hentschel
1a39e29c3b
wininet: Port numbers are unsigned.
2011-03-28 17:26:14 +02:00
Marcus Meissner
6e1f37151c
wininet: Added missing break (Coverity).
2011-03-28 17:10:55 +02:00
Francois Gouget
4abe4cf1b1
wininet/tests: Fix compilation on systems that don't support nameless unions.
2011-03-18 11:28:45 +01:00
Jacek Caban
685daf2006
wininet: Ensure that we have data to report before sending INTERNET_STATUS_REQUEST_COMPLETE in HTTP_HttpEndRequestW.
2011-03-17 10:43:40 +01:00
Jacek Caban
2bb3f4fa75
wininet: Decompress gzip data in refill_buffer to ensure that we have the data to report.
2011-03-17 10:43:31 +01:00
Francois Gouget
d705465de8
wininet/tests: Make test_InternetErrorDlg() static.
2011-03-16 14:14:24 +01:00
Jacek Caban
71265980ff
wininet: Update remaining HttpOpenRequest to use the new hello.html location.
2011-03-15 17:14:07 +01:00
Jacek Caban
ec96604881
wininet: Release gzip_buffer when opening new connection.
2011-03-15 17:14:07 +01:00
Alexandre Julliard
ac6a5a6355
wininet/tests: Update test data location to test.winehq.org/tests.
2011-03-14 19:31:31 +01:00
Juan Lang
31abbd7082
wininet: Don't adjust the use counts in RetrieveUrlCacheEntryFile until the function will succeed.
2011-03-14 12:39:28 +01:00
Francois Gouget
4bacb3f24e
wininet: Avoid a conflict with the sun macro when compiling on Solaris.
2011-03-14 12:15:35 +01:00
Alexander Scott-Johns
fa19e1bdb3
wininet: Partially implement FreeUrlCacheSpaceW.
2011-03-11 13:27:32 +01:00
Juan Lang
819eb52866
wininet: Reimplement IsUrlCacheEntryExpired.
2011-03-11 11:41:55 +01:00
Juan Lang
cb0a5c9106
wininet: Implement DeleteUrlCacheEntryA/W with a helper function.
2011-03-10 14:27:50 +01:00
Juan Lang
190acb9e26
wininet: Implement sticky url cache entries.
2011-03-10 14:27:35 +01:00
Juan Lang
f7340864b9
wininet: Test sticky url cache entries.
2011-03-10 14:25:12 +01:00
Juan Lang
6617c19c4b
wininet: Treat times of 0 as a special value.
2011-03-10 14:25:06 +01:00
Juan Lang
9a45cfc527
wininet: Add more tests for CommitUrlCacheEntry.
2011-03-10 14:24:27 +01:00
Austin English
249f4562d9
wininet: Avoid shadowing a parameter.
2011-03-09 15:54:21 +01:00
Juan Lang
c485996e5e
wininet/tests: Add a couple more tests for GetUrlCacheEntryInfoEx.
2011-03-09 12:48:33 +01:00
Juan Lang
c4d628cb02
wininet: Implement FindNextUrlCacheEntryW.
2011-03-09 12:28:11 +01:00
Juan Lang
9cd7545c00
wininet: Implement RetrieveUrlCacheEntryStreamW.
2011-03-09 12:27:41 +01:00
Juan Lang
011b26b1c6
wininet: Store headers in url cache entries.
2011-03-09 12:26:22 +01:00
Juan Lang
47970d0504
wininet: Set last access time when retrieving a URL cache entry.
2011-03-09 12:25:59 +01:00
Juan Lang
a039754103
wininet: Account for disk space usage when deleting url cache entries.
2011-03-09 12:25:53 +01:00
Juan Lang
7c15dc50a2
wininet: Account for disk space used by cache.
2011-03-09 12:24:14 +01:00
Alexandre Julliard
d790688afa
wininet: Convert file size in cache entry to a large integer.
2011-03-09 12:23:05 +01:00
Juan Lang
f0cd3de5c1
wininet: Change type of cache limit and usage to large integers.
2011-03-09 12:17:54 +01:00
Juan Lang
b9673bcc4d
wininet: Fully initialize time variable (valgrind).
2011-03-08 12:53:12 +01:00
Juan Lang
601b4fa589
wininet: Decrement file use count when deleting a cache entry.
2011-03-08 12:49:52 +01:00
Juan Lang
6e713b3946
wininet: Increment file use count when committing a URL cache entry.
2011-03-08 12:49:43 +01:00
Juan Lang
9d5ca542b3
wininet: Rename a variable based on publicly available information.
2011-03-07 15:02:17 +01:00
Juan Lang
ad45ebf3fa
wininet: Change a type based on publicly available information.
2011-03-07 15:02:04 +01:00
Juan Lang
535b864d0d
wininet: Rename a couple members based on publicy available information.
2011-03-07 15:01:55 +01:00
Juan Lang
47d3814c78
wininet: Rename a couple members to reflect their usage, and remove redundant comments.
2011-03-07 15:01:27 +01:00
Juan Lang
b2ed9c5967
wininet: Fix a comment.
2011-03-07 15:01:10 +01:00
Juan Lang
7685dad81d
wininet: Remove a no-op trinary expression.
2011-03-07 15:01:03 +01:00
Juan Lang
28e9229336
wininet: Store entries in url cache with valid last-modified date.
2011-03-07 15:00:59 +01:00
Juan Lang
9463a867a8
wininet: Remove outdated comment.
2011-03-04 16:25:59 +01:00
Juan Lang
d2a3832fc3
wininet: Fix off-by-one error.
2011-03-04 16:25:59 +01:00
Juan Lang
666353d1a6
wininet: Move creating cache file to a helper function.
2011-03-04 16:25:58 +01:00
Juan Lang
488c2d0c36
wininet: Support the Cache-Control max-age directive for setting url cache entry expiration.
2011-03-04 16:25:58 +01:00
Juan Lang
2d323430cb
wininet: Default to 10 minutes expiration for cache entries.
2011-03-04 16:25:58 +01:00
Juan Lang
ab16c75c48
wininet: Default to 10 minutes expiration for cache entries.
2011-03-04 16:25:58 +01:00
Juan Lang
0b5ea6f970
wininet: Store entries in url cache with valid expiration date.
2011-03-04 16:25:58 +01:00
Juan Lang
75cc509dae
wininet: Support setting the expired time in SetUrlCacheEntryInfo.
2011-03-03 17:47:14 +01:00
Juan Lang
b9c348a0b3
wininet: Use correct scheme for cache entries.
2011-03-03 17:47:14 +01:00
Juan Lang
eeb3e86f38
wininet/tests: Test retrieving http requests from cache.
2011-03-02 12:29:22 +01:00
Juan Lang
2098006d68
wininet: De-Hungarian HTTP request member names.
2011-03-02 12:29:19 +01:00
Juan Lang
8e05039102
wininet: De-Hungarian session member names.
2011-03-02 12:29:16 +01:00
Juan Lang
7243156bc1
wininet: De-Hungarian appinfo member names.
2011-03-02 12:29:13 +01:00
Juan Lang
2c6ad546cd
wininet: De-Hungarian auth cache member names.
2011-03-02 12:29:10 +01:00
Juan Lang
b49b2430ee
wininet: Rename variables for readability.
2011-03-02 12:29:07 +01:00
Igor Paliychuk
22b63d2c54
wininet: Fix translations.
2011-02-14 13:33:35 +01:00
Austin English
5da40467c8
wininet/tests: Make sure to use return value (LLVM/Clang).
2011-02-07 10:11:06 -06:00
Jacek Caban
680f251220
wininet: status_string clean up.
2011-02-04 15:25:32 +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
572c4f7039
wininet: Added more InternetCloseHandle tests.
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
Hans Leidekker
86eb9c24f1
wininet/tests: Trace errors from InternetReadFile in test_basic_request.
2011-01-24 16:04:33 +01:00
Greg Geldorp
859be0a283
wininet/tests: Fix failures when connecting through proxy.
2011-01-21 13:49:33 +01:00
Jacek Caban
59bcbb2d8b
wininet: Fixed race in SSL connection handling.
2011-01-20 12:19:30 +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
Vincent Povirk
173b2c5b0f
wininet: Use LIST_FOR_EACH_SAFE in a loop where we can delete an entry.
2011-01-17 12:49:14 +01:00
Jacek Caban
2f4968b597
wininet: Fixed memory leak in tests (valgrind).
2011-01-13 17:26:21 +01:00
Jacek Caban
0662555af3
wininet: Added post data tests.
2011-01-13 17:26:17 +01:00
Jacek Caban
e86353fd30
wininet: Make sure to initialize the whole z_stream struct (valgrind).
2011-01-12 18:12:42 +01:00
Alexandre Julliard
ec547500f2
wininet: Convert string table resources to po files.
2011-01-12 18:12:10 +01:00
Hwang YunSong
e1c71291cc
wininet: Update Korean resource.
2011-01-10 12:41:34 +01:00
Rex Tsai
21578a1a40
wininet: Update Traditional Chinese translation.
2011-01-07 15:01:13 +01:00
André Hentschel
145031b8d4
wininet/tests: Don't call GetLastError() twice.
2010-12-31 11:42:35 +01:00
Yaron Shahrabani
4a17b11d97
wininet: Updated Hebrew translation.
2010-12-29 10:47:47 +01:00
Sven Baars
a529c4a835
wininet: Update the Dutch translation.
2010-12-27 11:46:05 +01:00
Aurimas Fišeras
088fffec94
wininet: Update Lithuanian translation.
2010-12-27 11:45:28 +01:00
Luca Bennati
63d8852c66
wininet: Update Italian translation.
2010-12-24 12:05:03 +01:00
Frédéric Delanoy
79f36b2a08
wininet: Update French translation.
2010-12-23 13:47:26 +01:00
Frédéric Delanoy
f204acdea7
wininet: Update French translation.
2010-12-22 12:50:02 +01:00
André Hentschel
0512adff71
wininet: Fix German translation.
2010-12-22 12:45:44 +01:00
Łukasz Wojniłowicz
c2be1747d3
wininet: Update Polish translation.
2010-12-22 12:45:05 +01:00
André Hentschel
cc90dc6f3b
include: Add ERROR_INTERNET_FORTEZZA_LOGIN_NEEDED for wininet tests.
2010-12-21 19:47:14 +01:00
André Hentschel
5c7bb1e5b8
wininet: Update German translation.
2010-12-21 19:20:15 +01:00
David Hedberg
08fe24de06
wininet: Add a simple certificate dialog to InternetErrorDlg.
2010-12-20 12:47:39 +01:00
David Hedberg
46be41271c
wininet: Make module handle scope global.
2010-12-20 12:47:39 +01:00
David Hedberg
3ce9304592
wininet: Respect SECURITY_FLAG_IGNORE_CERT_DATE_INVALID.
2010-12-20 12:47:39 +01:00
Austin English
1c7d349f26
wininet: Add a stub for InternetShowSecurityInfoByURL.
2010-11-25 16:57:13 +01:00
Juan Lang
c2b42758da
wininet: Verify revocation status of certificate chain.
2010-11-16 11:44:11 +01:00
Francois Gouget
9ca197261d
wininet/tests: Add a trailing '\n' to ok() calls.
2010-11-02 13:16:14 +01:00
Paul Vriens
ddda9e939a
wininet: Add the Serbian (Latin and Cyrillic) translation.
...
Translation by Đorđe Vasiljević.
2010-11-01 11:35:16 +01:00
Andrew Nguyen
7591563885
wininet: Fix misleading OpenSSL version number check.
2010-10-25 14:33:23 +02:00
Andrew Nguyen
b20e111088
wininet: Fix const qualifier warning when compiling with OpenSSL 1.0.0.
2010-10-25 14:33:12 +02:00
Jacek Caban
fa5839399f
wininet: Skip more tests on IE older than 6.0.
2010-10-19 13:47:58 +02:00
Yaron Shahrabani
17d8c5fbee
wininet: Added Hebrew translation.
2010-10-12 17:38:32 +02:00
Andrew Eikum
6525d89c95
shlwapi: Handle URL_WININET_COMPATIBILITY flag in UrlCanonicalize.
2010-10-12 12:17:38 +02:00
Alexandre Julliard
0cc9c52f8c
wininet: Load X509_STORE_CTX_get_ex_data from libcrypto not libssl.
2010-10-08 19:15:45 +02:00
Andrew Eikum
3555226acf
wininet: Clean up returned UrlPath for file protocol URLs.
2010-10-06 11:20:23 +02:00
Juan Lang
80545ef966
wininet: Secure flag is set in the request, not in the session.
2010-10-01 17:48:05 +02:00
Juan Lang
948173b7f4
wininet: Set cipher strength bits when querying INTERNET_OPTION_SECURITY_FLAGS.
2010-10-01 15:21:18 +02:00
Juan Lang
887aeb6a09
wininet: Support querying the cipher strength of an SSL connection.
2010-10-01 15:20:49 +02:00
Juan Lang
56ebc04ab6
wininet: Returned certificate strings are always ASCII.
2010-10-01 15:20:41 +02:00
Juan Lang
86732e04d8
wininet: Add some secure connection tests.
2010-10-01 15:20:35 +02:00
Juan Lang
9f6cd2663e
wininet: Let CertVerifyCertificateChainPolicy handle certain security flags.
2010-10-01 15:20:27 +02:00
Juan Lang
0e4e2a378a
wininet: More completely implement querying INTERNET_OPTION_SECURITY_FLAGS.
2010-09-30 11:14:39 +02:00
Juan Lang
6808c1c684
wininet: Remove unneeded error message.
2010-09-30 11:14:31 +02:00
Juan Lang
44112c367f
wininet: Honor security flags when verifying certificates.
2010-09-30 11:14:16 +02:00
Juan Lang
98dbdadcda
wininet: Don't call SSL_connect until initialization is complete.
2010-09-30 11:14:01 +02:00
Juan Lang
181a367a1f
wininet: Don't retrieve a certificate that isn't used.
2010-09-30 11:13:55 +02:00
Juan Lang
77c4ade08b
wininet: Store security flags in WININET_NETCONNECTION.
2010-09-30 11:13:48 +02:00
Juan Lang
ce0164c3f7
wininet: Store WININET_NETCONNECTION * in SSL context.
2010-09-30 11:13:35 +02:00
Juan Lang
3e51313e37
wininet: Don't make use of OpenSSL's security checks, as crypt32 also verifies certificate chain.
2010-09-30 11:13:12 +02:00
Lauri Kenttä
93b5779b30
wininet: Update Finnish translation.
2010-09-24 18:21:16 +02:00
Henri Verbeet
6e46e9048f
wininet: Cut of the query string before searching for the filename in CreateUrlCacheEntryW().
...
Apparently it's possible to receive URLs with e.g. slashes in the query
string. I was under the impression those were reserved in the query string,
but e.g. Firefox will happily accept them as well.
2010-09-23 12:06:49 +02:00
Henri Verbeet
7782e81887
wininet: Check URLCache_LocalFileNameToPathW() return values in CreateUrlCacheEntryW().
...
It would be unfortunate if a long file name would cause us to open a file
based on mostly uninitialized data and write the contents of some random
webpage into it.
2010-09-23 12:06:38 +02:00
Luca Bennati
43af162c45
wininet: Update Italian translation.
2010-09-21 17:53:54 +02:00
Alexandre Julliard
81b8ee863e
makefiles: Add a standard header for all makefiles to replace the common variable initializations.
2010-09-19 12:36:48 +02:00
Alexandre Julliard
90fcda14bb
wininet: Use int64 in the spec file for 64-bit integers.
2010-08-31 14:23:48 +02:00
Hans Leidekker
94deb85d12
wininet: Handle HTTP_STATUS_REDIRECT_METHOD.
2010-08-27 12:08:41 +02:00
Anders Jonsson
94d7111e8a
wininet: Update Swedish translation.
2010-08-16 12:59:14 +02:00
Uwe Bonnes
53391a3445
wininet: Add const qualifier after openssl version check.
2010-08-02 17:39:20 +02:00
Piotr Caban
75481bde85
wininet: Commit URL cache entry when cache file is closed.
2010-07-26 09:58:21 +02:00
Piotr Caban
54bdf622a0
wininet: Fixed CreateUrlCacheEntryA implementation.
2010-07-26 09:58:21 +02:00
Michael Stefaniuc
276f8eaf59
wininet: Remove the ignored common resource attributes.
2010-07-22 11:41:36 +02:00
Alexandre Julliard
b86d515ed6
dlls: Remove explicit imports of kernel32 and ntdll.
2010-07-21 17:38:36 +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
0736ca71e7
wininet: Don't report error in read_gzip_data when to much data was cached.
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
Piotr Caban
98fb747aa9
wininet: Delete authorization data on unsucessful login.
2010-07-19 14:38:15 +02:00
Piotr Caban
3cfc7132be
wininet: Fix reporting errors in callbacks.
2010-07-19 14:38:15 +02:00
Igor Paliychuk
deb41e5d5e
wininet: Ukrainian translation update.
2010-07-12 11:36:04 +02:00
Gustavo Henrique Milaré
01a9ed1ad8
wininet: Update Portuguese (Brazilian) translation.
2010-07-02 12:18:18 +02:00
Austin English
eff0aeccef
wininet: Avoid size_t in ERR().
2010-07-02 12:17:03 +02:00
Piotr Caban
898531de80
wininet: Remove get_avail_data check from HTTPREQ_ReadFileExA.
2010-07-01 13:44:02 +02:00
Piotr Caban
ee68473fe5
wininet: Reconnect if persistent connection was closed by server.
2010-06-29 15:20:56 +02:00
Kovács András
1aec8e4f8a
wininet: Update Hungarian translation.
2010-06-29 10:54:00 +02:00
Hwang YunSong
784716946e
wininet: Update Korean resource.
2010-06-21 11:48:20 +02:00
Marcus Meissner
3d5a3a32ce
wininet: Fixed buffer lengths in InternetCrackUrlW tests.
2010-06-10 17:17:57 +02:00
Akihiro Sagawa
089de46366
wininet: Update Japanese translation.
2010-06-07 13:41:09 +02:00
Łukasz Wojniłowicz
947d18ace7
wininet: Update the Polish translation.
2010-06-07 12:54:30 +02:00
Jose Rostagno
2a52bb82f2
wininet: Update Spanish translation.
2010-06-02 10:53:50 +02:00
Paul Vriens
e7eb917531
wininet: Update the Danish translation and convert to UTF-8.
...
Translation by Thomas Larsen <sikker2004@yahoo.com>
2010-06-02 10:52:31 +02:00
Marcus Meissner
b7f3aa61f4
wininet: Check for NULL lpwhh (Coverity).
2010-05-27 15:22:12 +02:00
Hans Leidekker
02abc3b216
wininet: Add tests for setting and retrieving the context value.
2010-05-25 13:30:37 +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
224af0d0e7
wininet: Fix variables values after redirection in HTTP_HttpSendRequestW.
...
Moved dwContentLength reset after HTTP_DrainContent (this function
disconnects when dwContentLength is set to ~0u).
2010-05-20 16:48:37 +02:00
Michael Stefaniuc
2c07791c5b
wininet: Remove redundant "not NULL/0" checks (coccicheck).
2010-05-20 13:47:52 +02:00
Piotr Caban
8dde5c5168
wininet: Combine certificate errors in HTTP_OpenConnection.
2010-05-19 15:01:00 +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
4ba60d265a
wininet: Fix callbacks sent on connection error.
2010-05-19 15:00:43 +02:00
Matej Špindler
4ed5079b67
wininet: Update Slovenian translation.
2010-05-18 08:50:10 +02:00
Piotr Caban
c6097cafdd
wininet: Deal with reading over the end in NETCON_recv.
2010-05-17 13:20:22 +02:00
Piotr Caban
a298415bbe
wininet: Fix dwStatusInfoLength value in INTERNET_SendCallback.
2010-05-17 13:20:08 +02:00
Piotr Caban
c0890590ab
wininet: Fix trace messages.
2010-05-08 18:14:53 +02:00
Gerald Pfeifer
dec98a5997
wininet: Remove variable len which is not really used from CommitUrlCacheEntryInternal.
2010-04-21 15:35:00 +02:00
Alexandre Julliard
d982262302
wininet: Fix some pointer conversion warnings on 64-bit.
2010-04-09 13:43:23 +02:00
Alexandre Julliard
a8e86e35dd
winapi: Generate the 64-bit variant of structure size/alignment tests.
2010-04-07 18:03:00 +02:00
Mikhail Maroukhine
25306d8be3
wininet: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:18:06 +02:00
Mikhail Maroukhine
6e5dfd1fb8
wininet: Fix compiler warnings with flag -Wcast-qual.
2010-03-29 12:11:17 +02:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01: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
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Hans Leidekker
8858fc9b66
wininet: Don't call libcrypto function after closing the library.
...
Spotted by Paul Vriens.
2010-02-08 17:14:44 +01:00
Alexandre Julliard
7aaec2e667
wininet/tests: Fix a test failure on Win2k.
2010-02-05 11:44:18 +01:00
Paul Vriens
6c136e862b
wininet/tests: Fix some memory leaks (Valgrind).
2010-02-01 12:49:48 +01:00
Paul Vriens
a28433a232
wininet/tests: Fix test failures on Win98/WinMe by using more A-functions.
2010-01-27 18:46:06 +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
e5180c101b
wininet: Fix a memory leak.
...
Found by Valgrind.
2010-01-05 16:28:48 +01:00
Jacek Caban
e5574369dd
wininet: Fixed tests on older IEs.
2009-12-29 11:07:26 +01:00
Jacek Caban
672f021e2b
wininet: Test also InternetCrackUrlW in test_crack_url.
2009-12-28 11:57:47 +01:00
Alexandre Julliard
5ded71ff43
wininet: Fix pointer cast warnings on 64-bit.
2009-12-24 12:15:40 +01:00
Hans Leidekker
d4a7a9d43d
wininet: Avoid test failures on win9x.
2009-12-22 15:40:04 +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
e1958a67d6
wininet: Don't use INTERNET_SetLastError in HttpSendRequestA.
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
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
Juan Lang
09246aa1a7
wininet: Set error and fail if a secure connection's certificate couldn't be verified.
2009-12-16 12:20:26 +01:00
Juan Lang
bd5c5953f3
wininet: Return error directly from netconn_verify_cert.
2009-12-16 12:20:21 +01:00
Jacek Caban
9823c23927
wininet: Directly return error status from HTTP_HttpQueryInfoW.
2009-12-14 12:07:52 +01:00
Juan Lang
03fe473ad7
wininet: Check the certificate in an https connection using the crypto api.
2009-12-14 12:06:04 +01:00
Juan Lang
6217326a09
wininet: Set callback to verify hostname with peer's certificate.
2009-12-14 12:05:52 +01:00
Juan Lang
880133d248
wininet: Store hostname for secure connection in its SSL context.
2009-12-14 12:05:45 +01:00
Juan Lang
1350e9d1c0
wininet: Free OpenSSL error strings at unload.
2009-12-14 12:05:37 +01:00
Juan Lang
33e68268a4
wininet: Don't unnecessarily convert hostname to ANSI to check it.
2009-12-14 12:05:31 +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
d153344eaa
wininet: Make InternetCrackUrlA tests more generic and add more tests.
2009-12-10 11:55:52 +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
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
bf58fdd197
wininet/tests: Mark behavior of IE5 as broken for some ftp tests.
2009-12-08 12:37:20 +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
Hans Leidekker
e018a5e25b
wininet: Add a test for status callbacks on ftp connections.
2009-12-04 14:42:44 +01:00