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
6ee5e5825f
Implemented ping on client to server streams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5252 acf43c95-373e-0410-b603-e72c3f656dc1
2012-09-05 13:50:08 +00:00
marian
03fdd4de37
Ignore stream redirect to the same destination. Allow adding error element text in sent stream errors.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5247 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-29 11:40:38 +00:00
marian
028a02cf82
Added support for redirect (see-other-host) stream error.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@5245 acf43c95-373e-0410-b603-e72c3f656dc1
2012-08-28 15:03:43 +00:00
marian
dbab3197ee
Added support for outgoing jabber component streams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4980 acf43c95-373e-0410-b603-e72c3f656dc1
2012-03-26 14:44:01 +00:00
marian
861a947eee
Fixed parameter retrieval from postponed stream termination.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4674 acf43c95-373e-0410-b603-e72c3f656dc1
2011-11-04 08:30:21 +00:00
marian
d000d65d8a
Outgoing client stream: handle the situation when user's domain is hosted by another domain.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4616 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-15 14:54:12 +00:00
marian
570671414f
Delay stream termination on I/O error if we have pending xml elements.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4585 acf43c95-373e-0410-b603-e72c3f656dc1
2011-09-01 15:04:31 +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
6a337d5482
Use async connect if available. The stream connect timeout value is no longer global: it's used for each connect attempt (configured address, srv record, domain). Remember connect status and re-connect starting from old status. Added srv query timeout configurable option.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4150 acf43c95-373e-0410-b603-e72c3f656dc1
2011-03-03 13:02:29 +00:00
marian
4e4ae64f6f
Always restart cluster streams with InError flag set.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4122 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-21 15:59:28 +00:00
marian
e9f820345e
Added cluster stream.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4116 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-18 16:07:46 +00:00
marian
efae418da6
Outgoing streams can now be forced to use a specified local ip when connecting.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4110 acf43c95-373e-0410-b603-e72c3f656dc1
2011-02-15 15:26:53 +00:00
marian
8d3918a79f
Fixed memory leak: release received stream features xml element when starting stream compression.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4056 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 10:11:34 +00:00
marian
a8889c9c15
Fixed memory leak: release received 'starttls' requests after successfully processed.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@4055 acf43c95-373e-0410-b603-e72c3f656dc1
2011-01-24 09:51:21 +00:00
marian
165eb0b03c
Fixed incoming s2s stream setup bug: accept db:verify elements even if compression may still be negotiated.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3665 acf43c95-373e-0410-b603-e72c3f656dc1
2010-09-21 13:23:26 +00:00
marian
23ff04b723
Convert unsigned variable to int before applying unary minus operator.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3438 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 12:28:14 +00:00
marian
7f13563d83
Added jabber stream compression support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3436 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-16 11:11:50 +00:00
marian
0661acda5c
Check TLS availability before using it on outgoing streams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3427 acf43c95-373e-0410-b603-e72c3f656dc1
2010-07-09 14:37:19 +00:00
marian
5621a88ebb
Fixed debug.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3131 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-18 14:32:37 +00:00
marian
d2010e3a13
Lock the socket mutex when the xml parser is reset due to stream restart.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3128 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 14:48:40 +00:00
marian
cba07a3ca3
Fixed deadlock: outgoing jabber stream id is now checked by the engine event processor to avoid locking engine's stream list(s) while the stream is locked.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3126 acf43c95-373e-0410-b603-e72c3f656dc1
2010-03-17 13:06:54 +00:00
marian
44fa85340c
Fixed bug: always re-connect idle outgoing c2s streams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3087 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:46:45 +00:00
marian
69e15604d0
Implemented support for multiple remote domains on incoming s2s streams. Implemented XEP 0185 and 0220. Added module option and stream flag used to disable RFC3920 features advertising on incoming s2s streams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3085 acf43c95-373e-0410-b603-e72c3f656dc1
2010-02-18 11:40:24 +00:00
marian
0df7c25fd6
Added extra mutex to protect stream socket and parser (avoid infinite looping on connection reset).
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@3037 acf43c95-373e-0410-b603-e72c3f656dc1
2010-01-26 11:40:15 +00:00
marian
fa5280c020
Add stream type prefix to stream name. Added account to client streams. A client stream can now be retrieved by account from the jabber client engine.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2976 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-27 12:17:17 +00:00
marian
56f6a19ab5
Don't reset stream flags when updating from engine domain list. Added debug when stream flags change.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2960 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-23 09:54:16 +00:00
marian
f06dc5c814
Don't use idle timer for c2s streams.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2945 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 12:56:05 +00:00
marian
3aa98bfd98
Implemented c2s non sasl authentication. Added listener for direct c2s SSL connections. Restrict client resources with the same name while authenticating using non sasl.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2943 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-13 11:36:05 +00:00
marian
803f4e27f1
Added error flag used to avoid stream re-connect when terminated with error and have nothing to send. Fixed stream idle timer usage.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2917 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-10 15:27:47 +00:00
marian
96d283216d
Added external component support to jabber server.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2893 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-04 14:29:28 +00:00
marian
d6966c6347
Implemented jabber server. Changed jingle channel to support the new jabber library. Replaced tinyxml with yate own XML library. Added openssl support for server. Work in progress in jabber client support.
...
git-svn-id: http://yate.null.ro/svn/yate/trunk@2882 acf43c95-373e-0410-b603-e72c3f656dc1
2009-11-02 16:05:39 +00:00