Feb 2, 2012 at 4:02 PM
Edited Feb 3, 2012 at 8:52 AM
I am using the CassiniDev.Lib4 DLL and recognized that the server stops responding after a certain amount of time.
Looking at the code in CassiniServer.cs I could see that a timeout of 60 seconds is set:
_server = new Server(port, virtualPath, applicationPath, ipAddress, hostname, 60000);
How can I avoid any timeout of the server? And why is there a timeout?
Looking forward to your hints!
EDIT: Fiddler tells me: HTTP/1.1 502 Fiddler - Connection Failed Content-Type: text/html; charset=UTF-8 Connection: close Timestamp: 09:18:38.367 The socket connection to localhost failed. Es konnte keine Verbindung hergestellt werden, da der Zielcomputer
die Verbindung verweigerte 127.0.0.1:1278
EDIT 2: I'm not sure anymore, that it has to do with an implemented timeout, because I kept time and can't recognize a 60 seconds time window. Sometimes the server didn't respond after 40 seconds after the last click. Or could it be, that a cached website
was loaded and the last click didn't trigger a request?