Re: [Zope-dev] makerequest issues

2006-04-01 Thread Stefan H. Holek
I don't think makerequest is intended for wrapping anything but the  
root application object. Putting the RequestContainer on arbitrary  
objects doesn't feel right and certainly isn't how Zope does it, i.e.  
you get a test fixture that doesn't reflect "reality".


NotABug/WontFix ;-)

Stefan


On 31. Mär 2006, at 19:31, Paul Winkler wrote:


2) re. the bug which I just posted at
http://www.zope.org/Collectors/Zope/2057
the issue is that if you have something that inherits
Traversable, and wrap it with makerequest(), its
getPhysicalPath() method is broken, because getPhysicalPath()
tries to call getPhysicalPath() on all non-None aq_parents,
and an HTTPRequest isn't Traversable.


--
Anything that happens, happens.  --Douglas Adams


___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] TCP CLOSE_WAIT leaks

2006-04-01 Thread Dieter Maurer
Alan Milligan wrote at 2006-3-28 10:44 +1000:
> ...
>>>It seems something's not properly clearing down the connection to
>>>release the thread.
> ...
>As these threads have not completed, there's no access log entry, and
>the other socket terminal has obviously closed, meaning I can't chase
>the issue down from the other end either.

A missing "clearing down" of the client's connection cannot be the 
cause for this. The (worker) thread must finish (and you
should see a log entry) long before this connection is expected to
be closed. The problem you observe seems to indicate a problem
inside your request processing. Activating the "debuglogger"
(or similarly spelled) can prove whether or not this assumption
is correct.

-- 
Dieter
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )