summaryrefslogtreecommitdiff
path: root/pjnath/include/pjnath/config.h
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-05-15 10:42:56 +0000
committerBenny Prijono <bennylp@teluu.com>2007-05-15 10:42:56 +0000
commit240fa9cd6f0ede43211b799f4706df92c62a5be9 (patch)
tree6769c97345b1eabb6ebd39a6cb1c76056975957f /pjnath/include/pjnath/config.h
parent5406b158f07e67aab413b407d589920f2e120b4a (diff)
Fixed several STUN bugs: USERNAME, REALM etc are not allowed in the response, retransmission timer calculation bug, etc.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1275 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjnath/include/pjnath/config.h')
-rw-r--r--pjnath/include/pjnath/config.h16
1 files changed, 13 insertions, 3 deletions
diff --git a/pjnath/include/pjnath/config.h b/pjnath/include/pjnath/config.h
index f7cb3009..3b24b944 100644
--- a/pjnath/include/pjnath/config.h
+++ b/pjnath/include/pjnath/config.h
@@ -88,12 +88,22 @@
/**
- * Maximum number of STUN retransmission count.
+ * Maximum number of STUN transmission count.
*
* Default: 7 (as per RFC 3489-bis)
*/
-#ifndef PJ_STUN_MAX_RETRANSMIT_COUNT
-# define PJ_STUN_MAX_RETRANSMIT_COUNT 7
+#ifndef PJ_STUN_MAX_TRANSMIT_COUNT
+# define PJ_STUN_MAX_TRANSMIT_COUNT 7
+#endif
+
+
+/**
+ * Duration to keep response in the cache, in msec.
+ *
+ * Default: 10000 (as per RFC 3489-bis)
+ */
+#ifndef PJ_STUN_RES_CACHE_DURATION
+# define PJ_STUN_RES_CACHE_DURATION 10000
#endif