[Mono-devel-list] Re: HttpSoapWebServiceHandler.SerializeResponse closes the HttpResponse
Robert Jordan
robertj at gmx.net
Mon Jun 6 05:28:28 EDT 2005
Konstantin,
> I don't think it's the case here: server already successfully accepted
> and understood the message. So it definitely was "complete". Now it
> sends the response back and after that closes the connection. But it
> seems more correct to call Flush only.
Close() is always correct.
Flush() would only work when the client has requested keep-alives
AND
when the server is able to deliver a correct Content-Lenght
OR
the server uses Transport-Encoding: chunked.
AFAIK none of this conditions are implemented by
HttpSoapWebServiceHandler, so Close() seems to be the only
correct action.
Rob
More information about the Mono-devel-list
mailing list