瀏覽代碼

HPCC-16828 Fix roxie not outputing raw response in block mode

Signed-off-by: Anthony Fishbeck <anthony.fishbeck@lexisnexis.com>
Anthony Fishbeck 8 年之前
父節點
當前提交
8e3b4cecad
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      roxie/ccd/ccdprotocol.cpp

+ 3 - 0
roxie/ccd/ccdprotocol.cpp

@@ -1854,11 +1854,14 @@ readAnother:
                                 if (stricmp(format, "raw") == 0)
                                 {
                                     protocolFlags |= HPCC_PROTOCOL_NATIVE_RAW;
+                                    if (client) //not stand alone roxie exe
+                                        protocolFlags |= HPCC_PROTOCOL_BLOCKED;
                                     mlResponseFmt = MarkupFmt_Unknown;
                                 }
                                 else if (stricmp(format, "bxml") == 0)
                                 {
                                     protocolFlags |= HPCC_PROTOCOL_BLOCKED;
+                                    mlResponseFmt = MarkupFmt_XML;
                                 }
                                 else if (stricmp(format, "ascii") == 0)
                                 {