Misha Koshelev
705b01c054
wininet: When sending INTERNET_STATUS_HANDLE_CLOSING make sure the freed handle is not yet available.
2007-09-25 13:51:34 +02:00
Misha Koshelev
728e5fa559
wininet: Track child handles, free all child handles on WININET_FreeHandle as native.
2007-09-21 11:53:04 +02:00
Juan Lang
ba45902daf
wininet: Create a TCP connection if FLAG_ICC_FORCE_CONNECTION is specified.
2007-09-18 10:42:35 +02:00
Francois Gouget
d4337f2b5e
wininet: Fix many wininet prototypes: the context is a DWORD_PTR now.
2007-08-30 17:02:49 +02:00
Misha Koshelev
2f3805a3bd
wininet: Send INTERNET_STATUS_HANDLE_CLOSING when object is being destroyed as native does.
2007-08-23 13:13:35 +02:00
Misha Koshelev
0f117e568f
wininet: Separate connection closing from object destruction.
2007-08-23 13:13:24 +02:00
Misha Koshelev
1ee9ea91a5
wininet: Fix reference count on internet handle for asynchronous InternetReadFileEx call.
2007-08-22 12:18:59 +02:00
Misha Koshelev
6ea2441ff9
wininet: InternetQueryDataAvailable does not return ERROR_NO_MORE_FILES when no more HTTP data is available.
2007-08-13 12:36:19 +02:00
Misha Koshelev
662f44a619
wininet: Don't peek data in InternetQueryDataAvailable if there is no more to be expected.
2007-08-13 12:36:09 +02:00
Hans Leidekker
4332f418a5
wininet: Implement INTERNET_OPTION_CALLBACK in InternetSetOption{A, W}.
2007-08-10 12:58:17 +02:00
Hans Leidekker
c1c6f4ad6b
wininet: Also set last error on NULL first parameter in InternetCreateUrl{A, W}.
2007-08-10 12:58:17 +02:00
Hans Leidekker
d10891eab9
wininet: Don't crash on NULL first or last parameter in InternetCrackUrlW.
2007-08-10 12:58:17 +02:00
Francois Gouget
f33abb6d96
wininet: Add a skeleton winineti.h header with fixed prototypes for [GS]etUrlCacheConfigInfo*(), DeleteIE3Cache() and IsUrlCacheEntryExpired*().
...
Remove SetUrlCacheConfigInfo*() from wininet.h, it's supposed to be declared in winineti.h.
Update win32.api to fix the winapi_check warnings.
2007-08-09 14:11:56 +02:00
Francois Gouget
36d98a32eb
wininet: #undef some macros to avoid a conflict between openssl/ssl.h and wincrypt.h.
2007-08-09 14:11:35 +02:00
Huw Davies
dc881a258e
wininet: Fix the case when Proxy or ProxyBypass is NULL.
2007-08-07 12:42:31 +02:00
Huw Davies
00631b2480
wininet: Stub for InternetQueryFortezzaStatus().
2007-07-19 14:38:42 +02:00
Huw Davies
d9bdf793fe
wininet: Certain options of InternetQueryOption can take a NULL handle, so don't do the NULL handle check at the beginning.
2007-07-19 11:54:04 +02:00
Misha Koshelev
663c0146a5
wininet: Fix behavior of InternetQueryDataAvailable if INTERNET_FLAG_ASYNC is set.
2007-07-16 14:59:16 +02:00
Rob Shearman
c16bb07186
wininet: Send the correct callbacks during InternetReadFileExA calls.
2007-06-06 12:10:55 +02:00
Rob Shearman
56267608f1
wininet: Add a new NETCON_query_data_available function.
...
Use it to implement the behaviour where InternetReadFileExA does a
synchronous request if the data is available and asynchronous otherwise.
2007-05-29 14:00:20 +02:00
Rob Shearman
76507d475b
wininet: Don't close the connection if the caller passes in zero for the number of bytes to be read.
...
Only close the connection when the bytes read equals the content length.
Fixup HTTP_DrainContent, which relied on the previous incorrect
behaviour to instead close connections with no content length manually.
2007-05-29 13:49:02 +02:00
Andrew Talbot
8ee390f6f5
wininet: Exclude unused headers.
2007-05-29 12:10:17 +02:00
Alexandre Julliard
be59e2bb53
Fix a couple of overflowing heap allocations revealed by the previous change.
2007-05-22 11:59:36 +02:00
Michael Stefaniuc
5f62da109e
janitorial: Pass HEAP_ZERO_MEMORY as flag to HeapAlloc() instead of zeroing out the allocated memory in a later call.
2007-04-25 12:26:07 +02:00
Hans Leidekker
13a04ac0a8
wininet: Fix buffer size calculation in INTERNET_InternetOpenUrlW.
...
Spotted by Ron Yorston.
2007-03-13 20:31:22 +01:00
Ken Thomases
b33057986a
wininet: Use "ping -c 1" instead of "ping -w 1" for InternetCheckConnection.
2007-02-28 21:29:43 +01:00
Hans Leidekker
316383dd49
wininet: Don't discard the extra info part of a URL in InternetOpenUrl.
2007-02-20 11:39:00 +01:00
Francois Gouget
e66d1cd5e9
wininet: Consistenly use INTERNET_SetLastError().
2007-01-10 11:58:47 +01:00
Rob Shearman
272954bd81
wininet: Change the HTTP code to not assume that the connection will be closed at the end of every request.
2007-01-04 21:17:34 +01:00
Rob Shearman
ac1b527498
wininet: Use the Content-Length header to work out how much HTTP data there is left to be read
...
and don't try to read any more than what is available.
2007-01-04 21:17:12 +01:00
Rob Shearman
02c89e5c6f
wininet: Remove the custom thread pool implementation and use QueueUserWorkItem instead.
2007-01-04 21:13:53 +01:00
Jacek Caban
49f5ee746c
wininet: Get rid of ASYNC_FUNC enum.
2006-12-26 12:50:19 +01:00
Jacek Caban
f08ff892be
wininet: Use proc instead of enum in FTPFINDNEXTW request.
2006-12-26 12:50:09 +01:00
Jacek Caban
3a08f1f656
wininet: Use proc instead of enum in FTPRENAMEFILEW request.
2006-12-26 12:50:00 +01:00
Jacek Caban
97157ccee0
wininet: Use proc instead of enum in FTPREMOVEDIRECTORYW request.
2006-12-26 12:49:53 +01:00
Jacek Caban
ee99b3f0c5
wininet: Use proc instead of enum in FTPDELETEFILEW request.
2006-12-26 12:49:47 +01:00
Jacek Caban
054108368e
wininet: Use proc instead of enum in FTPGETFILEW request.
2006-12-26 12:49:41 +01:00
Jacek Caban
3c90016f2f
wininet: Use proc instead of enum in FTPOPENFILEW request.
2006-12-26 12:49:32 +01:00
Jacek Caban
3b77ff24c2
wininet: Use proc instead of enum in FTPGETCURRENTDIRECTORYW request.
2006-12-26 12:49:27 +01:00
Jacek Caban
0d464ba8db
wininet: Use proc instead of enum in FTPFINDFIRSTFILEW request.
2006-12-26 12:49:19 +01:00
Jacek Caban
c4aa47badd
wininet: Use proc instead of enum in FTPCREATEDIRECTORY request.
2006-12-26 12:49:08 +01:00
Jacek Caban
f28b0e3b10
wininet: Use proc instead of enum in FTPSETCURRENTDIRECTORY request.
2006-12-26 12:49:01 +01:00
Jacek Caban
4adce67cf6
wininet: Use proc instead of enum in FTPUTFILE request.
2006-12-26 12:48:53 +01:00
Jacek Caban
662c885a0b
wininet: Use proc instead of enum in INTERNETREADFILEEXA request.
2006-12-26 12:48:40 +01:00
Jacek Caban
8c3ca8d817
wininet: Use proc instead of enum in INTERNETOPENURLW request.
2006-12-26 12:48:30 +01:00
Jacek Caban
5dd5536a9a
wininet: Remove not used HTTPOPENREQUESTW request.
2006-12-26 12:48:21 +01:00
Jacek Caban
c156845560
wininet: Use proc instead of enum in HTTPSENDREQUESTW request.
2006-12-26 12:48:09 +01:00
Jacek Caban
e30037f0d5
wininet: Use proc instead of enum in SENDCALLBACK request.
2006-12-26 12:47:57 +01:00
Andrew Talbot
4ef6043a57
wininet: Cast-qual warnings fix.
2006-11-22 11:45:05 +01:00
Rob Shearman
01425f603a
wininet: Don't return an error for INTERNET_OPTION_SEND/RECEIVE_TIMEOUT not being implemented
...
on protocols other than HTTP, just print a FIXME. Reported by Michael Moss.
2006-11-02 21:57:17 +01:00