Commit Graph

245 Commits

Author SHA1 Message Date
Robert Shearman 37f2cc8274 Store HTTP host header in the same way as most other headers. 2004-09-13 19:33:17 +00:00
Robert Shearman 898baf674e - Remove unused variable hIC.
- Remove check for HTTP signature in server reply.
- Fix stupid error with freeing the wrong buffer.
2004-09-13 19:17:47 +00:00
Uwe Bonnes 66af8b5f60 Strip dangling \r\n from HTTP_HttpSendRequest. 2004-09-10 21:11:22 +00:00
Krzysztof Foltman 80cfdd353d Make sure InternetReadFile returns full buffers. 2004-09-08 21:46:33 +00:00
Uwe Bonnes b50446216b Get full buffers in Internet_Readfile. 2004-09-08 01:25:21 +00:00
Francois Gouget 5512ae2685 Disable MSVC warning 4116 to avoid the 'unnamed type definition in
parentheses' warning caused by TYPE_ALIGNMENT().
2004-09-06 20:29:53 +00:00
Uwe Bonnes 5f289e766f Check for more standard headers. 2004-09-06 20:27:04 +00:00
Krzysztof Foltman 479ee52fda - Reversed the assertion causing InternetConnect to always fail.
- FTP_ConvertFileProp: WIN32_FIND_DATA contains proper modification
  and creation time.
2004-09-06 20:24:38 +00:00
Steven Edwards c91ae456b8 Use Windows sockets when building Wininet on Mingw. 2004-09-03 18:57:19 +00:00
Alexandre Julliard 754e7aa788 Added configure check for socklen_t. 2004-09-03 18:30:28 +00:00
Robert Shearman 765b92f9ed Don't use freed memory. 2004-08-26 18:22:43 +00:00
Francois Gouget 20b8b56d5f Enable the disabled tests in tests.data or add a comment describing
why the type cannot be tested.
Update the generated files, they compile and run successfully both on
Windows (with the Windows headers) and in Wine.
2004-08-25 00:42:50 +00:00
Huw Davies 174e6a5d28 Change dialogs to use MS Shell Dlg rather than Helv or MS Sans Serif. 2004-08-24 18:33:01 +00:00
Robert Shearman f625f4a071 Fix type of DeleteIE3Cache function. 2004-08-19 19:57:37 +00:00
Robert Shearman af353c0305 Better TRACE's for some Internet* functions. 2004-08-19 19:02:17 +00:00
Stefan Leichter ece5e478fe Added stub for DeleteIE3Cache. 2004-08-19 01:05:13 +00:00
David Kredba b45744c817 Added Czech resources. 2004-08-16 20:02:09 +00:00
Francois Gouget 0cc262c5bf Fix compilation of the wininet generated tests with the Windows
headers.
2004-08-13 23:19:37 +00:00
Mike McCormack 08c6c698dd Fix the processing of the lpszHeaders field in HttpSendRequest. 2004-08-10 23:41:35 +00:00
Mike McCormack 13b6ce6da8 Fix warnings generated with -Wsign-compare. 2004-08-09 18:54:23 +00:00
Mike McCormack c62317989a Add another test for InternetCrackUrlW. 2004-08-06 18:58:04 +00:00
Mike McCormack efbb50bc25 Fix the dwUrlPathLength returned by InternetCrackUrl when
lpszExtraInfo is null.
2004-08-06 18:57:53 +00:00
Robert Shearman 0bb7b50f3d Implement INTERNET_OPTION_CONNECTED_STATE. 2004-07-23 23:00:07 +00:00
Alexandre Julliard d7357a4956 Fixed a couple of off-by-one errors. 2004-07-22 20:36:36 +00:00
Robert Shearman 4385d305e1 HttpQueryInfo returns buffer length including null terminator on
insufficient buffer length and buffer length excluding null terminator
on success:
- Fix HTTP_HttpQueryInfoW for these semantics.
- Fix HttpQueryInfoA to correctly copy the null terminator in the call
  to WideCharToMultiByte.
2004-07-21 21:17:03 +00:00
Robert Shearman a584ffb951 Rewrite cookies to use shared list.h list code. 2004-07-21 19:36:53 +00:00
Mike McCormack f1d7b14bf8 Fix HTTP POST requests. 2004-07-21 19:36:34 +00:00
Robert Shearman 907ac44aa7 Fix string length return from HttpQueryInfoA. 2004-07-20 01:21:08 +00:00
Mike McCormack 3a1391b8dd Use pointers internally and refcount all objects. 2004-07-19 21:49:39 +00:00
Robert Shearman d6315926e6 Honour INTERNET_FLAG_NO_COOKIES. 2004-07-19 21:18:33 +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
Robert Shearman e27ab315fd Fix size return from InternetGetCookieW. 2004-07-19 19:32:36 +00:00
Francois Gouget 817c520909 Assorted spelling fixes. 2004-07-16 19:15:40 +00:00
Alexandre Julliard 48243e32b9 Authors: Mike McCormack <mike@codeweavers.com>, Robert Shearman <rob@codeweavers.com>
- Change the way that the response headers are reconstructed to reduce
  the chance of memory being incorrectly allocated.
- Return the correct error when a header is not found.
- remove all the response headers before receiving new ones so that we
  don't merge headers from two responses.
- Add extra standard fields.
- Split the status line into http version, status code and status text
  and store those in the response data, without using use a fake
  field.
2004-07-15 18:57:32 +00:00
Robert Shearman 4cd38b4829 Accept headers without \r\n ending in HttpAddRequestHeaders. 2004-07-13 23:34:28 +00:00
Hajime Segawa a4ee7c5838 Added Japanese translation for msrle32, wininet, wcmd.
Fixed untranslated messages of regedit.
2004-07-12 20:46:10 +00:00
Henning Gerhardt 74cebde291 Translated some English resource files into German. 2004-07-12 19:55:59 +00:00
Mike McCormack a496906336 Build http requests in a more consistent way.
Fix the size of the request buffer.
Don't try converting the optional information from W to A.
2004-07-04 00:24:47 +00:00
Mike McCormack 1510cfc474 Allocate the correct size string in InternetCrackUrl. 2004-07-04 00:06:44 +00:00
Dimitrie O. Paun f3b681a2ad Fix the function names in some of the comments. 2004-06-28 20:28:38 +00:00
Mike McCormack b288f71e29 Pass pointers around internally instead of handles. 2004-06-14 17:57:26 +00:00
Mike McCormack afcf01ff92 Fixed ASCII redirect callbacks. 2004-06-14 16:56:10 +00:00
Mike McCormack a9b405cf9a Fix proxy support, remove typecasts. 2004-06-01 20:19:56 +00:00
Lionel Ulmer 378dec1519 Fix the case where lpszSearchFile is NULL in FtpFindFirstFile. 2004-06-01 19:42:43 +00:00
Ivan Leo Puoti 3e42f6953e Changed my name, so update copyright info. 2004-05-27 02:25:13 +00:00
Kevin Koltzau 1d2d2d6bf1 Move all FTP functions to unicode.
Improve FTP LIST parsing.
2004-05-25 04:02:05 +00:00
Patrik Stridvall 070db4e5de Fixed some issues found by winapi_check. 2004-05-17 21:08:31 +00:00
Kevin Koltzau 917df92356 Prevent memory leak and superfluous status notifications. 2004-05-13 05:17:25 +00:00
Kevin Koltzau 9debc40e66 Properly retrieve and release handles. 2004-05-12 23:02:40 +00:00
Kevin Koltzau 33972309f5 Cleanup conversion from A->W. 2004-05-10 19:59:05 +00:00