[Mono-dev] [PATCH] XSP: Reliable socket closure on FastCGI Backend

Marek Habersack grendel at twistedcode.net
Thu Dec 17 03:45:48 EST 2009


On Wed, 16 Dec 2009 14:57:15 -0600
"Tiaan Geldenhuys" <tagdev at gmail.com> wrote:

Hello,
> The attached path fixes an issue where XSP's FastCGI Backend would sometimes
> close sockets before all data has made it to the FastCGI Server (web
> server), which leaves the FastCGI protocol in a bad state and can even
> truncate content to the web client prematurely.
Committed (with a small cosmetic change - there's no point in catching ObjectDisposedException and
ignoring it, as socket.Close () will throw it anyway as it should) in r148675 (trunk), r148676 (2.6
branch) and r148677 (2.4 branch). Thanks!

best,

marek


More information about the Mono-devel-list mailing list