<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<br>
Cliff Wells wrote:
<blockquote cite="mid:1236636317.3738.20.camel@portable-evil"
 type="cite">
  <pre wrap="">On Tue, 2009-03-10 at 08:05 +1100, Dave Cheney wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hi Chris,

That is an excellent idea. I would be very interested in such a module  
as it would allow me to use nginx to proxy a bunch of dynamic j2ee  
applications. I'd be interested in working on the companion connector  
for tomcat if one doesn't already exist.

The major stubling block I can see is integrating the avahi resolver  
(for lack of a better word) into Nginx without blocking.
    </pre>
  </blockquote>
</blockquote>
Making Avahi non-blocking wouldn't be difficult.  If Avahi is
long-running, you can put it in a separate thread and send information
back to Nginx via writing information to a pipe (since Nginx isn't
thread-safe).  I'm not sure how Avahi works, but you might want to use
the a timed event (there are functions available for this in the Nginx
source) as a trigger.<br>
<br>
Marcus.<br>
<blockquote cite="mid:1236636317.3738.20.camel@portable-evil"
 type="cite">
  <pre wrap=""><!----></pre>
</blockquote>
</body>
</html>