MM7: Minor fix - remove MessageID field from all response types but SubmitRsp
parent
caa71ca8ca
commit
26cf73882b
|
@ -81,6 +81,15 @@ AC_ARG_WITH(libs,
|
|||
[ --with-libs=FLAGS use FLAGS for extra libraries],
|
||||
LIBS="$LIBS $withval")
|
||||
|
||||
dnl Check for large file handling
|
||||
AC_SYS_LARGEFILE(CFLAGS)
|
||||
if test ${ac_cv_sys_file_offset_bits} != no ; then
|
||||
CFLAGS="$CFLAGS -D_FILE_OFFSET_BITS=${ac_cv_sys_file_offset_bits}"
|
||||
fi
|
||||
if test ${ac_cv_sys_large_files} != "no" ; then
|
||||
CFLAGS="$CFLAGS -D_LARGE_FILES=${ac_cv_sys_large_files}"
|
||||
fi
|
||||
|
||||
dnl implement SSL stuff.
|
||||
|
||||
dnl Implement the --with-ssl option.
|
||||
|
|
|
@ -1025,7 +1025,7 @@ MSoapMsg_t *mm7_make_resp(MSoapMsg_t *mreq, int status, Octstr *msgid)
|
|||
http_header_add(mresp->envelope, "StatusCode", scode);
|
||||
http_header_add(mresp->envelope, "StatusText", statustxt ? (char *)statustxt : "Error");
|
||||
|
||||
if (msgid)
|
||||
if (msgid && mtype == MM7_TAG_SubmitReq) /* only allow MessageID in submitRsp */
|
||||
http_header_add(mresp->envelope, "MessageID", octstr_get_cstr(msgid));
|
||||
|
||||
if (!MM7_SOAP_STATUS_OK(status)) {
|
||||
|
|
Loading…
Reference in New Issue