aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver
AgeCommit message (Collapse)Author
2011-07-29Core: Append single character to stream as character, not as a stringSpp-
2011-06-23Core/Network: Handle running out of file descriptors on linux-based systems ↵Derex
(windows-based systems requires additional fixes) Signed-off-by: click <click@gonnamakeyou.com>
2011-04-29Add spaces after commasleak
2011-04-27Core/Buildsystem: Update copyright-headers for 2011, and adjust with the ↵click
correct teamname as well.
2011-04-12Core/Authserver: vi change word (cw) FAIL!runningnak3d
2011-04-12Core/AuthServer: Some minor text cleanup.runningnak3d
2011-03-21Core: Removed all double (and more) empty linesShauren
2011-02-20Core/Log: Also add DebugLogMask config to authserver. Only logical value as ↵Machiavelli
of right now is 64
2011-02-20Core/Log: Implement log masks for debug log level, to allow selective debug ↵Machiavelli
output. Update your worldserver.conf.
2011-01-26Core: Generic cleanup (tab2spaces/trailing whitespace removal)leak
2011-01-13Core/DBLayer: Properly manage mysql library initialization and shutdown in ↵Machiavelli
authserver and worldserver. Prevent multiple calls and make it more elegant.
2011-01-09Core/Netcode: Fix file descriptor leak under linux platforms with ACE dev ↵Derex
poll reactor. close #15 Signed-off-by: Machiavelli <machiavelli.trinity@gmail.com>
2011-01-01Update copyright note for 2011.Machiavelli
Happy new year.
2010-12-27Core/Authserver: Put code in line with recent singleton changes.silinoron
--HG-- branch : trunk
2010-12-27Core/Authserver: Revert a small mistake. Thanks aurimas.silinoron
--HG-- branch : trunk
2010-12-27Core/Authserver: Significant cleanup in preparation for a rewrite.silinoron
Dropped support for running as a service on windows; it may be back in some form later. Otherwise there should be no functional changes. --HG-- branch : trunk
2010-12-27Buildsystem: Revert revision 4fb5181d88 (removes -lcrypto from ↵click
worldserver/authserver linking, this SHOULD be handled -properly- by the OpenSSL-package already. --HG-- branch : trunk
2010-12-24Buildsystem/Unix: Fix an idiotic split-package behaviour on RedHat-based ↵click
systems (and possibly some others) Closes issue 4380 --HG-- branch : trunk
2010-12-23Core: Removed more operator workarounds for ACE_Singleton (missed previously ↵Shauren
because of inconsistent naming) --HG-- branch : trunk
2010-12-21Core/AuthServer: Fix the previous commit (it might help to actually fetch ↵click
what we want to work on as well) --HG-- branch : trunk
2010-12-21Core/AuthServer: Allow reauthentication to the authserver on realm logout. ↵click
Thanks to .. someone (webmaster?) Fixes issue 4191. --HG-- branch : trunk
2010-12-20Core/Buildsystem: Resolved quoting problem that caused gcc to spam warnings. ↵leak
Patch by click. --HG-- branch : trunk
2010-12-13MergeMachiavelli
--HG-- branch : trunk
2010-12-13Backed out changeset: 8326a2411148Machiavelli
--HG-- branch : trunk
2010-12-06- Added Perl based conf merger scriptleak
- Removed LogSQL config option until reimplementation on code side - A bit of cosmetics for .conf files --HG-- branch : trunk
2010-12-05Core/DBLayer:Machiavelli
- Make time format of MaxPingTime consistent between authserver and worldserver. Note that the value is in minutes, update your config files accordingly if needed. - Remove obsolete atomic uint32 and prevent concurrent calls to vector::size() in DatabaseWorkerPool --HG-- branch : trunk
2010-12-04Core/DBLayer:Machiavelli
- Make the mysql connectionpool shared for async and syncrhonous connections. - Allow configurable amount of connections for the pool - Allow configurable amount of delaythreads Note that delaythreads now only represent in-core threads. Whenever they execute a task they will pick a free connection from the pool instead of using their previously unique assigned connection. The purpose of this design change is better distribution of SQL requests (no bottlenecks paired with idling) among available resources. This also prevents a ¨memory waste¨ of preparing async prepared statements on synchronous connections (that were never called) - and vice versa. Now, connections aren´t explicitly async or synchronous, they serve both purposes. Use at own risk, might cause instabilities. Don´t forget to update your config files and clear your cmake cache. --HG-- branch : trunk
2010-12-04Core/Authserver: Cleanup.silinoron
--HG-- branch : trunk
2010-11-24* Remove CRLF from configfilesclick
--HG-- branch : trunk
2010-11-24Core/Configs: Use "oldstyle" configfile method - includes configfile ↵click
cleanups and also restructuring it so every option is explained properly Fix by leak. Closes issue 4913. --HG-- branch : trunk
2010-11-16Core/Authserver: Clean up authserver base code a bit + follow codingstyleclick
--HG-- branch : trunk
2010-10-07Core/Authserver: Remove CRLF warnings for authserver.rcclick
--HG-- branch : trunk
2010-10-07REALLY fix the CRLF-crap...click
--HG-- branch : trunk
2010-10-07Remove the accidental additions of CRLF-crap from the header updatesclick
--HG-- branch : trunk
2010-10-07More copyright header updates (will this ever end?)click
--HG-- branch : trunk
2010-10-07Copyright header updates - part 3... (and some whitespace cleanups)click
--HG-- branch : trunk
2010-10-07Update copyright headers (following the same standard in all files = good)click
--HG-- branch : trunk
2010-10-03Buildsystem: Generating revision.h is now a part of build process ↵Shauren
(revision.h is back as target) Buildsystem: Removed non-existing include directories --HG-- branch : trunk
2010-09-29Buildsystem: Overhaul of the CMake buildsystem:click
- utilize CMake for completely generating revision.h (kills off genrev and revision.h targets): - pull and set correct revision-ID/hash from Mercurial (hg) when using regular repository sourcetree - pull and set correct revision-ID/hash from archived releases (when pulled from googlecode) - set and use _BUILD_DIRECTIVE definition (earlier part of revision.h) as compiletime definition - delete genrev and related buildsystems (now deprecated) - Move some files around to adhere to buildsystem structure Thanks to Shauren for figuring out the definition-behaviour for MSVC while he was in the shower --HG-- branch : trunk rename : cmake_uninstall.cmake.in => cmake/platform/unix/cmake_uninstall.in.cmake
2010-09-27Core/DBLayer:Machiavelli
- DB Threading model update * Get rid of ThreadBundleMask and bundled connection * Implement configurable amount of Synch threads for databasepools * Use modulus based algorithm to check for free synchronous connections instead of previous ¨get connection by thread key or bundlemask¨ feature * Locks on mysql context objects are now managed outside the mysql query methods Fixes issue #4058 Fixes issue #4059 Introduces a ton of more issues. Use at own risk. You were warned. Really. Don´t forget to update your worldserver.conf --HG-- branch : trunk
2010-09-25Core: Generic cleanup (tab2spaces/whitespace removal)click
--HG-- branch : trunk
2010-09-25Buildsystem: Set revision.h as a required dependency build before building ↵click
game, shared, worldserver and authserver --HG-- branch : trunk
2010-09-25Core/DBLayer:Machiavelli
- Rewrite KeepAlive method for DatabaseWorkerPool. Use mysql_ping instead of explicit select queries, and also schedule KeepAlives for asynchronous threads. NOTE: While the function is implemented and previous keepalive calls were transformed, it´s possible the keepalive call will need to be placed in several other locations in the code. Please leave feedback on whether or not this fixes your timeout issues. Update issue #4062 --HG-- branch : trunk
2010-09-24Core/DBLayer:Machiavelli
- Rewrite Field class to be able to store both binary prepared statement data and data from adhoc query resultsets - Buffer the data of prepared statements using ResultSet and Field classes and let go of mysql c api structures after PreparedResultSet constructor. Fixes a race condition and thus a possible crash/data corruption (issue pointed out to Derex, basic suggestion by raczman) - Conform PreparedResultSet and ResultSet to the same design standards, and using Field class as data buffer class for both * NOTE: This means the fetching methods are uniform again, using ¨Field* fields = result->Fetch();¨ and access to elements trough fields[x]. * NOTE: for access to the correct row in prepared statements, ¨Field* fields = result->Fetch();¨ must ALWAYS be called inside the do { }while(result->NextRow()) loop. * NOTE: This means that Field::GetString() returns std::string object and Field::GetCString() returns const char* pointer. Still experimental and all that jazz, not recommended for production servers until feedback is given. --HG-- branch : trunk
2010-09-17Authserver: Fixed crash when accounts limited to ip tried to login and fixes ↵Shauren
compile on gcc 4.5, thx Kondziu for pointing it out Closes issue #3976. Closes issue #4011. --HG-- branch : trunk
2010-09-16Auth/Login: fixes the "cant relog after login failed" bug and fixes a ↵Rat
potential security risk --HG-- branch : trunk
2010-09-12Core/Authsocket: Fix errorenous authentication failureMachiavelli
--HG-- branch : trunk
2010-09-12Core/DBLayer: Add GetCString method for PreparedResultSet (dynamic copy is ↵Machiavelli
responsibility of the high level code) --HG-- branch : trunk
2010-09-12Core/DBLayer: Replace all ad-hoc queries in AuthSocket with prepared statementsMachiavelli
--HG-- branch : trunk
2010-09-12Auth: Typo fix in logon challenge handler, closes issue 3975, thanks 41782992Shocker
--HG-- branch : trunk