[sofia-sip] fix 183 received right after 200 (#67)

This commit is contained in:
Seven Du authored and Andrey Volk committed 2019-12-31 03:10:13 +04:00
1 parent 13dc7629d6
commit 9248aa05ec
2 files changed
+5 -1

No files matched your search

@@ -1040,6 +1040,10 @@ int nua_client_response(nua_client_request_t *cr,
if (cr->cr_restarting)
return 0;
if (cr->cr_status == 200 && status < 200) { // ignore 183 follows 200
return 0;
}
nua_client_request_ref(cr);
cr->cr_status = status;