Bugs item #449744, was opened at 2001-08-10 02:02
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=449744&group_id=3152

Category: Architecture: Server (nsd)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Jerry Asher (jerryasher)
Assigned to: Nobody/Anonymous (nobody)
Summary: conn driver freeproc never called

Initial Comment:
Communications drivers can have an Ns_ConnFreeProc.

Although it is not quite clear what this procedure
does, the legacy nsunix code choose to use it to free
various buffers, specifically, the conn input buffer.

But no one ever calls these freeing procedures.

My suggestion: define a routine similar to
conn.c/Ns_ConnClose (called Ns_ConnFree...) that calls
connPtr->drvPtr->freeProc (if it's not null).

Where to call it though?  I am not certain.

I chose to call it in in serv.c/ConnRun, as the second
to last statement, right after NsRunCleanups and right
before the dstring is freed.

Is this the right place?

----------------------------------------------------------------------

You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=103152&aid=449744&group_id=3152

Reply via email to