diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-07 15:04:07 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2012-12-10 14:46:00 +0100 |
commit | ce55361e93529522790fa681ef5837237e9492b1 (patch) | |
tree | b243e0468889c812413dfa5b5770950621a81c33 /openbsc/tests/mgcp/mgcp_test.ok | |
parent | 29de346b329fc05750b52446f3516f897415b43b (diff) |
mgcp: Test and implement re-transmission handling
MGCP is used over UDP and a response might be lost. The MGCP RFC
asks for keeping a list of responses and then using the previous
response to answer a duplicate request. I tried to conserve memory
and just wanted to remember the last transaction identifier and
result-code and re-generate the result from that. This made the
code look bad and this is why the entire response will now be stored.
It sadly increases the memory usage but can not be avoided at this
time.
Remove the msg->l3h pointer for the RQNT callback as strtok has
modified the content of it.
Diffstat (limited to 'openbsc/tests/mgcp/mgcp_test.ok')
-rw-r--r-- | openbsc/tests/mgcp/mgcp_test.ok | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/openbsc/tests/mgcp/mgcp_test.ok b/openbsc/tests/mgcp/mgcp_test.ok index dc0b3225a..224bba8d7 100644 --- a/openbsc/tests/mgcp/mgcp_test.ok +++ b/openbsc/tests/mgcp/mgcp_test.ok @@ -14,5 +14,15 @@ Testing SHORT4 Testing RQNT1 Testing RQNT2 Testing DLCX +Testing CRCX +Re-transmitting CRCX +Testing RQNT1 +Re-transmitting RQNT1 +Testing RQNT2 +Re-transmitting RQNT2 +Testing MDCX3 +Re-transmitting MDCX3 +Testing DLCX +Re-transmitting DLCX Testing packet loss calculation. Done |