Skip to content

Commit 31334b8

Browse files
author
click
committed
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
1 parent 186ec40 commit 31334b8

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

dep/gsoap/stdsoap2.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -15038,10 +15038,12 @@ soap_puthttphdr(struct soap *soap, int status, size_t count)
1503815038
}
1503915039
s = soap->tmpbuf;
1504015040
}
15041+
/*
1504115042
else if (status == SOAP_OK && soap->action && strlen(soap->action) < sizeof(soap->tmpbuf) - 80)
1504215043
{ sprintf(soap->tmpbuf, "%s; action=\"%s\"", s, soap->action);
1504315044
s = soap->tmpbuf;
1504415045
}
15046+
*/
1504515047
#endif
1504615048
if (s && (err = soap->fposthdr(soap, "Content-Type", s)))
1504715049
return err;

dep/gsoap/tc_changes.diff

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff -r 830b8f9ed332 dep/gsoap/stdsoap2.cpp
2+
--- a/dep/gsoap/stdsoap2.cpp Tue Dec 21 10:07:43 2010 -0500
3+
+++ b/dep/gsoap/stdsoap2.cpp Tue Dec 21 10:07:55 2010 -0500
4+
@@ -15038,10 +15038,12 @@
5+
}
6+
s = soap->tmpbuf;
7+
}
8+
+/*
9+
else if (status == SOAP_OK && soap->action && strlen(soap->action) < sizeof(soap->tmpbuf) - 80)
10+
{ sprintf(soap->tmpbuf, "%s; action=\"%s\"", s, soap->action);
11+
s = soap->tmpbuf;
12+
}
13+
+*/
14+
#endif
15+
if (s && (err = soap->fposthdr(soap, "Content-Type", s)))
16+
return err;

0 commit comments

Comments
 (0)