Changeset 338


Ignore:
Timestamp:
Jul 23, 2011, 9:01:34 PM (13 years ago)
Author:
Rick van der Zwet
Message:

Only Serve Stream which is fully started.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • py-tcpmultiplexer/TCPMultiplexer.py

    r331 r338  
    9090                self.request.send('<li><a href="%(item)s">%(item)s</li>' % { 'item' : os.path.join(root.replace(document_root,'',1),name) })
    9191            self.request.send("</ul></body></html>")
    92           elif urldata.has_key(urlid):
     92          elif stream_running[urlid]:
    9393            self.request.send('HTTP/1.1 200 OK\n' + urlheader[urlid] + 'X-Proxy-Server: TCPMultiplexer.py\n' + '\n' + dataheader[urlid])
    9494            if req_type == 'HEAD':
Note: See TracChangeset for help on using the changeset viewer.