Commit Graph

605 Commits (4a831ec7162b76f342072a52e2a6c0c5f522a4c2)

Author SHA1 Message Date
Francois Gouget fa41be3fdb wininet: Fix a couple of reversed checks that could result in leaked socket handles. 2007-03-08 22:16:41 +01:00
Francois Gouget 53e76f8370 wininet: Check file handles against INVALID_HANDLE_VALUE, not NULL.
Simplify the file handle handling in FTP_FtpPutFileW().
2007-03-08 22:16:36 +01:00
Rob Shearman 07daeff8f4 wininet: Always make copies of strings passed to INTERNET_SendCallback.
This ensures that applications that change the strings received in
status callbacks don't affect the data needed to successfully connect to
the correct server.
2007-03-05 16:43:26 +01:00
Paul Vriens 23473ccc9e wininet/ftp: Let CreateFile deal with last error. 2007-03-01 12:17:47 +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
Paul Vriens 443ae2290a wininet/tests: Add another test. 2007-02-27 12:23:49 +01:00
Andrew Talbot 46fc9c2e11 wininet: Constify some variables. 2007-02-26 13:38:37 +01:00
Paul Vriens 63806a94b5 wininet/tests: Add a few more tests. 2007-02-22 11:26:51 +01:00
Rob Shearman ba590a185a wininet: Fix the case of partial SSL reads from the peek buffer.
Don't return FALSE for a partial read. Fall through to SSL_read and use 
the logic for partial reads there instead of having separate logic and 
recursively calling NETCON_recv. Based on a patch by Michael Moss.
2007-02-21 19:49:50 +01:00
Francois Gouget 56da1eeadc wininet/tests: Fix some tests so they succeed on Windows 98. 2007-02-21 19:48:25 +01:00
Paul Vriens 8bc9bc2e29 wininet/ftp.c: Fix some typos. 2007-02-21 10:54:14 +01:00
Francois Gouget 93494f2ac0 Assorted spelling fixes. 2007-02-20 20:30:51 +01:00
Francois Gouget eb2bf541f2 wininet/tests: Tell the user which ftp server we're using for the tests so he can try to connect to it manually in case of trouble. 2007-02-20 20:29:51 +01:00
Francois Gouget f410bbf098 wininet/tests: Dynamically load some functions so the test runs on Windows 98. 2007-02-20 20:29:46 +01:00
Francois Gouget da64fe5d56 wininet: Move a bunch of misplaced API documentation. 2007-02-20 20:29:38 +01:00
Paul Vriens 8316b93386 wininet/ftp.c: Fix some returned error codes. 2007-02-20 11:40:09 +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
Paul Vriens 5b04d3d67d wininet/ftp.c: Fix some returned error codes. 2007-02-19 12:04:42 +01:00
Hans Leidekker 890f63a1d8 wininet: Fix a test that fails on Windows. 2007-02-13 11:50:07 +01:00
Hans Leidekker 2024f68753 wininet: Skip empty accept type strings in HttpOpenRequest. 2007-02-13 11:50:01 +01:00
Paul Vriens f0f3e15ac2 wininet/ftp.c: Fix some returned error codes. 2007-02-13 11:49:40 +01:00
Paul Vriens 00b7b29c3a wininet/ftp.c: Add tests to show the order of parameter checking. 2007-02-13 11:49:22 +01:00
Paul Vriens 2ba1cdad69 wininet/ftp.c: Add another test. 2007-02-12 13:58:56 +01:00
Paul Vriens d20833fc52 wininet/ftp.c: Fix some returned error codes. 2007-02-12 13:47:11 +01:00
Paul Vriens 54c80612ac wininet/ftp.c: Fix some returned error codes. 2007-02-12 13:47:03 +01:00
Paul Vriens 6c05048756 wininet/ftp.c: Fix some returned error codes. 2007-02-12 13:46:52 +01:00
Paul Vriens 1f5e5a2b75 wininet/ftp.c: Fix some returned error codes. 2007-02-09 11:50:09 +01:00
Paul Vriens 37eb0955cd wininet/tests: Add a few more tests. 2007-02-07 21:41:58 +01:00
Paul Vriens 70be65b76e wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:53 +01:00
Paul Vriens ce8ededf3b wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:44 +01:00
Paul Vriens e849f758ba wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:37 +01:00
Paul Vriens 00ff67ef09 wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:30 +01:00
Paul Vriens a571476a74 wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:23 +01:00
Paul Vriens 7a1ef2c1ef wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:16 +01:00
Paul Vriens 7c7271d465 wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:07 +01:00
Paul Vriens 2831cf5d3e wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:41:00 +01:00
Paul Vriens 0e8ad3019a wininet/ftp: Remove unneeded (double) checks. 2007-02-07 21:40:52 +01:00
Paul Vriens 0cc5a68e2c wininet/ftp.c: Remove unneeded check. 2007-02-07 11:03:59 +01:00
Paul Vriens 46812a4bba wininet: Remove unused function. 2007-02-06 12:30:45 +01:00
Paul Vriens 8e9a81ea08 wininet/tests: Add ftp tests. 2007-02-05 21:04:26 +01:00
Bang Jun-Young b71e42b794 wininet: config.h police. 2007-02-05 12:25:55 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Rob Shearman 1ec14b0b25 wininet: Fix HTTP_EncodeBasicAuth by passing an out buffer to the second set of character set conversion calls. 2007-01-17 11:24:09 +01:00
Mikołaj Zalewski b8e1dcb374 wininet: Add Polish translation. 2007-01-15 12:42:29 +01:00
Rob Shearman a9ebc706e3 wininet: Change HTTP_EncodeBase64 to operate on a series of bytes, instead of text.
Change HTTP_EncodeBasicAuth to convert the username and password into 
utf8 before base64 encoding.
2007-01-15 12:31:11 +01:00
Rob Shearman 9efe083ec5 wininet: HTTP_HttpQueryInfoW deals with bytes, not characters so update the callers that have this wrong assumption. 2007-01-15 12:30:53 +01:00
Rob Shearman 7b002a39b8 wininet: Allow a NULL value to be passed into HTTP_ProcessHeader
instead of crashing so that when used with the replace flag it will
delete an existing value.
2007-01-15 12:30:46 +01:00
Rob Shearman 392ceba61f wininet: Don't try to read anything if 0 bytes are to be read. 2007-01-10 22:25:44 +01:00
Francois Gouget e66d1cd5e9 wininet: Consistenly use INTERNET_SetLastError(). 2007-01-10 11:58:47 +01:00
Rob Shearman 47a8b86b53 wininet: Use Keep-Alive for HTTP requests if specified by the flags passed into HttpOpenRequest. 2007-01-08 12:39:50 +01:00