summaryrefslogtreecommitdiff
path: root/tests/pjsua/inc_sip.py
diff options
context:
space:
mode:
authorNanang Izzuddin <nanang@teluu.com>2010-08-06 01:03:33 +0000
committerNanang Izzuddin <nanang@teluu.com>2010-08-06 01:03:33 +0000
commitd904e30b3c100fbac6742b6528467a11ce90e289 (patch)
treeee4b05c83de45ed42f6604d8f8393cd58de72962 /tests/pjsua/inc_sip.py
parent820921e537d99763c1a9d6a9b5eb7809d1a61108 (diff)
Misc (re #1068), updates in python test:
- increased receive buffer size in python test driver function inc_sip.Dialog.wait_msg_from(), the previous buffer size (2048) caused socket exception in receiving large SIP packet. - updated verification regex in scripts-sendto/330_srtp_prefer_rtp_savp.py (related to changes in #668: omitting media attribute in disabled/rejected media). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3251 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'tests/pjsua/inc_sip.py')
-rw-r--r--tests/pjsua/inc_sip.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pjsua/inc_sip.py b/tests/pjsua/inc_sip.py
index c27c72f3..ee4e0173 100644
--- a/tests/pjsua/inc_sip.py
+++ b/tests/pjsua/inc_sip.py
@@ -175,7 +175,7 @@ class Dialog:
print "select other error"
continue
try:
- msg, src_addr = self.sock.recvfrom(2048)
+ msg, src_addr = self.sock.recvfrom(4096)
except:
print "recv() exception: ", sys.exc_info()[0]
continue