Darin, thank you for helping me through this problem. I have not solved it
yet, however, I am making headway. After I make the
nsHTTPServerListener::OnStartRequestEvent, I end up at the
nsSocketTransport::doRead(). The call to mReadPipeOut->WriteSegments
returns
NS_BASE_STREAM_WOULD_BLOCK and I unwind the stack until I get to the
nsSocketTransportService::Run where I hang on the
PR_Poll(mSelectFDSet,.... method.
Could you take a look at a segment of my log file. My log file contains log
entries for nsSocketTransport as well as nsHTTPProtocol.
1588[4da690]: nsHTTPServerListener::OnStartRequest [this=c862d8].
1232[c92a00]: +++ Entering nsSocketTransport::doRead()
[galaxy.neoplanet.com:443 c4c898]. aSelectFlags = 0.
1232[c92a00]: nsReadFromSocket [fd=c5d490]. rv = 80470007. Buffer space =
2048. Bytes read =0
1232[c92a00]: WriteSegments [fd=c5d490]. rv = 80470007. Bytes read =0
1232[c92a00]: --- Leaving nsSocketTransport::doRead()
[galaxy.neoplanet.com:443 c4c898]. rv = 80470007. Total bytes read: 0
1232[c92a00]: --- Leaving nsSocketTransport::Process()
[galaxy.neoplanet.com:443 c4c898]. mStatus = 80470007. CurrentState = 5
1232[c92a00]: nsSocketTransport::CheckForTimeout() [galaxy.neoplanet.com:443
c4c898]. TIMED OUT... Idle interval: 7830336
1232[c92a00]: +++ Entering nsSocketTransport::Process()
[galaxy.neoplanet.com:443 c4c898]. aSelectFlags = 0. CurrentState = 7
1232[c92a00]: Transport [galaxy.neoplanet.com:443 c4c898] is in error state.
1232[c92a00]: Transport [galaxy.neoplanet.com:443 c4c898] is in done state.
--------------Here is a segment from my PSM log as well.-----------------
[13:19:44.985] ssl data cc39f0: data: <GET /development/index.html HTTP/1.1
Authorization: Basic bmVvcGxhbmV0Om5lb2RhdGE=
Host: galaxy.neoplanet.com
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; m18)
Accept: */*
Accept-Encoding: gzip,deflate,compress,identity
Keep-Alive: 300
Connection: keep-alive >
Send the data to the target.
[13:19:45.055] ssl data cc39f0: checking server cert.
[13:19:45.115] ssl data cc39f0: Got a bad server cert: error -8156 (Issuer
certificate is invalid.).
[13:19:45.145] ssl data cc39f0: Generated URL
http://3:[EMAIL PROTECTED]:2040/get?baseRef=bad_server_cert_un
known_issuer1&target=4
[13:19:45.145] ssl data cc39f0: Requesting string
<bad_server_cert_unknown_issuer1_width> from the text database.
[13:19:45.145] ssl data cc39f0: Requesting string
<bad_server_cert_unknown_issuer1_height> from the text database.
[13:19:45.145] ssl data cc39f0: SendQMessage on b47378: prio 0, type
40001000, len 124
[13:19:45.175] ctrl write b459d8: RecvQMessage on b47378: type 40001000, len
124
[13:19:45.185] ctrl write b459d8: got message for client
(type=40001000,len=124).
[13:19:45.205] ctrl write b459d8: RecvQMessage on b47378: blocking read at
prio -1
[13:22:04.656] ctrl frontend b459d8: reading 4 more from socket.
[13:22:04.656] ctrl frontend b459d8: SSMControlConnection_ProcessMessage
called.
[13:22:04.656] ctrl frontend b459d8: Got a resource-related request.
[13:22:04.746] ctrl frontend b459d8: Got an PickleSecurityStatus request.
[13:22:04.746] ctrl frontend b459d8: Rsrc ID 4.
[13:22:04.746] ctrl frontend b459d8: Get ref - rsrcid: 4 ++refcnt: 3
[13:22:04.746] ctrl frontend b459d8: Oops, the security status has not been
updated. Waiting...
[13:22:05.768] ctrl frontend b459d8: No socket status on dead socket.
In addition, I wasn't sure what you meant by the following comment...
"Darin Fisher" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> This sounds like the correct thing to do as an embedder.
Does the log above reveal that I am in deed having communication problems?
> What is the exact time out message? My guess would be
> that you are having some sort of trouble talking to psm.