Commit Graph

28 Commits

Author SHA1 Message Date
psychon
a5e9f1c751 Update to latest Csocket
This saves me 70% of CPU time on a DCC transfer over localhost.
With this patch ZNC officially sucks less (tm) :)


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@899 726aef4b-f618-498e-8847-2d620e286838
2007-12-06 13:05:50 +00:00
psychon
4c5d81b2a3 Csocket again
<@x-x> psychon: merge new csocket :>


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@866 726aef4b-f618-498e-8847-2d620e286838
2007-11-10 22:25:51 +00:00
psychon
294c82a983 WTF? Two csocket updates on one day?
Fix the wrong error message for gethostbyname() and in case of a real error
use the proper error message.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@865 726aef4b-f618-498e-8847-2d620e286838
2007-11-06 21:14:30 +00:00
psychon
babc0f9f8b Update Csocket
This fixes building with --disable-openssl


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@858 726aef4b-f618-498e-8847-2d620e286838
2007-11-02 08:37:35 +00:00
psychon
52534f2d1f Update Csocket
This fixes an unimportant leak (if ReadBuf or ReadLine returned by throwing an
exception a 4k buffer was leaked).
We only triggered this if we were shutting down and thus this leak is
unimportant to us.

Also remove the svn:keywords property from Csocket.h and .cpp so the $Revision$
strings from upstream aren't changed.


git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@854 726aef4b-f618-498e-8847-2d620e286838
2007-10-26 11:06:05 +00:00
psychon
b63b7d03d8 Updated to latest Csocket version which includes a fix for NetBSD 3.*
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@837 726aef4b-f618-498e-8847-2d620e286838
2007-09-04 15:12:22 +00:00
psychon
9736711c03 Update to latest CSocket version.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@823 726aef4b-f618-498e-8847-2d620e286838
2007-08-07 22:58:23 +00:00
imaginos
2bbdb72a97 setup to only call time() if a cron is actually in use, also fix copy.
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@788 726aef4b-f618-498e-8847-2d620e286838
2007-01-20 12:10:26 +00:00
imaginos
30cf3a30db pull the cron time() call up a level to trim some of the overhead off
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@787 726aef4b-f618-498e-8847-2d620e286838
2007-01-20 11:20:58 +00:00
imaginos
ed120ee57b pulled in various bug fixes include CPU spinning fix on rate shape and doxygen fixes
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@786 726aef4b-f618-498e-8847-2d620e286838
2007-01-20 03:39:13 +00:00
imaginos
5e8c075c60 fix my broken fix fix
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@718 726aef4b-f618-498e-8847-2d620e286838
2006-03-27 19:49:10 +00:00
imaginos
577d7528a7 appears that sun/solaris has a broken implementation of getaddrinfo
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@711 726aef4b-f618-498e-8847-2d620e286838
2006-03-24 23:04:07 +00:00
prozacx
4f2599e711 Pulled in changes
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@684 726aef4b-f618-498e-8847-2d620e286838
2006-03-15 18:23:43 +00:00
prozacx
acb9012540 Pulled in changes for Csocket
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@668 726aef4b-f618-498e-8847-2d620e286838
2006-02-23 05:54:29 +00:00
prozacx
9d4be439a6 Pulled in changes for Csocket.. temporarily added old style Listen*() and Connect() functions to CSockManager wrapper class
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@651 726aef4b-f618-498e-8847-2d620e286838
2006-02-13 00:19:22 +00:00
prozacx
61920317fe Pulled in ipv6 bug fixes
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@637 726aef4b-f618-498e-8847-2d620e286838
2006-02-11 09:44:31 +00:00
prozacx
4662987fc0 Pulled in changes for resolving ipv6 hosts
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@636 726aef4b-f618-498e-8847-2d620e286838
2006-02-10 22:45:44 +00:00
prozacx
12ed047521 Pulled in bugfix
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@633 726aef4b-f618-498e-8847-2d620e286838
2006-02-10 02:27:34 +00:00
prozacx
fd90be44f2 Pulled in changes with a few bugfixes
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@629 726aef4b-f618-498e-8847-2d620e286838
2006-02-09 04:32:42 +00:00
prozacx
487b6b657b Pulled in Csocket changes for ipv6 support
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@626 726aef4b-f618-498e-8847-2d620e286838
2006-02-08 11:13:32 +00:00
prozacx
b88d493616 zero is a valid fd
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@605 726aef4b-f618-498e-8847-2d620e286838
2006-02-06 01:55:49 +00:00
prozacx
e41a7f46f9 Pulled in changes for graceful Close()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@494 726aef4b-f618-498e-8847-2d620e286838
2005-09-15 04:11:41 +00:00
prozacx
c287c5cdd2 Pulled in fix for VHost not being respected
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@390 726aef4b-f618-498e-8847-2d620e286838
2005-06-27 19:46:08 +00:00
prozacx
6dbb196ed7 Changed port from int to ushort
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@376 726aef4b-f618-498e-8847-2d620e286838
2005-06-01 21:01:26 +00:00
imaginos
2d1602ec4c bring Csocket up to date, includes new needed function GetSockByFD()
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@332 726aef4b-f618-498e-8847-2d620e286838
2005-05-18 03:22:52 +00:00
prozacx
79aaf3d527 Got rid of those pesky trailing whitespaces
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@203 726aef4b-f618-498e-8847-2d620e286838
2005-04-28 23:53:14 +00:00
imaginos
3d30668830 misc cleanups and some comment fixing
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@200 726aef4b-f618-498e-8847-2d620e286838
2005-04-28 17:36:31 +00:00
prozacx
8a769a6f66 Split Csocket.h out into h/cpp files
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@199 726aef4b-f618-498e-8847-2d620e286838
2005-04-28 07:41:54 +00:00