<feed xmlns='http://www.w3.org/2005/Atom'>
<title>~steering/inspircd++.git/src/socketengine.cpp, branch v2.0.23</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>https://www.cgit.space/~steering/inspircd++.git/atom/src/socketengine.cpp?h=v2.0.23</id>
<link rel='self' href='https://www.cgit.space/~steering/inspircd++.git/atom/src/socketengine.cpp?h=v2.0.23'/>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/'/>
<updated>2014-04-12T20:51:10Z</updated>
<entry>
<title>Filter out newlines from error messages on Windows</title>
<updated>2014-04-12T20:51:10Z</updated>
<author>
<name>Attila Molnar</name>
</author>
<published>2014-04-12T20:51:10Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=c17463bcae75a9f9b7108807745ec7bb2d472514'/>
<id>urn:sha1:c17463bcae75a9f9b7108807745ec7bb2d472514</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Use the correct socket related error messages on Windows</title>
<updated>2013-07-14T18:23:53Z</updated>
<author>
<name>Adam</name>
</author>
<published>2013-07-03T21:26:45Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=6e0b904d342461cd2ac2a3cd0cf2a43d864d2b00'/>
<id>urn:sha1:6e0b904d342461cd2ac2a3cd0cf2a43d864d2b00</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Move SocketEngine::IgnoreError() code into socketengine.h and add test for EWOULDBLOCK</title>
<updated>2013-04-24T17:54:58Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2013-04-24T17:54:58Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=2bb64c5dcfb66e9bf7f6114de6501fd5dcd97138'/>
<id>urn:sha1:2bb64c5dcfb66e9bf7f6114de6501fd5dcd97138</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix m_ssl_gnutls and perhaps some other things on Windows by recognizing WSAEWOULDBLOCK</title>
<updated>2013-04-16T23:19:42Z</updated>
<author>
<name>Adam</name>
</author>
<published>2013-04-16T08:34:58Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=47332d6e9b990498dd35457090dd8983d8aae8d3'/>
<id>urn:sha1:47332d6e9b990498dd35457090dd8983d8aae8d3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Do not enable SO_LINGER on our sockets</title>
<updated>2013-04-15T22:20:01Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2013-04-15T22:20:01Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=dbc6dc90283220c06b4f4946cf0a131d2f965884'/>
<id>urn:sha1:dbc6dc90283220c06b4f4946cf0a131d2f965884</id>
<content type='text'>
Using this option allowed close() to block for up to a second

Thanks to Shamsdeen and Rix for their assistance that made this fix possible

Fixes issue #445 reported by @shaggie76
Fixes issue #494 reported by @Rixcho
</content>
</entry>
<entry>
<title>Windows: In-depth cleanup (see details)</title>
<updated>2012-10-12T20:31:38Z</updated>
<author>
<name>ChrisTX</name>
</author>
<published>2012-10-12T20:31:38Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=5b9682275e384635a1fd9f7320cf4d9a604a43b4'/>
<id>urn:sha1:5b9682275e384635a1fd9f7320cf4d9a604a43b4</id>
<content type='text'>
-Fix x64 builds for Windows. Now all configurations compile.
-Remove the non-working rebase stuff.
-Remove the Windows fork hack and instead use FreeConsole() to emulate the behavior. This directly allows us to compile with ASLR, which is turned on now.
-Remove the old IPC mechanism for the removed GUI. This is not needed anymore as the GUI wasn't ever supported on anything newer than 1.2
-Remove the WIN32/WINDOWS macros. _WIN32 is supported on all x86-based VC++ targets, so that's what we need.
-Enable optimizations for release builds.
-De-duplicate printf_c(), it was previously copy-pasted into colors.h for configure
-Add the VC++ specific bad files in .gitignore
-Disable PID writing on Windows. This is only making sense for *nix builds.
-Replace the CPU usage retrieval with an algorithm analogous to the *nix behavior. Also supports separated now/total values. (Tested with a dummy busy loop - seems working)
-Removed certain unused functions and variables
-Remove stdint defines from the windows wrapper
-Remove CRT debug alloc. This is a bad idea as it would define a macro to replace free which breaks builds.
-Re-evaluated the warnings list, commented it.
-Moved inspircd_config/_version to include/ to match *nix
-Removed the creation of inspircd_se_config, as it isn't used at all.
-Made non-git builds show as "r0" instead of "r" (thanks to @SaberUK for pointing this out)
-Fixed up m_spanningtree's project paths. Now all configurations (debug/release x86/x64) have been tested and build properly.
-Moved FindDNS out of the wrapper and matched its log behavior with *nix. (It's pointless having it in the wrapper after the recent slimming down)
-Replaced random/srandom wrappers with a mechanism that tries to use Windows' Random API first is no SSL module is loaded.
-Removed more old junk from support for compilers older than VC++ 2010 (we don't have project files for these, so compiling them would be hard anyways)
-Removed the unused ClearConsole()
-Removed unused includes from the wrapper. Also, do not include psapi.h here if we don't link psapi.lib. This should be done where appropriate.
-Made inet_aton an inline function for increased performance
-C4800, performance warning about bool forcing, resolved at all occurrences.
-C4701, uninitialized variable 'cached', resolved at all occurrences.
-dlerror() was migrated out of the wrapper for more thread safety (no global buffer being shared) and increased performance.
-Removed the wrong CRT debug flags. This drains a lot of performance.
-Removed the clock_gettime/gettimeofday wrappers
-Replaced all TCHAR/ANSI mix-ups of functions with the correct respective function.
-Added a block of C4355 for &lt; VS2012
-Update project files for c870714
</content>
</entry>
<entry>
<title>Set errno to EINPROGRESS on Windows when the connect() call does not complete immediately, to simulate unix behavior</title>
<updated>2012-09-13T12:16:11Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2012-09-12T23:53:42Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=e67dff32ced4be1ec0a8539c29fd44bee9077923'/>
<id>urn:sha1:e67dff32ced4be1ec0a8539c29fd44bee9077923</id>
<content type='text'>
This makes code that checks errno to determine whether connect() has succeeded or not work properly on Windows
Fixes #298 reported by @butaman
</content>
</entry>
<entry>
<title>Count the actual number of sent/received bytes in SocketEngine instead of the buffer size passed to the send/receive functions</title>
<updated>2012-05-23T16:48:43Z</updated>
<author>
<name>attilamolnar</name>
</author>
<published>2012-05-23T16:48:43Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=43c9637aec3b98fe24ba94f75636c53871cf4d4d'/>
<id>urn:sha1:43c9637aec3b98fe24ba94f75636c53871cf4d4d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Replace copyright headers with headers granting specific authors copyright</title>
<updated>2012-04-19T18:58:29Z</updated>
<author>
<name>Robby-</name>
</author>
<published>2012-04-19T18:58:29Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=46a39046196f55b52336e19662bb7bac85b731ac'/>
<id>urn:sha1:46a39046196f55b52336e19662bb7bac85b731ac</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix possible uninit memory access detected by valgrind</title>
<updated>2010-02-01T01:32:10Z</updated>
<author>
<name>danieldg</name>
</author>
<published>2010-02-01T01:32:10Z</published>
<link rel='alternate' type='text/html' href='https://www.cgit.space/~steering/inspircd++.git/commit/?id=4981eab599095dfdb04d51f54ebe550e3b680e2f'/>
<id>urn:sha1:4981eab599095dfdb04d51f54ebe550e3b680e2f</id>
<content type='text'>
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12346 e03df62e-2008-0410-955e-edbf42e46eb7
</content>
</entry>
</feed>
