I've added some unittest for the filewrapper and fixed some other
related bugs in the trunk.
Also, i've fixed that AssertionError (seems it wasn't completely
gone).
file_wrapper/SendFileoperation should be reliable now.
On Apr 16, 10:39 am, "Yong Zhang" <
yzhang.shang...@gmail.com> wrote:
> The trunk version still have some little bug, such as:
>
> ************************************************************
>
> > Traceback (most recent call last):
> > File "/home/yzhang/staffoo/pycodes/cogen/web/wsgi.py", line 453, in run
> > fsize = fstat(response.filelike.fileno()).st_size
> > NameError: global name 'fstat' is not defined
> > ************************************************************
>
> After modified the line 453 to "*fsize = os.
> fstat(response.filelike.fileno()).st_size*", it works.
>
> I do not do any stress testing yet, only do a just-work testing.
>
> BR.
> -yzhang
> On Sat, Apr 12, 2008 at 8:06 PM, Ionel Maries Cristian <
ionel...@gmail.com>
> wrote:
>
> > I think that has been fixed in trunk (also in trunk file_wrapper checks
> > the content-length and adds the chunked content encoding padding).
> > Can you check out the trunk and check again ? (easy_install cogen==dev)
>