~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http/wsgi.py

(andrew) Fix jail break errors in bzr+http servers. (#348308)

Show diffs side-by-side

added added

removed removed

Lines of Context:
176
176
    def make_request(self, transport, write_func, request_bytes, rcp):
177
177
        protocol_factory, unused_bytes = medium._get_protocol_factory_for_bytes(
178
178
            request_bytes)
179
 
        server_protocol = protocol_factory(transport, write_func, rcp)
 
179
        server_protocol = protocol_factory(
 
180
            transport, write_func, rcp, self.backing_transport)
180
181
        server_protocol.accept_bytes(unused_bytes)
181
182
        return server_protocol