ns_conn close doesn't clean up the SSL part of the connection so it's
possible these errors are generated after ns_conn close, which might
leave the channel in existence but in an unknown state. reading/writing
to the channel after ns_conn close would mean bytes reach the channel
but the channel doesn't have anywhere to send them. I've added this to
my todo list.

/s.


On Monday, September 29, 2003, at 02:16 PM, Jeff Hobbs wrote:


On Mon, Sep 29, 2003 at 10:05:36AM -0700, Jeff Hobbs wrote:
It would be interesting to know if it does go away, but note that the
"Unknown error 635" is being returned directly by the system error
function 'strerror' from some error that occured while reading on the
pipe.

Any idea where I'd find the code that's actually issuing the "635" error?

Interestingly, if I use ns_httpsget to fetch an AOLserver
page which simply does "ns_conn close", I seem to get some
semi-random very large integer error code, e.g.:

  error reading "openssl6": Unknown error 1105130496
  error reading "openssl6": Unknown error 1157638968
  error reading "openssl6": Unknown error 1157639048

which seems odd...

Something is either set in the channel's statePtr, or DoReadChars is returning an error. You can hunt this down more in Tcl_ReadChars in tclIO.c. There are several possible causes. Perhaps if you looked at $::errorCode at that error point, you might get more info. It may be though that whatever is controlling the ssl stuff (if this is done as a layered transform on the channel) is incorrectly setting the error value.

  Jeff Hobbs                     The Tcl Guy
  Senior Developer               http://www.ActiveState.com/
        Tcl Support and Productivity Solutions


-- AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to
<[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the
Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to