Core/Dependencies: Temporarily fix an RFC-breaking addition in gSoap (upstream developers have been notified)

+ local changes and diff (tc_changes.diff) included for future reference

--HG--
branch : trunk
This commit is contained in:
click
2010-12-21 18:40:54 +01:00
parent 186ec40571
commit 31334b8770
2 changed files with 18 additions and 0 deletions

View File

@@ -15038,10 +15038,12 @@ soap_puthttphdr(struct soap *soap, int status, size_t count)
}
s = soap->tmpbuf;
}
/*
else if (status == SOAP_OK && soap->action && strlen(soap->action) < sizeof(soap->tmpbuf) - 80)
{ sprintf(soap->tmpbuf, "%s; action=\"%s\"", s, soap->action);
s = soap->tmpbuf;
}
*/
#endif
if (s && (err = soap->fposthdr(soap, "Content-Type", s)))
return err;

16
dep/gsoap/tc_changes.diff Normal file
View File

@@ -0,0 +1,16 @@
diff -r 830b8f9ed332 dep/gsoap/stdsoap2.cpp
--- a/dep/gsoap/stdsoap2.cpp Tue Dec 21 10:07:43 2010 -0500
+++ b/dep/gsoap/stdsoap2.cpp Tue Dec 21 10:07:55 2010 -0500
@@ -15038,10 +15038,12 @@
}
s = soap->tmpbuf;
}
+/*
else if (status == SOAP_OK && soap->action && strlen(soap->action) < sizeof(soap->tmpbuf) - 80)
{ sprintf(soap->tmpbuf, "%s; action=\"%s\"", s, soap->action);
s = soap->tmpbuf;
}
+*/
#endif
if (s && (err = soap->fposthdr(soap, "Content-Type", s)))
return err;