Robert Shearman
5b5d45586e
wininet: Implement setting of send and receive timeouts.
2006-03-14 17:50:41 +01:00
Robert Shearman
9981f337e3
wininet: Don't continue to connect to a secure server without SSL support since it won't work.
...
Don't continue to connect to a secure server without SSL support since
it won't work. Return an error back to the application instead.
2006-03-06 20:00:21 +01:00
Aric Stewart
8b0883576e
wininet: INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT work.
...
Beginning of framework to implement handling of InternetQueryOption
for INTERNET_OPTION_SECURITY_CERTIFICATE_STRUCT.
2006-01-20 20:16:56 +01:00
Aric Stewart
1e946d3e14
wininet: HTTP headers reworking.
...
Redo how headers are handled, eliminating the concept of Standard
Headers and allow all headers to be added multiple times.
Allow querying of headers with an index to get the multiple headers.
Respect response vs request headers in HttpQueryInfo.
Add a number of tests to extensively test header adding and replacing.
2005-12-13 17:07:41 +01:00
Robert Shearman
067f09604a
wininet: global function/data cleanup
...
Make some functions and a structure static since they are only used in
one file.
2005-12-03 18:03:08 +01:00
Robert Shearman
f6252cf43e
Remove duplicated code by modifying HTTP_HttpSendRequest so that it
...
can be used by both HttpSendRequest and HttpSendRequestEx.
Also allow HttpSendRequestEx to be used asynchronously.
2005-11-30 12:31:22 +01:00
Robert Shearman
13d371da54
Move the initiation of the SSL connection into a separate function.
2005-11-28 11:54:31 +01:00
Robert Shearman
3592110af7
Add a host port field that preserves the requested port of the
...
destination URL.
2005-11-28 11:53:05 +01:00
Robert Shearman
7bb3463166
Add a new field "lpszHostName" to the session to track the host name
...
of the HTTP server, as opposed to the server that we will connect to
that could be a proxy server. Fixes the "Host:" header that we send to
servers.
2005-11-28 10:40:42 +01:00
Robert Shearman
756f197945
Rename SendAsyncCallback to INTERNET_SendCallback.
2005-11-22 11:59:07 +00:00
Robert Shearman
e6157dde9d
We shouldn't pass the struct hostent returned from gethostbyname as
...
it's not thread-safe and isn't needed anyway.
2005-11-15 18:16:55 +00:00
Robert Shearman
5b1fd2e58e
SSL doesn't need to use a different socket to unsecure communications.
2005-11-15 12:01:40 +00:00
Robert Shearman
01e91e5f6c
Implement InternetReadFileExA (based on a patch by Brian Gerst).
2005-11-12 19:10:56 +00:00
Jacek Caban
02708c6227
Make functions static.
2005-10-26 10:07:58 +00:00
Aric Stewart
4a38fb2b10
Move the peek_msg buffers for SSL connections into the
...
WININET_CONNECTION structure to prevent 2 threads from clobbering each
other's buffers.
2005-10-20 11:35:54 +00:00
Mike McCormack
9b95bb526d
Fix some warnings.
2005-06-13 19:05:42 +00:00
Lionel Ulmer
d792a6af7b
Added/improved TRACEing.
2004-12-23 11:18:29 +00:00
Steven Edwards
191a91d44a
MSVC porting fixes.
2004-12-20 18:50:33 +00:00
Eric Pouech
4056d7ef8c
Fixed some errors in function prototypes.
2004-12-13 21:19:01 +00:00
Robert Shearman
ed517f3a8b
InternetSetStatusCallback can be used on any handle and callbacks are
...
inherited by derived handles.
2004-09-20 19:10:31 +00:00
Alexandre Julliard
60a8fcf4b0
Avoid using socklen_t.
2004-09-16 20:34:27 +00:00
Robert Shearman
37f2cc8274
Store HTTP host header in the same way as most other headers.
2004-09-13 19:33:17 +00:00
Steven Edwards
c91ae456b8
Use Windows sockets when building Wininet on Mingw.
2004-09-03 18:57:19 +00:00
Mike McCormack
13b6ce6da8
Fix warnings generated with -Wsign-compare.
2004-08-09 18:54:23 +00:00
Mike McCormack
3a1391b8dd
Use pointers internally and refcount all objects.
2004-07-19 21:49:39 +00:00
Robert Shearman
dee8751ca8
Fix HttpQueryInfo(HTTP_QUERY_RAW_HEADERS*) so that it returns the
...
actual headers received, not just reconstituting them from processed
data.
2004-07-19 20:09:20 +00:00
Kevin Koltzau
1d2d2d6bf1
Move all FTP functions to unicode.
...
Improve FTP LIST parsing.
2004-05-25 04:02:05 +00:00
Kevin Koltzau
917df92356
Prevent memory leak and superfluous status notifications.
2004-05-13 05:17:25 +00:00
Mike McCormack
a4e902cbe1
Convert the wininet HTTP functions to Unicode.
2004-03-30 04:36:09 +00:00
Mike McCormack
09d2d47721
Convert WININETAPPINFOA structure to unicode.
2004-03-25 05:29:47 +00:00
Lionel Ulmer
1d5e6b6725
Better TRACEing in some functions.
2004-02-09 22:01:49 +00:00
Lionel Ulmer
e0e314780a
Implemented proper asynchronous InternetOpenUrl handling.
2004-02-09 21:45:38 +00:00
Mike McCormack
7cc70c0a8f
Implement proper HINTERNET handles.
2004-02-07 01:03:41 +00:00
Vincent Béron
f68ec6fc5d
Undefine FAR to avoid conflict with ssl.h.
2003-11-25 01:48:01 +00:00
Dmitry Timoshkov
2581db8f6a
Fixed some problems found while compiling and linking Wine under
...
Cygwin.
2003-10-14 05:27:43 +00:00
Mike McCormack
b8921a24ab
Use unions instead of defines in async work requests.
2003-09-25 20:25:22 +00:00
Alexandre Julliard
a3cba5235d
Avoid DSA type conflict between ssl.h and commctrl.h.
2003-08-05 19:21:08 +00:00
Mike McCormack
a1c16d28fa
Implement support for proxies with usernames and passwords.
2003-07-22 03:17:52 +00:00
Lionel Ulmer
a1852bff23
- fix multiple consecutive downloads (by flushing when needed the
...
command socket)
- detect attempts to download multiple files at the same time
- fix size / date reporting when enumerating files
- fix Y2K problem in NT parsing of files
2003-07-21 22:04:14 +00:00
Lionel Ulmer
2429d51ff2
- use SIZE command to retrieve the file size (as the file size is not
...
part of the WinNT acknowledgement string)
- free the handle / close the socket on end of download
- fix InternetReadFile in the FTP case
- fix FTP_ReceiveResponse
2003-07-21 19:59:03 +00:00
David Hammerton
852c7ae404
- implemented support for https protocol
...
- fixes to the http protocol
2003-06-20 23:26:56 +00:00
Patrik Stridvall
1ee88a2bfb
Removed trailing white space.
2002-08-28 23:43:43 +00:00
Aric Stewart
ff9b9d4ef8
Reworking of http and asyncronous calls to get IE6 to install.
...
Added a version resource.
Added unit test for http.
2002-06-21 23:59:49 +00:00
Vincent Béron
9a62491660
Removed trailing whitespace.
2002-05-31 23:06:46 +00:00
Alexandre Julliard
0799c1a780
Added LGPL standard comment, and copyright notices where necessary.
...
Global replacement of debugtools.h by wine/debug.h.
2002-03-09 23:29:33 +00:00
Francois Gouget
909bcde294
Fix compilation errors on FreeBSD.
2001-09-10 23:07:39 +00:00
Francois Gouget
a0f98f13d9
Made independent from winsock.
...
Include the needed headers directly in internet.h.
2001-08-24 19:13:36 +00:00
Chris Morgan
b9807b405e
Add includes for <time.h>.
2001-02-15 21:24:07 +00:00
Andreas Mohr
f5682a0f8e
- implemented passive FTP transfers (PASV, needed for firewalls)
...
- fixed lstnSocket closing
2000-12-29 05:19:57 +00:00
Ulrich Czekalla
c275724cbf
HTTP protocol now supported, InternetCrackUrl fixed, lots of other
...
fixes.
2000-06-11 20:04:44 +00:00