Commit Graph

189 Commits

Author SHA1 Message Date
Hans Leidekker 6f6ee2e712 wininet: Also cache files transferred over ftp. 2009-12-02 12:12:33 +01:00
Jacek Caban 1ee3ad476e wininet: Directly return error status from WriteFile implementations. 2009-11-30 12:48:33 +01:00
Dan Kegel 15d7b7b777 wininet: FTP_FtpOpenFileW: initialize dwInternalFlags. 2009-11-09 19:36:11 +01:00
Hans Leidekker 0f127fc7a1 wininet: Avoid accessing uninitialized memory.
Found by valgrind.
2009-10-23 12:04:15 +02:00
Aric Stewart 05926a10ff wininet: Be sure to set lpwfs->pasvSocket to -1 when closing the socket to prevent double closes. 2009-09-17 10:10:33 -05:00
Aric Stewart 51a57b7e25 wininet: Ensure the ftp connections lstnSocket is set to -1 after each close. 2009-09-16 14:47:12 -05:00
Jacek Caban 5d6f01b76b wininet: Rename WININET_strdup_WtoA to heap_strdupWtoA. 2009-07-17 11:16:55 +02:00
Jacek Caban e09dfcfa99 wininet: Rename WININET_strdup_AtoW to heap_strdupAtoW and handle NULL argument in its implementation. 2009-07-17 11:16:50 +02:00
Jacek Caban f598709212 wininet: Rename WININET_strdupW to standard heap_strdupW. 2009-07-17 11:16:42 +02:00
Jacek Caban 54870c1431 wininet: Rename WININETFTPFILEW to ftp_file_t. 2009-07-13 10:27:04 +02:00
Jacek Caban 8adbf8ce01 wininet: Rename WININETFTPSESSIONW to ftp_session_t. 2009-07-13 10:26:59 +02:00
Jacek Caban 6d1601a850 wininet: Rename WININETAPPINFOW to appinfo_t. 2009-07-13 10:26:52 +02:00
Juan Lang 78b813236a wininet: Fail in FTP if the resolved name is not an IPv4 address. 2009-07-10 12:25:33 +02:00
Juan Lang 9f82d9c779 wininet: Use sizeof(member) rather than sizeof(type) for address lengths. 2009-07-10 12:25:05 +02:00
Juan Lang deabdca653 wininet: Use length reported by GetAddress in FTP_Connect. 2009-07-10 12:24:58 +02:00
Juan Lang 44bf025767 wininet: Change type of GetAddress from struct sockaddr_in * to struct sockaddr *. 2009-07-10 12:24:35 +02:00
Jacek Caban 44d633a902 wininet: Rename WININETHANDLEHEADER to object_header_t.
wininet struct names are very unreadable and I hope that patches 
renaming them will be accepted.
2009-07-08 20:13:00 +02:00
Maksim Kuleshov d233118f7a wininet: Fix sockets leak in FTP_Connect. 2009-06-26 14:40:46 +02:00
Hans Leidekker 285eeea7ef wininet: Implement InternetReadFileEx for ftp requests. 2009-04-30 12:47:35 +02:00
Jacek Caban 0031b40454 wininet: Release session after FTP_ReceiveResponse call in FTPFILE_Destroy. 2009-03-09 12:06:02 +01:00
Jacek Caban 08e4846fca wininet: Don't send INTERNET_STATUS_REQUEST_COMPLETE notification from FTP_Connect. 2009-02-11 11:42:13 +01:00
Jacek Caban 19b01f2fca wininet: Make sure that we have some data buffered before sending INTERNET_STATUS_REQUEST_COMPLETE notification. 2009-02-11 11:42:08 +01:00
Jacek Caban f8e6fbffc5 wininet: Added QueryDataAvailable implementation for FTP files. 2009-02-11 11:42:00 +01:00
Jacek Caban 9b65e5744f wininet: Fixed handling empty string password. 2009-02-11 11:41:32 +01:00
Jacek Caban a83a817ad0 wininet: Move FtpOpenFile[AW] implementation to avoid forward declaration. 2009-02-11 11:41:28 +01:00
Hans Leidekker b013ad168b wininet: Implement InternetReadFileExW. 2009-01-16 12:34:26 +01:00
Alexandre Julliard bb8883dda0 wininet: Fix handle cast warnings on 64-bit. 2009-01-08 17:28:21 +01:00
Alexandre Julliard 20ed414d24 wininet: Store file time as a SYSTEMTIME instead of a Unix struct tm. 2008-12-22 11:44:45 +01:00
Alexandre Julliard 82280618db wininet: Include ws2tcpip.h before anything else for the Windows build. 2008-12-09 11:33:25 +01:00
Michael Stefaniuc e6bd2881d8 wininet: Remove some superfluous casts. 2008-12-01 12:57:03 +01:00
Francois Gouget 523679666d wininet: Remove WINAPI on static functions where not needed. 2008-11-25 11:50:08 +01:00
Henri Verbeet 369da3aeb9 wininet: Treat an empty username as NULL in FTP_Connect(). 2008-11-18 12:46:18 +01:00
Hans Leidekker b311cca552 wininet: Delete local file on error in FtpGetFile. 2008-07-21 12:21:40 +02:00
Jacek Caban 7426e7e055 wininet: Moved more InternetQueryOption implementation to vtbl. 2008-07-21 12:18:48 +02:00
Andrew Talbot 07ae2992b8 wininet: Remove unused variables. 2008-05-05 12:52:26 +02:00
Hans Leidekker 26b38dc503 wininet: Avoid a crash with traces on. 2008-03-25 11:33:41 +01:00
Jacek Caban e2933c20d6 wininet: Move INTERNET_OPTION_HANDLE_TYPE to vtbl. 2008-03-12 11:59:41 +01:00
Rob Shearman bdc81d9963 wininet: Make the reference count of WININETHANDLEHEADER thread-safe by using InterlockedIncrement/InterlockedDecrement. 2008-03-10 19:12:54 +01:00
Jacek Caban d597fd12fc wininet: Moved InternetReadFileExA to vtbl. 2008-03-03 20:45:31 +01:00
Jacek Caban 352b4212a1 wininet: Move FTP structs and functions declarations from internet.h. 2008-03-03 12:00:27 +01:00
Jacek Caban 3b4ca69e18 wininet: Move InternetReadFile to vtbl. 2008-03-03 12:00:20 +01:00
Jacek Caban 3314184597 wininet: Move InternetQueryDataAvailable to vtbl. 2008-02-29 20:07:13 +01:00
Jacek Caban 66259555ff wininet: Move WININETFTPFINDNEXTW declaration to ftp.c. 2008-02-28 10:44:50 +01:00
Jacek Caban 8c45eecca7 wininet: Moved InternetFindNextFileW implementation to vtbl. 2008-02-28 10:44:42 +01:00
Jacek Caban 0e33eee9a2 wininet: Use vtbl for InternetSetOption(INTERNET_OPTION_[SEND|RECEIVE]_TIMEOUT) implementation. 2008-02-27 14:52:25 +01:00
Jacek Caban 1ffcfbce85 wininet: Use vtbl in InternetWriteFile implementation. 2008-02-27 14:52:24 +01:00
Jacek Caban 7dc9bf677b wininet: Moved close_connection to vtbl. 2008-02-27 14:52:24 +01:00
Jacek Caban 5a535d6b23 wininet: Moved handle destructor to vtbl. 2008-02-27 14:52:24 +01:00
Andrew Talbot 45481db078 wininet: Remove unneeded casts. 2008-02-05 12:19:37 +01:00
Austin English 0e4adae973 Spelling fixes. 2008-01-07 13:41:01 +01:00