<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/cherrypy-devel</id>
  <title type="text">cherrypy-devel Google Group</title>
  <subtitle type="text">
  Discussions regarding the development of CherryPy
  </subtitle>
  <link href="/group/cherrypy-devel/feed/atom_v1_0_msgs.xml" rel="self" title="cherrypy-devel feed"/>
  <updated>2008-10-08T19:50:13Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Ken</name>
  <email>kkin...@gmail.com</email>
  </author>
  <updated>2008-10-08T19:50:13Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/5c02051b151bc916/a142ae1a6ddff075?show_docid=a142ae1a6ddff075</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/5c02051b151bc916/a142ae1a6ddff075?show_docid=a142ae1a6ddff075"/>
  <title type="text">Re: Session deadlocking</title>
  <summary type="html" xml:space="preserve">
  I mean freezing, not deadlocking.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Ken</name>
  <email>kkin...@gmail.com</email>
  </author>
  <updated>2008-10-02T22:40:14Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/5c02051b151bc916/4c04ca896637c74e?show_docid=4c04ca896637c74e</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/5c02051b151bc916/4c04ca896637c74e?show_docid=4c04ca896637c74e"/>
  <title type="text">Session deadlocking</title>
  <summary type="html" xml:space="preserve">
  If the CherryPy process does not have access to the file-based session &lt;br&gt; dir you&#39;re using, or for whatever reason it gets an OSError when &lt;br&gt; trying to write a lockfile, this code deadlocks: &lt;br&gt; &lt;p&gt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.cherrypy.org/browser/trunk/cherrypy/lib/sessions.py#L354&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;In particular, the &amp;quot;except OSError: time.sleep()&amp;quot; thing. At a minimum,
  </summary>
  </entry>
  <entry>
  <author>
  <name>Stefan J. Betz</name>
  <email>stefan_b...@gmx.net</email>
  </author>
  <updated>2008-09-27T05:59:49Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/a90df947a0d29535/714254c57bd0a71f?show_docid=714254c57bd0a71f</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/a90df947a0d29535/714254c57bd0a71f?show_docid=714254c57bd0a71f"/>
  <title type="text">Re: [cherrypy-devel] Re: Small &quot;fix&quot; for ez_install.py</title>
  <summary type="html" xml:space="preserve">
  Am 2008-09-26 22:43:22 -0700, Robert Brewer schrieb: &lt;br&gt; Take a Look at: &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://groups.google.com/group/cherrypy-devel/files&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; The Patch has the name &amp;quot;ez_setup.diff.gz&amp;quot;. &lt;br&gt; mfg Betz Stefan
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Brewer</name>
  <email>fuman...@aminus.org</email>
  </author>
  <updated>2008-09-27T05:43:22Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/a90df947a0d29535/434cc4ce4f5c62ed?show_docid=434cc4ce4f5c62ed</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/a90df947a0d29535/434cc4ce4f5c62ed?show_docid=434cc4ce4f5c62ed"/>
  <title type="text">RE: [cherrypy-devel] Small &quot;fix&quot; for ez_install.py</title>
  <summary type="html" xml:space="preserve">
  Er, you have? I don&#39;t see any attachment. &lt;br&gt; Robert Brewer &lt;br&gt; fuman...@aminus.org
  </summary>
  </entry>
  <entry>
  <author>
  <name>encbladexp</name>
  <email>stefan_b...@gmx.net</email>
  </author>
  <updated>2008-09-21T20:16:12Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/a90df947a0d29535/98f5f1abbb817035?show_docid=98f5f1abbb817035</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/a90df947a0d29535/98f5f1abbb817035?show_docid=98f5f1abbb817035"/>
  <title type="text">Small &quot;fix&quot; for ez_install.py</title>
  <summary type="html" xml:space="preserve">
  Greetings, &lt;br&gt; &lt;p&gt;i have Attached a Small &amp;quot;fix&amp;quot; for ez_install.py, because it is so &lt;br&gt; small i think there is no Problem for a SVN check in :-D &lt;br&gt; &lt;p&gt;Betz Stefan
  </summary>
  </entry>
  <entry>
  <author>
  <name>Nicolas Grilly</name>
  <email>ngri...@gmail.com</email>
  </author>
  <updated>2008-09-18T18:48:49Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/5647e0d2506cfe88/4cae130a16db1597?show_docid=4cae130a16db1597</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/5647e0d2506cfe88/4cae130a16db1597?show_docid=4cae130a16db1597"/>
  <title type="text">Prevent open sockets from being inherited by child processes</title>
  <summary type="html" xml:space="preserve">
  Hello everybody, &lt;br&gt; &lt;p&gt;Have you seen the patch I submitted some days ago, attached to ticket &lt;br&gt; &lt;p&gt;--&amp;gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.cherrypy.org/ticket/856&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; &lt;p&gt;It&#39;s about preventing open sockets from being inherited by child &lt;br&gt; processes. &lt;br&gt; &lt;p&gt;Do you think it can be useful and committed to the trunk? &lt;br&gt; &lt;p&gt;Cheers, &lt;br&gt; &lt;p&gt;Nicolas Grilly
  </summary>
  </entry>
  <entry>
  <author>
  <name>Lakin Wecker</name>
  <email>lakin.wec...@gmail.com</email>
  </author>
  <updated>2008-09-17T21:10:19Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/aa91670b6f32bd10/4b233065cd2db10a?show_docid=4b233065cd2db10a</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/aa91670b6f32bd10/4b233065cd2db10a?show_docid=4b233065cd2db10a"/>
  <title type="text">Re: [cherrypy-devel] Re: Linking C++ API with CherryPy</title>
  <summary type="html" xml:space="preserve">
  Silvain is right. You need to make a Python binding for your C++ module. &lt;br&gt; I&#39;ve had good experiences using py++ to do this. &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://www.language-binding.net/pyplusplus/pyplusplus.html&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; Lakin
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sylvain Hellegouarch</name>
  <email>s...@defuze.org</email>
  </author>
  <updated>2008-09-17T12:08:14Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/aa91670b6f32bd10/099bcf66592c8e9c?show_docid=099bcf66592c8e9c</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/aa91670b6f32bd10/099bcf66592c8e9c?show_docid=099bcf66592c8e9c"/>
  <title type="text">Re: [cherrypy-devel] Linking C++ API with CherryPy</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; CherryPy doesn&#39;t actually care about it. Just create a Python binding to &lt;br&gt; your C++ code (using sip, SWIG, boost, etc.) and import that binding &lt;br&gt; inside CherryPy. &lt;br&gt; The only aspect you have to be careful of is thread safety. CherryPy &lt;br&gt; heavily uses threads so depending on what your library does it may be a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Venkatesh</name>
  <email>rvad...@gmail.com</email>
  </author>
  <updated>2008-09-17T11:54:29Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/aa91670b6f32bd10/0ad52e91e77db7db?show_docid=0ad52e91e77db7db</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/aa91670b6f32bd10/0ad52e91e77db7db?show_docid=0ad52e91e77db7db"/>
  <title type="text">Linking C++ API with CherryPy</title>
  <summary type="html" xml:space="preserve">
  Dear All, &lt;br&gt; I have a requirement in my project, where I need to some home-grown C+ &lt;br&gt; + source code from CherryPy framework. I would like to know whether &lt;br&gt; the cherrypy framework does support for C++ code integration. If it &lt;br&gt; does supports for C++ code integration, I would like to know how it &lt;br&gt; could be done. Could anyone please throw somelight on this problem?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Mr. Green</name>
  <email>amigr...@gmail.com</email>
  </author>
  <updated>2008-08-31T00:28:27Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/7661e583d0cf57d5?show_docid=7661e583d0cf57d5</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/7661e583d0cf57d5?show_docid=7661e583d0cf57d5"/>
  <title type="text">Re: [cherrypy-devel] Re: HTTP Thread Usage Saturation with Persistent Connections</title>
  <summary type="html" xml:space="preserve">
  the conn. So there &lt;br&gt; I tried adding this to send_headers(): &lt;br&gt; if self.environ.get(&amp;quot;HTTP_CONNECT ION&amp;quot;, &amp;quot;&amp;quot;) == &amp;quot;close&amp;quot;: &lt;br&gt; self.close_connection = True &lt;br&gt; If we add the change after this one, then #2 isn&#39;t needed as queue size will &lt;br&gt; always be greater than -1 in this case. &lt;br&gt; self.requests.idle - 2) &lt;br&gt; And I added this inside tick():
  </summary>
  </entry>
  <entry>
  <author>
  <name>Robert Brewer</name>
  <email>fuman...@aminus.org</email>
  </author>
  <updated>2008-08-30T19:54:35Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/628b2f0a00b0edbd?show_docid=628b2f0a00b0edbd</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/628b2f0a00b0edbd?show_docid=628b2f0a00b0edbd"/>
  <title type="text">RE: [cherrypy-devel] HTTP Thread Usage Saturation with Persistent Connections</title>
  <summary type="html" xml:space="preserve">
  I think your analysis is right on the mark. &lt;br&gt; If the developer only wants one thread, there&#39;s not much we can do about &lt;br&gt; saturation at that point. The developer can set &lt;br&gt; environ[&amp;quot;HTTP_CONNECTION&amp;quot;] = &amp;quot;close&amp;quot; for all responses, and wsgiserver &lt;br&gt; will dutifully close the conn. The environ is inherited from &lt;br&gt; HTTPConnection, which is inherited from CherryPyWSGIServer, and
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sylvain Hellegouarch</name>
  <email>s...@defuze.org</email>
  </author>
  <updated>2008-08-30T18:10:11Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/1fca62b3810a2c0c?show_docid=1fca62b3810a2c0c</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/1fca62b3810a2c0c?show_docid=1fca62b3810a2c0c"/>
  <title type="text">Re: [cherrypy-devel] HTTP Thread Usage Saturation with Persistent Connections</title>
  <summary type="html" xml:space="preserve">
  mbendiksen a écrit : &lt;br&gt; Hi Matt, &lt;br&gt; Just skimmed through your message. Apache has an interesting &lt;br&gt; alternatives. It let you decide how many requests can be pipelined &lt;br&gt; before closing down the connection to free it. Pipelining is mostly &lt;br&gt; interesting when loading a whole page as browsers will request each &lt;br&gt; element of the page either concurrently or in a pipelined fashion. Once
  </summary>
  </entry>
  <entry>
  <author>
  <name>mbendiksen</name>
  <email>amigr...@gmail.com</email>
  </author>
  <updated>2008-08-30T18:04:12Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/1705a3082d4cadd2?show_docid=1705a3082d4cadd2</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/b3d88b5e1293e03a/1705a3082d4cadd2?show_docid=1705a3082d4cadd2"/>
  <title type="text">HTTP Thread Usage Saturation with Persistent Connections</title>
  <summary type="html" xml:space="preserve">
  I am seeing instances of poor performance (hangs up to the default 10 &lt;br&gt; second socket timeout) when the HTTP server threads all have active &lt;br&gt; persistent connections open. I believe this case can happen more &lt;br&gt; frequently than anticipated. I added debug logging to wsgiserver to &lt;br&gt; see what was occurring in these situations. Below is my analysis and
  </summary>
  </entry>
  <entry>
  <author>
  <name>Gareth</name>
  <email>gwa...@gmail.com</email>
  </author>
  <updated>2008-05-31T03:54:15Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/bf85ae65ed97f661/50f158b6c479d972?show_docid=50f158b6c479d972</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/bf85ae65ed97f661/50f158b6c479d972?show_docid=50f158b6c479d972"/>
  <title type="text">[patch] Directory listings for static directories</title>
  <summary type="html" xml:space="preserve">
  I came up with a small patch for 3.1.0rc1 to implement optional &lt;br&gt; directory browsing for static directories. &lt;br&gt; &lt;p&gt;Setting tools.staticdir.generate_index es=True turns it on.. Setting &lt;br&gt; the config to a callable lets you generate generate indexes yourself. &lt;br&gt; &lt;p&gt;No doubt this is imperfect in many ways, but I figured it might be a
  </summary>
  </entry>
  <entry>
  <author>
  <name>Sylvain Hellegouarch</name>
  <email>s...@defuze.org</email>
  </author>
  <updated>2008-04-29T15:03:13Z</updated>
  <id>http://groups.google.com/group/cherrypy-devel/browse_thread/thread/c40827031072c151/d7685f12f9823a15?show_docid=d7685f12f9823a15</id>
  <link href="http://groups.google.com/group/cherrypy-devel/browse_thread/thread/c40827031072c151/d7685f12f9823a15?show_docid=d7685f12f9823a15"/>
  <title type="text">Re: [cherrypy-devel] Re: Follow-up on ticket 800 (Request ability to override default error template)</title>
  <summary type="html" xml:space="preserve">
  Following Robert&#39;s comment: Great work. This is one of the features people &lt;br&gt; will immediately enjoy :) &lt;br&gt; - Sylvain
  </summary>
  </entry>
</feed>
