[Asterisk-code-review] pjsip/resolver: Add missing content-length headers (testsuite[master])
Jenkins2
asteriskteam at digium.com
Mon Nov 13 05:10:30 CST 2017
Jenkins2 has submitted this change and it was merged. ( https://gerrit.asterisk.org/7181 )
Change subject: pjsip/resolver: Add missing content-length headers
......................................................................
pjsip/resolver: Add missing content-length headers
Content-Length is a required header when TCP is the transport but
the 2 sipp scenarios were missing in their 503 responses causing
failures in pjproject.
Partial fix for ASTERISK_27408
Change-Id: I971bc130ec7adab187da19144421c05f722c5be4
---
M tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml
M tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml
2 files changed, 4 insertions(+), 0 deletions(-)
Approvals:
Richard Mudgett: Looks good to me, but someone else must approve
Corey Farrell: Looks good to me, but someone else must approve
Joshua Colp: Looks good to me, approved
Jenkins2: Approved for Submit
diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml
index c31ddce..33c42d8 100644
--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml
+++ b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_tcp/sipp/uas-503.xml
@@ -15,6 +15,8 @@
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+
]]>
</send>
</scenario>
diff --git a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml
index c31ddce..33c42d8 100644
--- a/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml
+++ b/tests/channels/pjsip/resolver/srv/failover/in_dialog/transport_unspecified/sipp/uas-503.xml
@@ -15,6 +15,8 @@
[last_Call-ID:]
[last_CSeq:]
Contact: <sip:[local_ip]:[local_port];transport=[transport]>
+ Content-Length: 0
+
]]>
</send>
</scenario>
--
To view, visit https://gerrit.asterisk.org/7181
To unsubscribe, visit https://gerrit.asterisk.org/settings
Gerrit-Project: testsuite
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I971bc130ec7adab187da19144421c05f722c5be4
Gerrit-Change-Number: 7181
Gerrit-PatchSet: 1
Gerrit-Owner: George Joseph <gjoseph at digium.com>
Gerrit-Reviewer: Corey Farrell <git at cfware.com>
Gerrit-Reviewer: Jenkins2
Gerrit-Reviewer: Joshua Colp <jcolp at digium.com>
Gerrit-Reviewer: Richard Mudgett <rmudgett at digium.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20171113/59eef136/attachment.html>
More information about the asterisk-code-review
mailing list