Recently I was working on Silverlight/Delphi integration via SOAP
services and I found a problem in HTTP Server component.
When Silverlight issues SOAP POST, it does not terminate POST data
with newline. (Same happens with WPF application and BasicHttpBinding
so that's definitely a global .NET issue.)
That causes problems with the THttpServer component because it reads HTTP
request (including POST data) in line mode. Because terminating newline never
appears, THttpConnection doesn't process POST data and it doesn't notice that
client already sent all data it was supposed to send.
My temporary fix was to switch line mode off in ProcessPost:
hgAcceptData:
begin
FAcceptPostedData := TRUE;
LineMode := false; //FAB
end
It looks like this fixes the problem.
THttpServer is version 6.07, which is AFAIK the lattest.
Primoz
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be