if (item != null)
return item.Result;
- CompilerParameters options = GetOptions (compiler.Parser.Assemblies);
- options.IncludeDebugInformation = compiler.Parser.Debug;
+ SimpleWebHandlerParser parser = compiler.Parser;
+ CompilerParameters options = GetOptions (parser.Assemblies);
+ options.IncludeDebugInformation = parser.Debug;
results = compiler.Compiler.CompileAssemblyFromFile (options, file);
- cache [key] = new CompilationCacheItem (results, compiler.Parser.Dependencies);
+ cache [key] = new CompilationCacheItem (results, parser.Dependencies);
}
return results;
+2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * SimpleWebHandlerParser.cs: add the ashx/asmx file itself to the
+ dependencies so that it's recompiled when changed.
+
2003-09-18 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* LosFormatter.cs: fixed Deserialize for empty viewstate.
this.context = context;
this.vPath = virtualPath;
this.physPath = physicalPath;
+ AddDependency (physicalPath);
assemblies = new ArrayList ();
assemblies.Add ("System.dll");
+2003-09-21 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * HttpRequest.cs: small fix needed when reading big POST data.
+
2003-09-04 Lluis Sanchez Gual <lluis@ximian.com>
* HttpRequest.cs: Url property: use GetLocalAddress() to get the address
ms.Write (arrBuffer, 0, read);\r
}\r
\r
- _arrRawContent = ms.GetBuffer ();\r
+ byte [] msBuffer = ms.GetBuffer ();
+ if (msBuffer.Length == length)
+ _arrRawContent = msBuffer;
+ else
+ _arrRawContent = ms.ToArray ();
+
return _arrRawContent;\r
}\r
\r