<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="/rss.xsl"?><rss version="2.0"><channel><title>webserver Work Item Rss Feed</title><link>http://www.codeplex.com/webserver/WorkItem/List.aspx</link><description>webserver Work Item Rss Description</description><item><title>Created Issue: BufferReader out of range exception [9741]</title><link>http://webserver.codeplex.com/workitem/9741</link><description>I believe the contains method has a bug. If you read the one letter word L, and call method contains&amp;#40;&amp;#39;L&amp;#39;&amp;#41; it crashes. The solution is to use a do while loop &amp;#40;instead of a while&amp;#41;.&lt;br /&gt;&lt;br /&gt;explanation in code -- &lt;br /&gt; -- CreateBufferReader&amp;#40;&amp;#38;quot&amp;#59;H&amp;#38;quot&amp;#59;&amp;#41;&amp;#59;&lt;br /&gt; -- var contains &amp;#61; _reader.Contains&amp;#40;&amp;#39;H&amp;#39;&amp;#41;.Should&amp;#40;&amp;#41;.BeTrue&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;</description><author>hannes_neukermans</author><pubDate>Tue, 27 Nov 2012 21:55:55 GMT</pubDate><guid isPermaLink="false">Created Issue: BufferReader out of range exception [9741] 20121127095555P</guid></item><item><title>Created Issue: HTTPS "GET" request becomes "ET" [9715]</title><link>http://webserver.codeplex.com/workitem/9715</link><description>I have noticed that when doing https, &amp;#38;quot&amp;#59;GET&amp;#38;quot&amp;#59; requests are badly transcribed to &amp;#38;quot&amp;#59;ET&amp;#38;quot&amp;#59; &amp;#40;see image&amp;#41;.&lt;br /&gt;Issue confirmed with Firefox and Chrome.&lt;br /&gt;</description><author>deepsouth</author><pubDate>Mon, 12 Nov 2012 11:09:00 GMT</pubDate><guid isPermaLink="false">Created Issue: HTTPS "GET" request becomes "ET" [9715] 20121112110900A</guid></item><item><title>Closed Issue: Listener stops working after (backlog+2) requests [7263]</title><link>http://webserver.codeplex.com/workitem/7263</link><description>This is for v2.0&lt;br /&gt;&lt;br /&gt;E.g. Listener.Start&amp;#40;5&amp;#41;&lt;br /&gt;&lt;br /&gt;After 7 requests, nothing more happens. In my requestreceived handler i use e.Response.Connection.Type &amp;#61; ConnectionType.Close&lt;br /&gt;&lt;br /&gt;Is this a bug, or is it me&amp;#63;&lt;br /&gt;&lt;br /&gt;Thanks&amp;#33;&lt;br /&gt;Comments: &lt;p&gt;wont fix, no feedback&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:59:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: Listener stops working after (backlog+2) requests [7263] 20120131055932A</guid></item><item><title>Closed Issue: FileModule throwing Exception (v2.0) [8412]</title><link>http://webserver.codeplex.com/workitem/8412</link><description>I think FileModule should not throw an exception in the Process function, if the file extension isn&amp;#39;t registerd in contentTypes &amp;#40;line 170&amp;#41;. Instead it should return ProcessingResult.Continue.&lt;br /&gt;&lt;br /&gt;For example, I&amp;#39;m using my cgi module, and at the moment, if I&amp;#39;m adding the CgiModule after your FileModule to the server modules, I get the ForbiddenException when requesting a php file. This is not what the user would expect.&lt;br /&gt;Comments: &lt;p&gt;true. fixed.&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:58:53 GMT</pubDate><guid isPermaLink="false">Closed Issue: FileModule throwing Exception (v2.0) [8412] 20120131055853A</guid></item><item><title>Closed Issue: Posting forms throws exception (v2.0) [8413]</title><link>http://webserver.codeplex.com/workitem/8413</link><description>EDIT&amp;#58; Just realized that this is not a bug but a feature. You should document somewhere, that one has to set the servers MaxContentSize to an appropriate size &amp;#40;or you should initialize it with a value &amp;#62; 0&amp;#41;.&lt;br /&gt;&lt;br /&gt;In the latest version of the 2.0 trunk you seem to have introduced a bug. A simple html form like&lt;br /&gt;&lt;br /&gt;&amp;#60;html&amp;#62;&lt;br /&gt;&amp;#60;head&amp;#62;&amp;#60;title&amp;#62;Test&amp;#60;&amp;#47;title&amp;#62;&amp;#60;&amp;#47;head&amp;#62;&lt;br /&gt;&amp;#60;body&amp;#62;&lt;br /&gt;&amp;#60;form method&amp;#61;&amp;#34;post&amp;#34; action&amp;#61;&amp;#34;test.html&amp;#34;&amp;#62;&lt;br /&gt;    &amp;#60;input type&amp;#61;&amp;#34;text&amp;#34; id&amp;#61;&amp;#34;test&amp;#34; name&amp;#61;&amp;#34;test&amp;#34; value&amp;#61;&amp;#34;Test&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;input type&amp;#61;&amp;#34;submit&amp;#34; value&amp;#61;&amp;#34;Test&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;form&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;body&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;html&amp;#62;&lt;br /&gt;&lt;br /&gt;produces the following exception&amp;#58;&lt;br /&gt;&lt;br /&gt;500 - Too large body&lt;br /&gt;&lt;br /&gt;HttpServer.HttpException&amp;#58; Too large body&lt;br /&gt;   at HttpServer.Messages.Request.set_ContentLength&amp;#40;NumericHeader value&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Request.cs&amp;#58;line 245&lt;br /&gt;   at HttpServer.Messages.Request.Add&amp;#40;String name, IHeader value&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Request.cs&amp;#58;line 188&lt;br /&gt;   &amp;#91;...&amp;#93;&lt;br /&gt;Comments: &lt;p&gt;Initialized it to 1 000 000 bytes in the constructor&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:57:59 GMT</pubDate><guid isPermaLink="false">Closed Issue: Posting forms throws exception (v2.0) [8413] 20120131055759A</guid></item><item><title>Closed Issue: RequestCookieCollection throwing Exception (v2.0) [8466]</title><link>http://webserver.codeplex.com/workitem/8466</link><description>I didn&amp;#39;t look at the specs too closely, but I think empty values in cookies are allowed &amp;#40;at least the browser sends them and I get the exception&amp;#41;. So throwing an the exception in RequestCookieCollection.cs &amp;#91;void Add&amp;#40;RequestCookie cookie&amp;#41;&amp;#93; at line 118 if cookie.Value is an empty string is a bad idea.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:56:28 GMT</pubDate><guid isPermaLink="false">Closed Issue: RequestCookieCollection throwing Exception (v2.0) [8466] 20120131055628A</guid></item><item><title>Closed Issue: DigestAuthentication.cs needs patching [8485]</title><link>http://webserver.codeplex.com/workitem/8485</link><description>From&lt;br /&gt;var parameters &amp;#61; HeaderParameterCollection.Parse&amp;#40;new StringReader&amp;#40;header.Data&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;To&lt;br /&gt;var parameters &amp;#61; HeaderParameterCollection.Parse&amp;#40;new StringReader&amp;#40;header.Data&amp;#41;, &amp;#39;,&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:55:29 GMT</pubDate><guid isPermaLink="false">Closed Issue: DigestAuthentication.cs needs patching [8485] 20120131055529A</guid></item><item><title>Closed Issue: Exception called in ReusableSocketNetworkStream Finalizer [8661]</title><link>http://webserver.codeplex.com/workitem/8661</link><description>Using 1.1 Build 54198 I have got the following error reported from a customer&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Net.Sockets.SocketException&amp;#58; A request to send or receive data was disallowed because the socket is not connected and &amp;#40;when sending on a datagram socket using a sendto call&amp;#41; no address was supplied&lt;br /&gt;   at System.Net.Sockets.Socket.Disconnect&amp;#40;Boolean reuseSocket&amp;#41;&lt;br /&gt;   at HttpServer.ReusableSocketNetworkStream.Dispose&amp;#40;Boolean disposing&amp;#41;&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Finalize&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Looking at ReusableSocketNetworkStream.Dispose&amp;#40;bool&amp;#41; I see that contrary to .Net dispose pattern the socket is disposed regardless of disposing value. Could this be the problem&amp;#63;&lt;br /&gt;&lt;br /&gt;If so the suggested new code would be&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;protected override void Dispose&amp;#40;bool disposing&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;            if &amp;#40;disposed&amp;#41; return&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;        try&lt;br /&gt;&amp;#9;        &amp;#123;&lt;br /&gt;                if &amp;#40;disposing&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;                    &amp;#123;&lt;br /&gt;                        try&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Socket.Disconnect&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;&lt;br /&gt;                        catch &amp;#40;ObjectDisposedException&amp;#41; &amp;#123; &amp;#125;&lt;br /&gt;                    &amp;#125;&lt;br /&gt;                &amp;#125;&lt;br /&gt;&amp;#9;        &amp;#125;&lt;br /&gt;&amp;#9;        finally&lt;br /&gt;&amp;#9;        &amp;#123;&lt;br /&gt;&amp;#9;            base.Dispose&amp;#40;disposing&amp;#41;&amp;#59;&lt;br /&gt;                disposed &amp;#61; true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, is there a concurrency problem&amp;#63; &lt;br /&gt;&lt;br /&gt;Also Close&amp;#40;&amp;#41; should check the disposed property. Suggested new implementation&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void Close&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;            if &amp;#40;disposed&amp;#41; throw new ObjectDisposedException&amp;#40;GetType&amp;#40;&amp;#41;.FullName&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;Socket.Close&amp;#40;&amp;#41;&amp;#59; &amp;#47;&amp;#47;TODO&amp;#58; Maybe use Disconnect with reuseSocket&amp;#61;true&amp;#63; I tried but it took forever.&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.Close&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:54:52 GMT</pubDate><guid isPermaLink="false">Closed Issue: Exception called in ReusableSocketNetworkStream Finalizer [8661] 20120131055452A</guid></item><item><title>Closed Issue: POST Request without Content-Type header gives NullReferenceException [8740]</title><link>http://webserver.codeplex.com/workitem/8740</link><description>a POST request without a Content-Type results in NullReferenceException exception.&lt;br /&gt;&lt;br /&gt;client code&amp;#58;&lt;br /&gt;&lt;br /&gt;    Public Function WebPost&amp;#40;url As String, content As String&amp;#41; As String&lt;br /&gt;        Using wc As New WebClient&amp;#40;&amp;#41;&lt;br /&gt;            wc.Proxy &amp;#61; Nothing&lt;br /&gt;            Return &amp;#40;wc.UploadString&amp;#40;New Uri&amp;#40;url&amp;#41;, &amp;#34;POST&amp;#34;, content&amp;#41;&amp;#41;&lt;br /&gt;        End Using&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;if one adds a Content-Type&amp;#58; e.g.&amp;#58; wc.Headers&amp;#40;&amp;#34;Content-Type&amp;#34;&amp;#41; &amp;#61; &amp;#34;application&amp;#47;mine&amp;#34;&lt;br /&gt;then it works.&lt;br /&gt;&lt;br /&gt;Server Exception Stack Trace&lt;br /&gt;--&lt;br /&gt;System.NullReferenceException&amp;#58; Object reference not set to an instance of an object.&lt;br /&gt;   at HttpServer.BodyDecoders.BodyDecoderCollection.Decode&amp;#40;Stream stream, ContentTypeHeader contentType, Encoding encoding&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;BodyDecoders&amp;#92;BodyDecoderCollection.cs&amp;#58;line 51&lt;br /&gt;   at HttpServer.Server.DecodeBody&amp;#40;IRequest request&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 164&lt;br /&gt;   at HttpServer.Server.HandleRequest&amp;#40;RequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 229&lt;br /&gt;   at HttpServer.Server.OnRequest&amp;#40;Object sender, RequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 302&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the attached patch just adds a check for contentType being null.&lt;br /&gt;Comments: &lt;p&gt;&lt;/p&gt;</description><author>jgauffin</author><pubDate>Tue, 31 Jan 2012 05:51:32 GMT</pubDate><guid isPermaLink="false">Closed Issue: POST Request without Content-Type header gives NullReferenceException [8740] 20120131055132A</guid></item><item><title>Commented Issue: International support [8198]</title><link>http://webserver.codeplex.com/workitem/8198</link><description>It seems that much better to use Encoding.Default instead of Encoding.ASCII after ive replaed I can pass query string in non english language&lt;br /&gt;Comments: ** Comment from web user: Plus ** &lt;p&gt;Russian &amp;#40;cp1251&amp;#41; query parameters are not working without my patch.&lt;/p&gt;</description><author>Plus</author><pubDate>Thu, 19 Jan 2012 16:06:48 GMT</pubDate><guid isPermaLink="false">Commented Issue: International support [8198] 20120119040648P</guid></item><item><title>Created Issue: 304 notmodified should not contain Content-Lenght header [9012]</title><link>http://webserver.codeplex.com/workitem/9012</link><description>In webserver V1.1 HttpModules.FileModule.Process the content length is given a value even if the status code is 304 &amp;#40;NotModified&amp;#41; According to RFC 2616 the 304 response should not contain a body and thus not contain a Content-Length header. &lt;br /&gt;&lt;br /&gt;Sending a 304 status code with a content length header and the content length header is set to a value &amp;#62; 0, may cause problems in e.g. safari browsers.&lt;br /&gt;</description><author>barts2108</author><pubDate>Thu, 15 Dec 2011 10:49:43 GMT</pubDate><guid isPermaLink="false">Created Issue: 304 notmodified should not contain Content-Lenght header [9012] 20111215104943A</guid></item><item><title>Commented Issue: Exception called in ReusableSocketNetworkStream Finalizer [8661]</title><link>http://webserver.codeplex.com/workitem/8661</link><description>Using 1.1 Build 54198 I have got the following error reported from a customer&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Net.Sockets.SocketException&amp;#58; A request to send or receive data was disallowed because the socket is not connected and &amp;#40;when sending on a datagram socket using a sendto call&amp;#41; no address was supplied&lt;br /&gt;   at System.Net.Sockets.Socket.Disconnect&amp;#40;Boolean reuseSocket&amp;#41;&lt;br /&gt;   at HttpServer.ReusableSocketNetworkStream.Dispose&amp;#40;Boolean disposing&amp;#41;&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Finalize&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Looking at ReusableSocketNetworkStream.Dispose&amp;#40;bool&amp;#41; I see that contrary to .Net dispose pattern the socket is disposed regardless of disposing value. Could this be the problem&amp;#63;&lt;br /&gt;&lt;br /&gt;If so the suggested new code would be&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;protected override void Dispose&amp;#40;bool disposing&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;            if &amp;#40;disposed&amp;#41; return&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;        try&lt;br /&gt;&amp;#9;        &amp;#123;&lt;br /&gt;                if &amp;#40;disposing&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;                    &amp;#123;&lt;br /&gt;                        try&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Socket.Disconnect&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;&lt;br /&gt;                        catch &amp;#40;ObjectDisposedException&amp;#41; &amp;#123; &amp;#125;&lt;br /&gt;                    &amp;#125;&lt;br /&gt;                &amp;#125;&lt;br /&gt;&amp;#9;        &amp;#125;&lt;br /&gt;&amp;#9;        finally&lt;br /&gt;&amp;#9;        &amp;#123;&lt;br /&gt;&amp;#9;            base.Dispose&amp;#40;disposing&amp;#41;&amp;#59;&lt;br /&gt;                disposed &amp;#61; true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, is there a concurrency problem&amp;#63; &lt;br /&gt;&lt;br /&gt;Also Close&amp;#40;&amp;#41; should check the disposed property. Suggested new implementation&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void Close&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;            if &amp;#40;disposed&amp;#41; throw new ObjectDisposedException&amp;#40;GetType&amp;#40;&amp;#41;.FullName&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;Socket.Close&amp;#40;&amp;#41;&amp;#59; &amp;#47;&amp;#47;TODO&amp;#58; Maybe use Disconnect with reuseSocket&amp;#61;true&amp;#63; I tried but it took forever.&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.Close&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;Comments: ** Comment from web user: high ** &lt;p&gt;Ya the disposing pattern is not really followed here. Although cleaning up a socket should probably be part of the unmanaged cleanup either way. Anyways this exception is caused when a socket is disconnected causing an exception before its fully accepted. So the garbage collector ends up getting the socket calling the finalizer. And because the socket is not connected the dispose method throws an exception.&lt;/p&gt;&lt;p&gt;A simple fix would be&lt;/p&gt;&lt;p&gt;try&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;Socket.Disconnect&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;br /&gt;catch &amp;#40;SocketException se&amp;#41;&lt;br /&gt;&amp;#123;&lt;br /&gt;&amp;#9;_logger.Warning&amp;#40;&amp;#34;Exception on disconnecting stream&amp;#34;, se&amp;#41;&amp;#59;&lt;br /&gt;&amp;#125;&lt;/p&gt;&lt;p&gt;Probably the best solution at this point seeing as I don&amp;#39;t think the sockets are properly disposed of in all cases anyways.&lt;/p&gt;</description><author>high</author><pubDate>Thu, 08 Dec 2011 17:04:13 GMT</pubDate><guid isPermaLink="false">Commented Issue: Exception called in ReusableSocketNetworkStream Finalizer [8661] 20111208050413P</guid></item><item><title>Commented Issue: POST Request without Content-Type header gives NullReferenceException [8740]</title><link>http://webserver.codeplex.com/workitem/8740</link><description>a POST request without a Content-Type results in NullReferenceException exception.&lt;br /&gt;&lt;br /&gt;client code&amp;#58;&lt;br /&gt;&lt;br /&gt;    Public Function WebPost&amp;#40;url As String, content As String&amp;#41; As String&lt;br /&gt;        Using wc As New WebClient&amp;#40;&amp;#41;&lt;br /&gt;            wc.Proxy &amp;#61; Nothing&lt;br /&gt;            Return &amp;#40;wc.UploadString&amp;#40;New Uri&amp;#40;url&amp;#41;, &amp;#34;POST&amp;#34;, content&amp;#41;&amp;#41;&lt;br /&gt;        End Using&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;if one adds a Content-Type&amp;#58; e.g.&amp;#58; wc.Headers&amp;#40;&amp;#34;Content-Type&amp;#34;&amp;#41; &amp;#61; &amp;#34;application&amp;#47;mine&amp;#34;&lt;br /&gt;then it works.&lt;br /&gt;&lt;br /&gt;Server Exception Stack Trace&lt;br /&gt;--&lt;br /&gt;System.NullReferenceException&amp;#58; Object reference not set to an instance of an object.&lt;br /&gt;   at HttpServer.BodyDecoders.BodyDecoderCollection.Decode&amp;#40;Stream stream, ContentTypeHeader contentType, Encoding encoding&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;BodyDecoders&amp;#92;BodyDecoderCollection.cs&amp;#58;line 51&lt;br /&gt;   at HttpServer.Server.DecodeBody&amp;#40;IRequest request&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 164&lt;br /&gt;   at HttpServer.Server.HandleRequest&amp;#40;RequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 229&lt;br /&gt;   at HttpServer.Server.OnRequest&amp;#40;Object sender, RequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 302&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the attached patch just adds a check for contentType being null.&lt;br /&gt;Comments: ** Comment from web user: angelblaze ** &lt;p&gt;Forget to mention this is against v2, latest SVN.&lt;/p&gt;</description><author>angelblaze</author><pubDate>Mon, 03 Oct 2011 14:03:36 GMT</pubDate><guid isPermaLink="false">Commented Issue: POST Request without Content-Type header gives NullReferenceException [8740] 20111003020336P</guid></item><item><title>Created Issue: POST Request without Content-Type header gives NullReferenceException [8740]</title><link>http://webserver.codeplex.com/workitem/8740</link><description>a POST request without a Content-Type results in NullReferenceException exception.&lt;br /&gt;&lt;br /&gt;client code&amp;#58;&lt;br /&gt;&lt;br /&gt;    Public Function WebPost&amp;#40;url As String, content As String&amp;#41; As String&lt;br /&gt;        Using wc As New WebClient&amp;#40;&amp;#41;&lt;br /&gt;            wc.Proxy &amp;#61; Nothing&lt;br /&gt;            Return &amp;#40;wc.UploadString&amp;#40;New Uri&amp;#40;url&amp;#41;, &amp;#34;POST&amp;#34;, content&amp;#41;&amp;#41;&lt;br /&gt;        End Using&lt;br /&gt;    End Function&lt;br /&gt;&lt;br /&gt;if one adds a Content-Type&amp;#58; e.g.&amp;#58; wc.Headers&amp;#40;&amp;#34;Content-Type&amp;#34;&amp;#41; &amp;#61; &amp;#34;application&amp;#47;mine&amp;#34;&lt;br /&gt;then it works.&lt;br /&gt;&lt;br /&gt;Server Exception Stack Trace&lt;br /&gt;--&lt;br /&gt;System.NullReferenceException&amp;#58; Object reference not set to an instance of an object.&lt;br /&gt;   at HttpServer.BodyDecoders.BodyDecoderCollection.Decode&amp;#40;Stream stream, ContentTypeHeader contentType, Encoding encoding&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;BodyDecoders&amp;#92;BodyDecoderCollection.cs&amp;#58;line 51&lt;br /&gt;   at HttpServer.Server.DecodeBody&amp;#40;IRequest request&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 164&lt;br /&gt;   at HttpServer.Server.HandleRequest&amp;#40;RequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 229&lt;br /&gt;   at HttpServer.Server.OnRequest&amp;#40;Object sender, RequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;Smart_Elite&amp;#92;webserver.codeplex.com&amp;#92;HttpServer&amp;#92;Server.cs&amp;#58;line 302&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;the attached patch just adds a check for contentType being null.&lt;br /&gt;</description><author>angelblaze</author><pubDate>Mon, 03 Oct 2011 13:59:20 GMT</pubDate><guid isPermaLink="false">Created Issue: POST Request without Content-Type header gives NullReferenceException [8740] 20111003015920P</guid></item><item><title>Created Issue: HttpClientContext leaves sockets open [8663]</title><link>http://webserver.codeplex.com/workitem/8663</link><description>See http&amp;#58;&amp;#47;&amp;#47;webserver.codeplex.com&amp;#47;discussions&amp;#47;255507&lt;br /&gt;&lt;br /&gt;The poster&amp;#39;s suggestion seems like a good idea to implement in code base.&lt;br /&gt;</description><author>krenaud</author><pubDate>Fri, 02 Sep 2011 08:19:19 GMT</pubDate><guid isPermaLink="false">Created Issue: HttpClientContext leaves sockets open [8663] 20110902081919A</guid></item><item><title>Created Issue: Exception called in ReusableSocketNetworkStream Finalizer [8661]</title><link>http://webserver.codeplex.com/workitem/8661</link><description>Using 1.1 Build 54198 I have got the following error reported from a customer&amp;#58;&lt;br /&gt;&lt;br /&gt;System.Net.Sockets.SocketException&amp;#58; A request to send or receive data was disallowed because the socket is not connected and &amp;#40;when sending on a datagram socket using a sendto call&amp;#41; no address was supplied&lt;br /&gt;   at System.Net.Sockets.Socket.Disconnect&amp;#40;Boolean reuseSocket&amp;#41;&lt;br /&gt;   at HttpServer.ReusableSocketNetworkStream.Dispose&amp;#40;Boolean disposing&amp;#41;&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Finalize&amp;#40;&amp;#41;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Looking at ReusableSocketNetworkStream.Dispose&amp;#40;bool&amp;#41; I see that contrary to .Net dispose pattern the socket is disposed regardless of disposing value. Could this be the problem&amp;#63;&lt;br /&gt;&lt;br /&gt;If so the suggested new code would be&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;protected override void Dispose&amp;#40;bool disposing&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;            if &amp;#40;disposed&amp;#41; return&amp;#59;&lt;br /&gt;&lt;br /&gt;&amp;#9;        try&lt;br /&gt;&amp;#9;        &amp;#123;&lt;br /&gt;                if &amp;#40;disposing&amp;#41;&lt;br /&gt;                &amp;#123;&lt;br /&gt;                    if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;                    &amp;#123;&lt;br /&gt;                        try&lt;br /&gt;                        &amp;#123;&lt;br /&gt;                            Socket.Disconnect&amp;#40;true&amp;#41;&amp;#59;&lt;br /&gt;                        &amp;#125;&lt;br /&gt;                        catch &amp;#40;ObjectDisposedException&amp;#41; &amp;#123; &amp;#125;&lt;br /&gt;                    &amp;#125;&lt;br /&gt;                &amp;#125;&lt;br /&gt;&amp;#9;        &amp;#125;&lt;br /&gt;&amp;#9;        finally&lt;br /&gt;&amp;#9;        &amp;#123;&lt;br /&gt;&amp;#9;            base.Dispose&amp;#40;disposing&amp;#41;&amp;#59;&lt;br /&gt;                disposed &amp;#61; true&amp;#59;&lt;br /&gt;            &amp;#125;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Alternatively, is there a concurrency problem&amp;#63; &lt;br /&gt;&lt;br /&gt;Also Close&amp;#40;&amp;#41; should check the disposed property. Suggested new implementation&amp;#58;&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;public override void Close&amp;#40;&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#123;&lt;br /&gt;            if &amp;#40;disposed&amp;#41; throw new ObjectDisposedException&amp;#40;GetType&amp;#40;&amp;#41;.FullName&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;if &amp;#40;Socket &amp;#33;&amp;#61; null &amp;#38;&amp;#38; Socket.Connected&amp;#41;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;&amp;#9;Socket.Close&amp;#40;&amp;#41;&amp;#59; &amp;#47;&amp;#47;TODO&amp;#58; Maybe use Disconnect with reuseSocket&amp;#61;true&amp;#63; I tried but it took forever.&lt;br /&gt;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#9;base.Close&amp;#40;&amp;#41;&amp;#59;&lt;br /&gt;&amp;#9;&amp;#9;&amp;#125;&lt;br /&gt;</description><author>krenaud</author><pubDate>Thu, 01 Sep 2011 14:40:08 GMT</pubDate><guid isPermaLink="false">Created Issue: Exception called in ReusableSocketNetworkStream Finalizer [8661] 20110901024008P</guid></item><item><title>Created Issue: DigestAuthentication.cs need patching [8485]</title><link>http://webserver.codeplex.com/workitem/8485</link><description>From&lt;br /&gt;var parameters &amp;#61; HeaderParameterCollection.Parse&amp;#40;new StringReader&amp;#40;header.Data&amp;#41;&amp;#41;&amp;#59;&lt;br /&gt;To&lt;br /&gt;var parameters &amp;#61; HeaderParameterCollection.Parse&amp;#40;new StringReader&amp;#40;header.Data&amp;#41;, &amp;#39;,&amp;#39;&amp;#41;&amp;#59;&lt;br /&gt;</description><author>juDge</author><pubDate>Fri, 15 Jul 2011 14:54:05 GMT</pubDate><guid isPermaLink="false">Created Issue: DigestAuthentication.cs need patching [8485] 20110715025405P</guid></item><item><title>Created Issue: Socket problems [8473]</title><link>http://webserver.codeplex.com/workitem/8473</link><description>Latest source is used&lt;br /&gt;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;ResponseWriter.SendBody                 Failed to send body through context stream.&lt;br /&gt;System.IO.IOException&amp;#58; Unable to write data to the transport connection&amp;#58; An existing connection was forcibly closed by the remote host. ---&amp;#62; &lt;br /&gt;&lt;br /&gt;System.Net.Sockets.SocketException&amp;#58; An existing connection was forcibly closed by the remote host&lt;br /&gt;   at System.Net.Sockets.Socket.Send&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size, SocketFlags socketFlags&amp;#41;&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size&amp;#41;&lt;br /&gt;   --- End of inner exception stack trace ---&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size&amp;#41;&lt;br /&gt;   at HttpServer.Messages.ResponseWriter.SendBody&amp;#40;IHttpContext context, Stream body&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;ResponseWriter.cs&amp;#58;line 85&lt;br /&gt;HttpParser.Reset                        Resetting..&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&lt;br /&gt;ResponseWriter.Send                     Failed to send data through context stream.&lt;br /&gt;System.ObjectDisposedException&amp;#58; Cannot access a disposed object.&lt;br /&gt;Object name&amp;#58; &amp;#39;HttpServer.Transports.ReusableSocketNetworkStream&amp;#39;.&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size&amp;#41;&lt;br /&gt;   at HttpServer.Messages.ResponseWriter.Send&amp;#40;IHttpContext context, String data, Encoding encoding&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;ResponseWriter.cs&amp;#58;line &lt;br /&gt;&lt;br /&gt;62ResponseWriter.SendBody                 Failed to send body through context stream.&lt;br /&gt;System.ObjectDisposedException&amp;#58; Cannot access a disposed object.&lt;br /&gt;Object name&amp;#58; &amp;#39;HttpServer.Transports.ReusableSocketNetworkStream&amp;#39;.&lt;br /&gt;   at System.Net.Sockets.NetworkStream.Write&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size&amp;#41;&lt;br /&gt;   at HttpServer.Messages.ResponseWriter.SendBody&amp;#40;IHttpContext context, Stream body&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;ResponseWriter.cs&amp;#58;line 85HttpContext.Close              &lt;br /&gt;&lt;br /&gt;         Failed to close context properly.&lt;br /&gt;System.ObjectDisposedException&amp;#58; Cannot access a disposed object.&lt;br /&gt;Object name&amp;#58; &amp;#39;System.Net.Sockets.Socket&amp;#39;.&lt;br /&gt;   at System.Net.Sockets.Socket.Disconnect&amp;#40;Boolean reuseSocket&amp;#41;&lt;br /&gt;   at HttpServer.HttpContext.Close&amp;#40;&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 171HttpListener.OnSocketAccepted           Accepted connection from&amp;#58; 217.174.169.54&amp;#58;51279&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;&lt;br /&gt;HttpContext.OnReceive                   Failed to read from stream&amp;#58; System.ObjectDisposedException&amp;#58; Cannot access a disposed object.&lt;br /&gt;Object name&amp;#58; &amp;#39;HttpServer.Transports.ReusableSocketNetworkStream&amp;#39;.&lt;br /&gt;   at System.Net.Sockets.NetworkStream.BeginRead&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 size, AsyncCallback callback, Object state&amp;#41;&lt;br /&gt;   at HttpServer.HttpContext.OnReceive&amp;#40;IAsyncResult ar&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 240&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;HttpContext.OnReceive                   Failed to read from stream&amp;#58; System.ObjectDisposedException&amp;#58; Cannot access a disposed object.&lt;br /&gt;Object name&amp;#58; &amp;#39;System.Net.Sockets.Socket&amp;#39;.&lt;br /&gt;   at System.Net.Sockets.Socket.get_RemoteEndPoint&amp;#40;&amp;#41;&lt;br /&gt;   at HttpServer.HttpContext.OnRequest&amp;#40;Object sender, FactoryRequestEventArgs e&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 270&lt;br /&gt;   at System.EventHandler&amp;#96;1.Invoke&amp;#40;Object sender, TEventArgs e&amp;#41;&lt;br /&gt;   at HttpServer.Messages.MessageFactoryContext.OnMessageComplete&amp;#40;Object sender, EventArgs e&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;MessageFactoryContext.cs&amp;#58;line 81&lt;br /&gt;   at System.EventHandler.Invoke&amp;#40;Object sender, EventArgs e&amp;#41;&lt;br /&gt;   at HttpServer.Messages.Parser.HttpParser.OnComplete&amp;#40;&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Parser&amp;#92;HttpParser.cs&amp;#58;line 173&lt;br /&gt;   at HttpServer.Messages.Parser.HttpParser.GetBody&amp;#40;&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Parser&amp;#92;HttpParser.cs&amp;#58;line 56&lt;br /&gt;   at HttpServer.Messages.Parser.HttpParser.Parse&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Parser&amp;#92;HttpParser.cs&amp;#58;line 239&lt;br /&gt;   at HttpServer.Messages.MessageFactoryContext.Parse&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 length&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;Messages&amp;#92;MessageFactoryContext.cs&amp;#58;line 108&lt;br /&gt;   at HttpServer.HttpContext.ParseBuffer&amp;#40;Int32 bytesLeft&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 314&lt;br /&gt;   at HttpServer.HttpContext.OnReceive&amp;#40;IAsyncResult ar&amp;#41; in C&amp;#58;&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 229&lt;br /&gt;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&amp;#61;&lt;br /&gt;</description><author>juDge</author><pubDate>Tue, 12 Jul 2011 17:35:11 GMT</pubDate><guid isPermaLink="false">Created Issue: Socket problems [8473] 20110712053511P</guid></item><item><title>Created Issue: RequestCookieCollection throwing Exception (v2.0) [8466]</title><link>http://webserver.codeplex.com/workitem/8466</link><description>I didn&amp;#39;t look at the specs too closely, but I think empty values in cookies are allowed &amp;#40;at least the browser sends them and I get the exception&amp;#41;. So throwing an the exception in RequestCookieCollection.cs &amp;#91;void Add&amp;#40;RequestCookie cookie&amp;#41;&amp;#93; at line 118 if cookie.Value is an empty string is a bad idea.&lt;br /&gt;</description><author>wo80</author><pubDate>Tue, 12 Jul 2011 10:16:43 GMT</pubDate><guid isPermaLink="false">Created Issue: RequestCookieCollection throwing Exception (v2.0) [8466] 20110712101643A</guid></item><item><title>Created Issue: Posting forms throws exception (v2.0) [8413]</title><link>http://webserver.codeplex.com/workitem/8413</link><description>In the latest version of the 2.0 trunk you semm to have introduced a bug. A simple html form like&lt;br /&gt;&lt;br /&gt;&amp;#60;html&amp;#62;&lt;br /&gt;&amp;#60;head&amp;#62;&amp;#60;title&amp;#62;Test&amp;#60;&amp;#47;title&amp;#62;&amp;#60;&amp;#47;head&amp;#62;&lt;br /&gt;&amp;#60;body&amp;#62;&lt;br /&gt;&amp;#60;form method&amp;#61;&amp;#34;post&amp;#34; action&amp;#61;&amp;#34;test.html&amp;#34;&amp;#62;&lt;br /&gt;    &amp;#60;input type&amp;#61;&amp;#34;text&amp;#34; id&amp;#61;&amp;#34;test&amp;#34; name&amp;#61;&amp;#34;test&amp;#34; value&amp;#61;&amp;#34;Test&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;    &amp;#60;input type&amp;#61;&amp;#34;submit&amp;#34; value&amp;#61;&amp;#34;Test&amp;#34; &amp;#47;&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;form&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;body&amp;#62;&lt;br /&gt;&amp;#60;&amp;#47;html&amp;#62;&lt;br /&gt;&lt;br /&gt;produces the following exception&amp;#58;&lt;br /&gt;&lt;br /&gt;500 - Too large body&lt;br /&gt;&lt;br /&gt;HttpServer.HttpException&amp;#58; Too large body&lt;br /&gt;   at HttpServer.Messages.Request.set_ContentLength&amp;#40;NumericHeader value&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Request.cs&amp;#58;line 245&lt;br /&gt;   at HttpServer.Messages.Request.Add&amp;#40;String name, IHeader value&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Request.cs&amp;#58;line 188&lt;br /&gt;   at HttpServer.Messages.MessageFactoryContext.OnHeader&amp;#40;Object sender, HeaderEventArgs e&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;MessageFactoryContext.cs&amp;#58;line 69&lt;br /&gt;   at System.EventHandler&amp;#96;1.Invoke&amp;#40;Object sender, TEventArgs e&amp;#41;&lt;br /&gt;   at HttpServer.Messages.Parser.HttpParser.OnHeader&amp;#40;String name, String value&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Parser&amp;#92;HttpParser.cs&amp;#58;line 223&lt;br /&gt;   at HttpServer.Messages.Parser.HttpParser.GetHeaderValue&amp;#40;&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Parser&amp;#92;HttpParser.cs&amp;#58;line 147&lt;br /&gt;   at HttpServer.Messages.Parser.HttpParser.Parse&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 count&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;Parser&amp;#92;HttpParser.cs&amp;#58;line 239&lt;br /&gt;   at HttpServer.Messages.MessageFactoryContext.Parse&amp;#40;Byte&amp;#91;&amp;#93; buffer, Int32 offset, Int32 length&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;Messages&amp;#92;MessageFactoryContext.cs&amp;#58;line 108&lt;br /&gt;   at HttpServer.HttpContext.ParseBuffer&amp;#40;Int32 bytesLeft&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 315&lt;br /&gt;   at HttpServer.HttpContext.OnReceive&amp;#40;IAsyncResult ar&amp;#41; in D&amp;#58;&amp;#92;Projekte&amp;#92;Visual Studio&amp;#92;OmegaHTTPd&amp;#92;HttpServer&amp;#92;HttpContext.cs&amp;#58;line 230&lt;br /&gt;</description><author>wo80</author><pubDate>Fri, 01 Jul 2011 13:53:25 GMT</pubDate><guid isPermaLink="false">Created Issue: Posting forms throws exception (v2.0) [8413] 20110701015325P</guid></item></channel></rss>