Hello,

Firefox version: "Gecko/2008102920 Firefox/3.0.4"
I am accessing embedded web-server that is running on one of our
network equipment through firefox.
Once in a while (very rarely) i get "Connection Interrupted" error
message.

I am trying to investigate this further to check if there is any
problem with our embedded web-server (i mean, server side code).

Can you please let me know if there is any provision available to
collect firefox's code logs (at runtime)?
I mean, how can i collect logs from below code part (from firefox's
sources):
//-----------------------------------------------------------------------------
// nsHttpTransaction
//-----------------------------------------------------------------------------
nsresult
nsHttpTransaction::Restart()
{
NS_ASSERTION(PR_GetCurrentThread() == gSocketThread, "wrong
thread");

// limit the number of restart attempts - bug 92224
if (++mRestartCount >= gHttpHandler->MaxRequestAttempts()) {
LOG(("reached max request attempts, failing transaction @%x
\n", this));
return NS_ERROR_NET_RESET;
}

LOG(("restarting transaction @%x\n", this));

// rewind streams in case we already wrote out the request
nsCOMPtr seekable = do_QueryInterface
(mRequestStream);
if (seekable)
seekable->Seek(nsISeekableStream::NS_SEEK_SET, 0);

// clear old connection state...
mSecurityInfo = 0;
NS_IF_RELEASE(mConnection);

// disable pipelining for the next attempt in case pipelining
caused the
// reset. this is being overly cautious since we don't know if
pipelining
// was the problem here.
mCaps &= ~NS_HTTP_ALLOW_PIPELINING;

return gHttpHandler->InitiateTransaction(this, mPriority);
}

Thanks,
Venkat