[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [libmicrohttpd] Block size in MHD_create_response_from_callback
From: |
Christian Grothoff |
Subject: |
Re: [libmicrohttpd] Block size in MHD_create_response_from_callback |
Date: |
Tue, 4 Aug 2009 00:22:02 +0200 |
User-agent: |
KMail/1.9.9 |
Found it, fixed in SVN 8817. Thanks for reporting! -Christian
Am Monday 03 August 2009 18:23:45 schrieb address@hidden:
> > I would appreciate it if you
> > could provide a (simple) testcase that would allow me to reproduce this
> > behavior.
> >
> > Best,
> >
> > Christian
>
> Hope, this can help.
>
>
> Compile, run "file-server" in the same dir where the file-server.c is.
>
> $ file-server 8181 600
>
>
> $ wget http://localhost:8181/file-server.c
>
> my result:
>
> file_reader: cls=0x100e4570, pos=0, should_be_pos=0, max=1024
> read=1024 file_reader: cls=0x100e4570, pos=0, should_be_pos=1024,
> max=1024 read=1024 file_reader: cls=0x100e4570, pos=1024,
> should_be_pos=2048, max=1024 read=1024 file_reader: cls=0x100e4570,
> pos=2048, should_be_pos=3072, max=1024 read=1024 file_reader:
> cls=0x100e4570, pos=3072, should_be_pos=4096, max=767 read=767
> free_reader: ptr=0x100e4570