I'm running fastcgi-mono-server4.exe on my hosted server, (I can't run xsp
directly and they don't have mod_mono installed) and pretty much everything
is working just great.
The only problem I'm seeing is when, after a short duration of inactivity,
my fastcgi process is stopped. when it's
Rico also discusses this in his blog:
http://blogs.msdn.com/ricom/archive/2003/12/02/40780.aspx.
Piers.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jonathan Pryor
Sent: Monday, May 03, 2004 2:42 PM
To: Marcus
Cc: [EMAIL PROTECTED]
Subject: Re:
Thread.Abort () is what you're looking for.
Alternatively you can switch to using asynchronous IO if you're interested
in exploring a whole new world of weird and wonderful debugging scenarios.
Piers.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
PS. to use unix sockets just create/bind as per Gonzalo's example.
Piers.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Piers Haken
Sent: Tuesday, March 02, 2004 5:01 PM
To: 'Shaun ONeil'; [EMAIL PROTECTED]
Subject: RE: [Mono-list] Newbie seeks clear
Here's a simple example of accepting and reading asynchronously from a
socket. It's off the top of my head, so don't expect it to compile/work, but
you should get the general idea...
Piers.
Socket _sock;
void StartListening (int nPort)
{
_sock = new Socket (AddressFamily.InterNetwork,
I'm not sure why you're checking for specific lengths of bytes returned at
all.
This is what I use:
string Read (Stream stream)
{
StringBuilder sb = new StringBuilder ();
byte [] rgb = new byte [8 * 1024];
int cbRead;
while ((cbRead = stream.Read (rgb, 0,
For simple expressions you can use XPath:
XPathNavigator nav = new XmlDocument ().CreateNavigator ();
Console.WriteLine (nav.Evaluate ((7-1) div 2).ToString ());
Beyond that, you'll either need to write your own expression evaluator, or
build/load dynamic assemblies.
Here's a couple of
Is --with-gc=included supported on cygwin? I'm getting lots of 'unreferenced
pthread_mutex_lock'...
Piers.
attachment: winmail.dat
,
shame. Maybe I'll look into adding a --host=mingw target...
Piers.
_
From: Todd Berman [mailto:[EMAIL PROTECTED]
Sent: Monday, November 24, 2003 4:30 PM
To: 'Piers Haken'; [EMAIL PROTECTED]
Subject: RE: [Mono-list] Ligc on cygwin
: Wednesday, November 05, 2003 10:46 PM
To: [EMAIL PROTECTED]
Subject: RE: [Mono-list] ASP.NET default language -- VB
El jue, 06-11-2003 a las 05:35, Piers Haken escribió:
Our C# compiler is far more stable than our VB.NET compiler.
That's the reason.
-Gonzalo
But surely
Our C# compiler is far more stable than our VB.NET compiler.
That's the reason.
-Gonzalo
But surely this is a compatibility issue, not a stability issue.
When users switch between mono and .NET, _ALL_ .aspx pages without the @Page
directive are going to break (until this default is
El dom, 17-08-2003 a las 20:59, Piers Haken escribió:
Yeah, it looks like it can parse the date part fine, it's
just needs
to do a ToLocalTime() on the result.
The patch is in CVS.
I changed it to use ParseExact with the r format (RFC1123).
Thanks!
-Gonzalo
I'm not sure if this is new, but when an IHttpHandler.ProcessRequest
method throws an exception like this:
throw new HttpException (401, Forbidden);
the server isn't returning the correct code/message.
Also, it seems that setting context.Response.StatusCode has no effect.
Piers.
attached is a small patch to StaticFileHandler that makes use of the
if-modified-since/last-modified http headers.
Piers.
modified.patch
Description: modified.patch
Try doing a 'make install' in corlib first.
Piers.
-Original Message-
From: Giuseppe Greco [mailto:[EMAIL PROTECTED]
Sent: Friday, August 15, 2003 3:20 PM
To: Mono
Subject: [Mono-list] Compiling mcs
Hi all,
I've checked out the latest version of mcs from CVS, and
when
I should clarify this. The tree doesn't work in IE, and I think it's
this line that's the culprit. All the URLs are being expanded as
http://./...;
Piers.
-Original Message-
From: Piers Haken
Sent: Saturday, August 09, 2003 11:09 PM
To: Miguel de Icaza; Mono Docs; [EMAIL PROTECTED
);
+ context.Response.Write (tree.add
(node);\n);
}
context.Response.Write (@
document.write(tree);
Piers.
-Original Message-
From: Piers Haken
Sent: Sunday, August 10, 2003 3:32 PM
To: Miguel de Icaza
Cc: Mono
To: Piers Haken
Cc: Mono Docs; [EMAIL PROTECTED]
Subject: RE: [Mono-list] Live Monodoc server.
Hello!
I should clarify this. The tree doesn't work in IE, and I
think it's
this line that's the culprit. All the URLs are being expanded as
http://./...;
Yeah, but if I make this change
I think you need to remove the line
base href='.' target='content' /
from the left frame.
Piers.
-Original Message-
From: Miguel de Icaza [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 09, 2003 8:24 PM
To: Mono Docs; [EMAIL PROTECTED]
Subject: [Mono-list] Live
Can anyone explain the following output from XSP?
SendUnknownResponseHeader (Content-Encoding, gzip)
HeadersSent() - False
SendUnknownResponseHeader (Connection, Close)
SendUnknownResponseHeader (X-Powered-By, Mono)
SendUnknownResponseHeader (Date, Mon, 11 Aug 2003 17:30:27 GMT)
HeadersSent() -
-list] XSP broken?
El mi? 13-08-2003 a las 18:17, Piers Haken escribió:
I can't get XSP to run the monodoc .ashx handler any more, it just
sends the .ashx file as text. I have current CVS of
everything as of
about an hour ago.
You need the .ashx handler in machine.config file
: Piers Haken
Sent: Monday, August 11, 2003 11:56 AM
To: Gonzalo Paniagua Javier; [EMAIL PROTECTED]
Subject: RE: [Mono-list] XSP error
Yup, it's with current CVS of everything running monodoc on
XSP with the following URL:
http://my-machine:8080/monodoc.ashx?tree=2
Piers
[])
Piers.
-Original Message-
From: Gonzalo Paniagua Javier [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 1:54 PM
To: [EMAIL PROTECTED]
Subject: RE: [Mono-list] XSP broken?
El jue, 14-08-2003 a las 18:07, Piers Haken escribió:
I think the problem
This is true for 1.0, but in 1.1 they fixed this bug, now it does
precisely nothing.
The MSDN docs are wrong, I've sent them a bug report.
Piers.
-Original Message-
From: Tom Cabanski [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 14, 2003 10:17 AM
To: Piers Haken; [EMAIL
);
+ context.Response.Write (tree.add
(node);\n);
}
context.Response.Write (@
document.write(tree);
Piers.
-Original Message-
From: Piers Haken
Sent: Sunday, August 10, 2003 3:32 PM
To: Miguel de Icaza
Cc: Mono
I should clarify this. The tree doesn't work in IE, and I think it's
this line that's the culprit. All the URLs are being expanded as
http://./...;
Piers.
-Original Message-
From: Piers Haken
Sent: Saturday, August 09, 2003 11:09 PM
To: Miguel de Icaza; Mono Docs; [EMAIL PROTECTED
I think you need to remove the line
base href='.' target='content' /
from the left frame.
Piers.
-Original Message-
From: Miguel de Icaza [mailto:[EMAIL PROTECTED]
Sent: Saturday, August 09, 2003 8:24 PM
To: Mono Docs; [EMAIL PROTECTED]
Subject: [Mono-list] Live
]
Subject: Re: [Mono-list] XSP error
El lun, 11-08-2003 a las 19:41, Piers Haken escribió:
Can anyone explain the following output from XSP?
SendUnknownResponseHeader (Content-Encoding, gzip)
HeadersSent() - False
SendUnknownResponseHeader (Connection, Close
My earlier patch should solve the URL basing problem, however the alert
dialog is appearing because msxml is failing to load the XML document
correctly.
If you can tell me how to set up XSP to run the monodoc stuff then I'll
take a look.
Piers.
-Original Message-
From: Miguel de Icaza
I've checked a new transform.cs and changes to the makefile that support
running the transforms on linux. However, there are still problems with
running corcompare on mono.
Piers.
-Original Message-
From: Miguel de Icaza [mailto:[EMAIL PROTECTED]
Sent: Saturday, June 21, 2003 4:37 AM
Monodis shows the following signature for mono-generated .cctors:
.method compilercontrolled static specialname rtspecialname
default void .cctor() cil managed
Whereas .NET-generated .cctors have the following sig:
.method private static hidebysig specialname
-Original Message-
From: Ben Maurer [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18, 2003 4:24 PM
To: Piers Haken
Cc: Paolo Molaro; [EMAIL PROTECTED]
Subject: RE: [Mono-list] How often is the class status page updated?
snip/
Besides: your assumption that the HTML is smaller
-Original Message-
From: Ben Maurer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 8:10 AM
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] How often is the class status page updated?
(right now we use a table heavy design, I am trying to fix that)
Eh? The current design
-Original Message-
From: Ben Maurer [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 19, 2003 1:44 PM
To: Piers Haken
Cc: Paolo Molaro; [EMAIL PROTECTED]
Subject: RE: [Mono-list] How often is the class status page updated?
method name=get_Level() error=warning
Why on earth would you want to dynamically generate the status pages on
the server? Are you expecting something to change in the assmeblies
between page loads? The only time it makes sense to update the pages is
after you've built the assemblies.
Besides: your assumption that the HTML is smaller
You need to rewrite the tool just to put it put it in a cron job?
Seems a bit drastic to me.
I'd say a better solution would be to fix reflection in the runtime so
it'll run on mono.
Piers.
-Original Message-
From: Paolo Molaro [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 18,
-Original Message-
From: Stefan Matthias Aust [mailto:[EMAIL PROTECTED]
Sent: Saturday, March 29, 2003 4:38 AM
To: [EMAIL PROTECTED]
Subject: Re: [Mono-list] Mono quotes from a Sun evangelist
snip/
My preference would be to have something like servlets as I
really like
this
The best book I have seen on the .NET runtime is Applied Microsoft .NET
Framework Programming by Jeffrey Richter.
http://www.amazon.com/exec/obidos/ASIN/0735614229/qid=1048186879/sr=2-1/
ref=sr_2_1/002-7268009-8165665
Its focus is more on the workings of the runtime than the C# language.
Piers.
-Original Message-
From: Thong Nguyen [mailto:[EMAIL PROTECTED]
Sent: Thursday, March 20, 2003 12:14 PM
To: [EMAIL PROTECTED]
Subject: [Mono-list] Exceptions and error codes.
Hiya guys,
I recently read some recommendations on the GTK# mailing list
regarding the use of
Ouch, good catch Atsushi!
Yeah, it seems that SelectNodes always returns the nodes in document
order, and SelectSingleNode just returns the first of these. Ugh.
Can you add a bug to the database so we can track this, it's not going
to be a simple fix, I'm afraid...
Piers.
-Original
unless something fundamental in the runtime has change recently, i don't
think it's so easy a fix. the problem being that you cannot reflect on a
corlib other than the one being used for execution. a while ago i
suggested adding support for Assembly.Load()ing multiple corlibs, but it
got turned
Title: RE: [Mono-list] someone, please clear out that patents issue
I agree. I'm sure that some of the developers and architechts of .NET at Microsoft feel some pride that their work is followed. Not least by a group so well lead a this. Ximian has shown extreme maturity in adopting a
now ;-)
Piers.
-Original Message-
From: Nick Drochak [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, February 04, 2003 5:26 AM
To: [EMAIL PROTECTED]
Cc: Piers Haken
Subject: System.XML.Xpath
Piers,
Your recent patch for Xpath (Parser.cs and Parser.jay) has
Title: Mono warnings
Attached is a patch that fixes most of the remaining compiler warnings for the mono build on linux.
One of the warnings I didn't fix is:
object.c: In function `mono_class_vtable':
object.c:223: warning: assignment makes integer from pointer without a cast
I
-Original Message-From: Daniel Morgan
[mailto:[EMAIL PROTECTED]]Sent: Monday, January 27, 2003 5:33
AMTo: Piers Haken; Mono-ListSubject: RE: [Mono-list]
Automatic Binding of Variables to Parameters in ADO.NET
Maybe that's what we need then - for someone to start working on the
Title: RE: [Mono-list] RE: [Mono] MySQL Managed Provider
I would consider NOT prefixing the types with 'My' since they're already in a separate namespace and porting user code from one provider to another will be much simpler if most of the type names remain the same.
Piers.
46 matches
Mail list logo