[PATCH 4 of 4] hgweb: return content iterator instead of using write() callable
Christian Ebert
blacktrash at gmx.net
Wed Jul 2 05:47:33 CDT 2008
* Dirkjan Ochtman on Wednesday, July 02, 2008 at 08:36:21 +0000
> Shun-ichi GOTO <shunichi.goto <at> gmail.com> writes:
>> This change cause following traceback on accessing the page
>> against "hg serve" (run with python 2.5 for win32):
>
> (...)
>
>> AssertionError: Content-length header sent, but more bytes than
>> specified are being written.
>>
>> -------------------------------------------------------------------
>>
>> By tiny print-debug, following are the values before assertion above:
>> len(data)=3990, self.length=0
>> len(data)=21, self.length=0
>
> This is apparently a Windows-only issue, or, at least, it doesn't appear on
> Linux (although Christian Ebert apparently also had problems on Mac).
Not with "hg serve", but with servering via apache + hgwebdir.cgi
(on localhost).
> Will need to investigate some more. Maybe I should just back
> this out?
I can wait. Just wanted to give feedback.
c
--
Eine Maske verbirgt, wen immer sie ziert, / Verhüllt Seelen und Titel
im Körpergewühl; / Und weil sie die Gesichter maskiert / Entblößt
sich furchtlos das Gefühl.
_LERMONTOW: M A S K E R A D E_ <http://www.blacktrash.org/maskerade/>
More information about the Mercurial-devel
mailing list