[MERGE][1.0][Bug 124089] Add root_client_path parameter to SmartWSGIApp, and use it to translate paths received from clients to local paths.

Martin (gzlist) gzlist at googlemail.com
Thu Dec 13 22:50:33 GMT 2007


On 12/12/2007, Vincent Ladeuil <v.ladeuil+lp at free.fr> wrote:
> >>>>> "martin" == Martin  <gzlist at googlemail.com> writes:
>
>     martin> Firstly, I couldn't actually branch bzr.dev through
>     martin> bzr+http://localhost/ because it choaked with a (10055, 'No buffer
>     martin> space available') socket error on the 70MB pack file.
>
> I tried to reproduce it on windows (XP, from sources with a
> python identifying itself as Python 2.6 (r25:51908) but couldn't
> find the right config to trigger it.
>
> Since that seems easier for both of you, can you please apply the
> following patch, run the triggering command with '-Dhttp' and
> send me the relevant part of .bzr/log ?

Sorry, should have been a little more specific: the symptom is
identical, the cause is not. As it derives from a branch call, the
client does actually want the full 70MB and not just a sub-range. I'd
searched the mailing list for the error, and turned up the recent
thread from Alexander, but the code path is not the same, so the given
patch logs nothing extra.

Full logs are in the previously attached bzr_branch_bzr.dev_fail.7z
but the problem read call from the traceback is:
  File "C:\Python24\Lib\site-packages\bzrlib\transport\http\response.py",
line 199, in read
    data = self._file.read(limited)

If the problem persists after Andrew's branch gets merged into trunk,
I'll look into it further.

Martin



More information about the bazaar mailing list