Commit Graph

27 Commits

Author SHA1 Message Date
paulc c4c9e994f0 Renamed DebugGoOn to DebugCrit so it better matches its purpose.
Swapped order of DebugCall and DebugNote so DebugCall is less visible.
Changed default debug level to DebugNote.
Modified a few inadequate uses of DebugCrit.


git-svn-id: http://yate.null.ro/svn/yate/trunk@6250 acf43c95-373e-0410-b603-e72c3f656dc1
2017-08-01 13:08:23 +00:00
marian b3bf7d962b Make some explicit conversions to silence compiler warnings.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5958 acf43c95-373e-0410-b603-e72c3f656dc1
2015-03-11 10:41:51 +00:00
paulc f1185a554b Fixed a number of unused member variables.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5890 acf43c95-373e-0410-b603-e72c3f656dc1
2014-07-31 13:54:23 +00:00
paulc 37a72e4bc1 Added copyright notices to sources and scripts missing them.
Updated copyright notices for 2014.
Fixed end of lines in many files.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5755 acf43c95-373e-0410-b603-e72c3f656dc1
2014-02-05 11:42:17 +00:00
paulc cf5d0fd71a Changed license terms in each source file to reference an external file.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5609 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-06 13:38:10 +00:00
marian d4b5beaa08 Fixed conversion from boolean false to pointer.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5598 acf43c95-373e-0410-b603-e72c3f656dc1
2013-08-02 07:10:00 +00:00
marian a308b80519 Forward an empty block when first consumer is attached and we read 0 bytes from socket.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5499 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-26 13:32:34 +00:00
marian 6afb29da41 Fixed bug: unset source busy flag when nothing is received on socket to avoid looping when source is destroyed.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5494 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-26 11:34:18 +00:00
marian e86838284e Asynchronously connect a SOCKS client if possible.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5490 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-25 14:39:43 +00:00
paulc 3b49b78ecb Added a shared static list of Atom strings and an YATOM macro.
This speeds up signifficantly the Yate RTTI on compilers that HAVE_BLOCK_RETURN.
Made the String comparison operator inline to shave off a few cycles.
Fast handle the comparison in identity case.


git-svn-id: http://yate.null.ro/svn/yate/trunk@5449 acf43c95-373e-0410-b603-e72c3f656dc1
2013-04-12 13:19:14 +00:00
paulc 4f80ad5021 Fixed several signed/unsigned formatting mismatches.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5201 acf43c95-373e-0410-b603-e72c3f656dc1
2012-07-16 12:39:57 +00:00
paulc 1ae0546b45 Added class for pseudo random number generation.
Replace library ::random() and ::rand() calls with shared Random method.


git-svn-id: http://yate.null.ro/svn/yate/trunk@4470 acf43c95-373e-0410-b603-e72c3f656dc1
2011-06-29 11:19:02 +00:00
marian a42cf7a1a8 Match socks wrapper on client/server flag when finding one. Improved debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@4019 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-23 15:50:35 +00:00
marian 5db4f7fc05 Merged socks and file transfer modules changes from client branch into trunk.
git-svn-id: http://yate.null.ro/svn/yate/trunk@3929 acf43c95-373e-0410-b603-e72c3f656dc1
2010-12-08 10:06:09 +00:00
marian d8f375ed24 Always reset I/O blocking on listener and accepted sockets. Added more debug.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2847 acf43c95-373e-0410-b603-e72c3f656dc1
2009-09-21 12:41:01 +00:00
paulc c7d210b5b7 Call Thread::idle() instead of hand coded sleeps in the SOCKS module.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2764 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-22 17:04:03 +00:00
marian 13b7fcbb27 Added flag used to inhibit repeating non fatal socket send error debug message. Use Thread::errorString() instead of strerror().
git-svn-id: http://yate.null.ro/svn/yate/trunk@2753 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-09 13:17:08 +00:00
marian d1ac03c5f7 The SOCKS consumer is now returning the number of sent bytes.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2751 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-08 11:46:44 +00:00
paulc 8520218d2d Added flags to data forwarded through DataNodes.
The amount of consumed data is returned to the source.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2745 acf43c95-373e-0410-b603-e72c3f656dc1
2009-07-02 09:24:33 +00:00
paulc f4b1496a46 Added an unified Thread::idle method, use it instead of arbitrary
sleeps.


git-svn-id: http://yate.null.ro/svn/yate/trunk@2737 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-24 16:47:29 +00:00
paulc 5499650213 Changed thread names to be uniform and easily readable.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2733 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-22 14:48:26 +00:00
marian 6df4323a48 SOCKSListener is no longer a Runnable descendant.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2727 acf43c95-373e-0410-b603-e72c3f656dc1
2009-06-19 12:37:19 +00:00
paulc c669a24f90 Added mutex names to most Yate modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2613 acf43c95-373e-0410-b603-e72c3f656dc1
2009-05-05 14:06:39 +00:00
paulc 7feb8f700a Silenced compiler warnings regarding the non-virtual destructor of SOCKSEngine.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2514 acf43c95-373e-0410-b603-e72c3f656dc1
2009-03-05 13:12:09 +00:00
marian e20f83055f Set reuse property for listener sockets. Added listeners status command. Set remote ip/port in chan.socks and chan.notify for server wrappers.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2438 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-14 12:59:30 +00:00
marian e92e215275 Changed default buffer length value.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2429 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-13 11:23:18 +00:00
marian 4e51840e9e Added file transfer, socks and jingle features modules.
git-svn-id: http://yate.null.ro/svn/yate/trunk@2415 acf43c95-373e-0410-b603-e72c3f656dc1
2009-01-09 14:18:07 +00:00