@@ -1,3 +1,8 @@
+2004-01-11 Jackson Harper <[email protected]>
+
+ * HttpRequest.cs: Add property for determining if the request is
+ local or not.
2004-01-10 Jackson Harper <[email protected]>
* TraceContext.cs: Handle tracing when it is enabled in the config
@@ -1015,8 +1015,14 @@ namespace System.Web {
return baseVirtualDir;
}
- }
-
+ }
+ internal bool IsLocal {
+ get {
+ return _WorkerRequest.GetLocalAddress () == "127.0.0.1";
public byte [] BinaryRead(int count) {
int iSize = TotalBytes;
if (iSize == 0) {