summaryrefslogtreecommitdiff
path: root/src/modules/extra
AgeCommit message (Collapse)Author
2006-12-29Majorly rewrite to totally funk up SQL logging module. Works well with both ↵peavey
MySQL and PostGres now. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6156 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. ↵peavey
Fix it by actually doing the +1 mentioned in the comment above, but lacking from the actual code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6155 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Writing beyond malloc'ed mem of a char pointer will crash with a vengeance. ↵peavey
Fix it by actually doing the +1 mentioned in the comment above, but lacking from the actual code. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6152 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Forgot to init it, clean up mem leakage too and log X-Lines proper.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6151 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-29Also using new interface methods, and maybe less crashage.peavey
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6150 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Change the SQLutils and SQL providers to also use interfaces for proper ↵peavey
unload order, taking away the need for a static m_sqlutils. Depend order: m_sqlutils -> sql providers (m_mysql m_pgsql) -> sql modules (m_sqlauth m_sqloper). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6149 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-28Fix mem leakage in reading in and connecting to databases and have ↵peavey
destructor call mem cleanup too and end the endless loop too so /RESTART and /DIE works with no segfault. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6144 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-24SQLQuery operator% and operator, now support any data typebrain
(these are templated, and pass the type through ConvToStr()) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6105 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-23Refactored /RESTART (and added InspIRCd::Restart(reason))brain
Fixed bug in m_ziplinks, assigning instead of testing a var (gcc 4.1.1 picked up on this, 3.4 didnt) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6067 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-21Fix for bug #180, logging is not threadsafe, mutex it (ew, luckily we dont ↵brain
log much) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6056 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-15Still more massive commit fun. Headers in include/ still to be done, else ↵w00t
that's it. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5997 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12Reverted om's commit so we can keep laughing at him for never doing anythingspecial
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5962 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12I yell 'LIES' in the face of anyone who says I don't commitom
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5961 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12AnMaster thinks im not committing enough, so heres a pointless commit for him.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5960 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12More commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5959 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12Fix trivial broken stat counterbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5958 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-12Whoops, forgot to unpublish the interface!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5957 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Just commentsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5955 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Tidy up a loop a bit so it isnt for(;;) with a breakbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5954 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11And fix the typos in it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5953 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Attempt another speedupbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5952 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Fix kinda stupid whoopsiebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5951 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Faster, stronger, ...err no, not the million dollar man.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5950 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Change how assembling of multiple lines works, avoid data copiesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5949 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Better handling of write() failure, but this might still not be exactly right.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5946 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11This is better now.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5945 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Someone forgot to add the copyright headers here :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5943 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11And give it error checking... whoops.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5942 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Pinch simple output buffering from m_ssl_opensslbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5941 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Tidyup comments and debugbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5940 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Finally got read buffering working properlybrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5939 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11*annoyance*brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5938 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Damnit damnit damnit!brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5937 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11This should do it.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5936 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Rethinkbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5935 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Grr.brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5934 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11More tweaksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5933 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Increase CHUNKbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5932 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11more stuff :pbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5931 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Testbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5930 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11More crapbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5929 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Tons of debug, dont usebrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5928 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Debug stuff, and some minor fixesbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5927 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-11Untested, new clever pointer voodoo class for binary-safe ziplinks output ↵brain
buffers PLUS: Fix for random epoll dispatchevents crashes. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5926 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Change this to prepend its lines to stats z which already shows misc statsbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5923 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Add very funky stats C (compression statistics) for people using m_ziplinksbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5922 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Record compression ratio stats for a /stats char (this isnt finished yet)brain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5921 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Fix m_conn_waitpong not to use base64 uneccessarily.brain
Fix a typo introduced into openssl by a search and replace git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5916 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Update comment's ascii diagram to be more like those in an RFCbrain
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5914 e03df62e-2008-0410-955e-edbf42e46eb7
2006-12-10Rename ssl.h -> transport.h, as its now used for ziplinksbrain
Document the data format used by our ziplinks (its not just deflated data, there has to be a length header on the start) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5912 e03df62e-2008-0410-955e-edbf42e46eb7