aboutsummaryrefslogtreecommitdiff
path: root/src/server/authserver
AgeCommit message (Collapse)Author
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
2010-09-12Cleanup/Core: Remove whitespace and tabsclick
--HG-- branch : trunk
2010-09-11Core/DBLayer:Machiavelli
* Example implementation of prepared statements with resultset in RealmList and AuthSocket code (selectively) * Also correct a few bobo´s from previous commit. --HG-- branch : trunk
2010-09-03Core/DBLayerMachiavelli
- Store threadbundlemask internally per database pool and prevent direct access to config file post startup - Fix threadbundlemask flag checking for ReactorRunnable, WorldRunnable - Remove CLI threadbundlemask flag, CLI doesn´t need a seperate mysql connection nor thread - Remove unused Character Database connection from WorldSocketMgr / ReactorRunnable - Add proper LoginDatabase connection to RA Runnable (soon to be overhauled) Note: still experimental and not tested for live use --HG-- branch : trunk
2010-09-03Core/DBLayer:Machiavelli
- A few prepared statement implementations in authsocket as example. - Add an ASSERT in MySQLConnection::Execute(PreparedStatement*) to catch faulty created statements --HG-- branch : trunk
2010-09-02Core/DBLayer:Machiavelli
- Implement deriviate classes of MySQLConnection for every database type (world, realm, characters) - Make DatabaseWorkerPool templatized and use the above mentioned classes as parameter - Implementation of the new types in code (This is in preparation of prepared statement interface) --HG-- branch : trunk
2010-08-30Buildsystem: Clean up target link-definitions a bitclick
--HG-- branch : trunk
2010-08-29Rewrite much of the GM ticket systemsilinoron
* Extract storage and manipulation of tickets to TicketMgr (from ObjectMgr) * Extract ticket commands to TicketCommands.cpp * Adds support for sending GM responses and GM surveys. * Fix structure of several ticket-related packets. * Add support for understanding lag reports. * Thanks Zor for some of the packet structures, and Cyrax for some sniffs * Please report any issues encountered via the tracker. --HG-- branch : trunk
2010-08-28Buildsystem: Update CMakeLists to use the proper check, not the old one...click
--HG-- branch : trunk
2010-08-26Core/Logging:Machiavelli
- Implement sLog.outSQLDriver that will log SQL driver related events (non-content related). - Queries will now be logged into this file as well instead of normal log file (requires debug build). - Don´t forget to update your authserver.conf and worldserver.conf Core/build: - Fix non-PCH build --HG-- branch : trunk
2010-08-23Core: Fix some warningsSpp
--HG-- branch : trunk