Commit Graph

236 Commits

Author SHA1 Message Date
Jacek Caban 47778f95fa wininet: Moved inet_ntop call to GetAddress. 2015-02-16 19:19:10 +09:00
Jacek Caban 5436fef807 wininet: Always use winsock sockets. 2015-02-13 21:47:13 +09:00
Jacek Caban 7410bf5896 wininet: Moved INTERNET_GetNextLine to ftp.c. 2015-02-13 21:46:43 +09:00
Jacek Caban fdf50ba883 wininet: Removed direct errno usage in ftp.c. 2015-02-13 21:46:36 +09:00
Jacek Caban de5c1fb8e9 wininet: Initialize winsock before creating socket in Windows builds. 2015-02-12 22:12:04 +09:00
Jacek Caban cafbd54457 wininet: Use WSAGetLastError in sock_get_error in Windows builds. 2015-02-12 17:57:25 +09:00
Jacek Caban 8efedaf045 wininet: Use proper argument type for ioctlsocket argument. 2015-02-12 17:56:55 +09:00
Sebastian Lackner 2ce1650968 wininet: Fix handling of subdirectory in FtpFindFirstFile.
Based on a patch by Mike Ruprecht.
2015-01-14 18:32:00 +01:00
Michael Stefaniuc 51302e011a wininet: Simplify the check for an empty string (PVS-Studio). 2014-11-11 14:22:08 +09:00
Bruno Jesus 8a15ea1190 wininet: Use a helper to receive data and take care of EINTR. 2014-06-12 18:05:06 +02:00
Bruno Jesus 1b8d8ef372 wininet: Use a helper to send data and take care of EINTR. 2014-06-11 16:11:44 +02:00
Frédéric Delanoy b4e4831d1b wininet: Use BOOL type where appropriate. 2013-10-10 10:44:49 +02:00
Jacek Caban c1bab59e81 wininet: Forward InternetLockRequestFile to handle-specific functions. 2013-10-04 17:46:23 +02:00
Alexandre Julliard dc82cf9d38 wininet: Don't reset the available size after the async has been queued. 2013-02-12 10:19:38 +01:00
Jacek Caban f824e20010 wininet: Get rid of WORKREQ* types. 2013-01-30 13:05:28 +01:00
Jacek Caban 302fd67e61 wininet: Moved WORKREQ_FTPDELETEFILEW out of WORKREQUEST. 2013-01-30 13:05:28 +01:00
Jacek Caban a489677fb5 wininet: Moved WORKREQ_FTPFINDNEXTW out of WORKREQUEST. 2013-01-30 13:05:23 +01:00
Jacek Caban d5c0b17ae7 wininet: Moved WORKREQ_FTPRENAMEFILEW out of WORKREQUEST. 2013-01-30 12:44:04 +01:00
Jacek Caban 228d6a6064 wininet: Moved WORKREQ_FTPOPENFILEW out of WORKREQUEST. 2013-01-30 12:44:00 +01:00
Jacek Caban f05b5b7e7e wininet: Moved WORKREQ_FTPFINDFIRSTFILEW out of WORKREQUEST. 2013-01-30 12:43:57 +01:00
Jacek Caban 059c77956f wininet: Moved WORKREQ_FTPGETCURRENTDIRECTORYW out of WORKREQUEST. 2013-01-30 12:43:54 +01:00
Jacek Caban b2deb67696 wininet: Moved WORKREQ_FTPGETFILEW out of WORKREQUEST. 2013-01-30 12:43:50 +01:00
Jacek Caban ffa7d16731 wininet: Moved WORKREQ_FTPREMOVEDIRECTORYW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban d816de27fb wininet: Moved WORKREQ_FTPCREATEDIRECTORYW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 989bb5b983 wininet: Moved WORKREQ_FTPSETCURRENTDIRECTORYW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 47d0f5a167 wininet: Moved WORKREQ_FTPPUTFILEW out of WORKREQUEST. 2013-01-29 17:50:17 +01:00
Jacek Caban 63e6a4b2e1 wininet: Moved WORKREQUEST allocation to INTERNET_AsyncCall callers. 2013-01-28 14:05:46 +01:00
Jacek Caban 5554292284 wininet: Use generic ReadFileEx entry in InternetReadFileExA and get rid of ReadFileExA entry. 2012-11-23 18:06:09 +01:00
Jacek Caban 52144829d1 wininet: Don't take INTERNET_BUFFERSW as argument in object's ReadFileEx entry. 2012-11-23 18:06:08 +01:00
Thomas Faber 62d6b24e4c wininet: Use the correct type for sock_namelen in FTP_Connect. 2012-06-20 19:26:13 +02:00
Jacek Caban 4863257e30 wininet: Added default fallback for setting handle options and use it for INTERNET_OPTION_CALLBACK. 2012-03-08 17:59:02 +01:00
Frédéric Delanoy 39d378538d wininet: Avoid dead code in FTP_FtpOpenFileW (Coverity). 2012-01-26 19:10:16 +01:00
Francois Gouget 843e97eb1f wininet: Fix printing NULL strings. 2011-09-20 16:21:38 +02:00
Hans Leidekker 9acd1ef15f wininet: Consistently use the allocation macros. 2011-06-01 15:16:53 +02:00
Jacek Caban 55b2722816 wininet: Use wrappers for HeapReAlloc calls. 2011-04-22 12:59:17 +02:00
Jacek Caban 354a74e004 wininet: Use wrappers for HeapAlloc calls. 2011-04-21 16:53:42 +02:00
Juan Lang 7243156bc1 wininet: De-Hungarian appinfo member names. 2011-03-02 12:29:13 +01:00
Jacek Caban 923498da03 wininet: Moved freeing object to WININET_Release. 2011-02-04 15:25:32 +01:00
Jacek Caban a073c66f0d wininet: Moved creation of an object and allocating handles to common function.
Fixes a few leaks.
2011-02-03 13:15:18 +01:00
Jacek Caban f165e25e59 wininet: Handles handling clean up. 2011-02-03 13:15:18 +01:00
Hans Leidekker 80dd367846 wininet: Pass the object header pointer to INET_QueryOption. 2010-05-25 13:30:18 +02:00
Jacek Caban 88ac3a381b wininet: Return error directly from INTERNET_AsyncCall. 2009-12-21 15:36:53 +01:00
Hans Leidekker 5f08249831 wininet: Fix some status callbacks to return a string instead of a sockaddr structure.
Spotted by Juan Lang.
2009-12-04 14:42:37 +01:00
Francois Gouget f3b738f63c wininet: Make FTP_FtpOpenFileW() static. 2009-12-04 14:34:58 +01:00
Juan Lang b967fde0a8 wininet: Correct length of data passed to callback when resolving a name. 2009-12-04 14:34:57 +01:00
Michael Stefaniuc b8a087d6a8 wininet: Free the mem unconditionally to prevent a potential leak (Smatch). 2009-12-03 10:21:48 +01:00
Hans Leidekker be86c2976b wininet: Implement InternetQueryOption(INTERNET_OPTION_DATAFILE_NAME) for ftp file objects. 2009-12-02 12:12:39 +01:00
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