Fixed PLM issue P120731-3308
authorSeunghwan Lee <sh.cat.lee@samsung.com>
Fri, 24 Aug 2012 05:40:00 +0000 (14:40 +0900)
committerSeunghwan Lee <sh.cat.lee@samsung.com>
Fri, 24 Aug 2012 05:40:00 +0000 (14:40 +0900)
Disable 'Expect: 100-continue' option to avoid chunked post transter

plugin/mms_plugin/MmsPluginHttp.cpp

index 791bf7a..e38f675 100755 (executable)
@@ -602,6 +602,9 @@ int MmsPluginHttpAgent::setSession(mmsTranQEntity *qEntity)
 
                __httpAllocHeaderInfo(&responseHeaders, NULL, qEntity->postDataLen);
 
+               //Disable 'Expect: 100-contine' option
+               responseHeaders = curl_slist_append(responseHeaders, "Expect:");
+
                MSG_DEBUG(" === MMSCURI = %s === ", httpConfigData.mmscConfig.mmscUrl);
 
                httpConfigData.sessionHeader = (void *)responseHeaders;