Commit Graph

247 Commits

Author SHA1 Message Date
Eric Pouech 5151d1acbc wininet: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-22 18:20:23 +01:00
Michael Stefaniuc e88abf0dc4 wininet: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 21:31:47 +01:00
Paul Gofman de5d147de8 wininet: Use stricmp() instead of _strnicmp(..., -1).
Signed-off-by: Paul Gofman <gofmanp@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-27 12:20:00 +01:00
Francois Gouget 84069679a4 wininet: Fix the spelling of a comment.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-12 23:17:05 +01:00
Alexandre Julliard 3c31cc5836 wininet: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-11-25 20:47:43 +01:00
Piotr Caban 380d5dff85 wininet: Don't use strcasecmp.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-03 20:27:55 +02:00
Michael Stefaniuc 73e5347739 wininet: Remove redundant not-NULL check (coccinellery).
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 02:10:17 +01:00
Jacek Caban 7eaadabc5c wininet: Merge InternetReadFile and InternetReadFileEx implementations.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-10 23:21:23 +01:00
Jacek Caban 86d14ad17e wininet: Use INTERNET_SendCallback in ftp.c.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-21 11:23:50 +09:00
Jacek Caban 6790d825d1 wininet: Improved debug traces.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-26 01:08:50 +09:00
Jacek Caban 8ef78d068f wininet: Get rid of no longer needed sock_get_error. 2015-03-12 13:54:16 +09:00
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